Quantcast
Channel: Team Foundation Server - General forum
Viewing all 6687 articles
Browse latest View live

Capacity Planning Across Projects vs. Security

$
0
0

I've asked a similar question in the past, but VSTS has changed quite a bit over the past year, so maybe we can do this now.

I would like to have a single project for our company. We have employees who work on multiple teams on multiple projects, so specifying capacity on each project just doesn't make sense. These employees can see everything if they want to, doesn't matter.

We also have external people who need to login.  They should not be able to see everything. They shouldn't even know that the other teams exist, just the ones they have been assigned to. They shouldn't be able to see dashboards, they shouldn't be able to see the teams when they browse. I understand I can restrict like this at the work item level, but that is not enough. For all intents and purposes this is a separate project.

I can make the security work with only minor pain if I do separate projects, but then I lose the capacity planning. My questions are

1) Do I still have to do separate projects for this level of security?

2) If I do what would you recommend for easier capacity planning? Seems like Power BI can't access this data.


Agent Utilization Reports

$
0
0
Are there any built-in reports in TFS 2015 (on-site) that show the utilization percentage of the TFS Agents?

Connecting to service using personal access token

$
0
0

Every time i decide to connect github as a new End point. i get the following message:

Connecting to service using personal access token

nothing else happens after that. why is this happening

Iteration path

$
0
0
How do i restrict users from adding work items to a iteration path ?

TFS Bug - Duplication in Stories Board

$
0
0

Hi , 

We experience a bug when creating a new user story in Stories board: when adding a new US the card is too thin we cannot write the title properly, so we must open it and write it inside the card. After save and close, the US is duplicated and  you need to refresh the screen every time it happens to see it just once. We experience it in V 2015, and tested it also in new server to verify the cause and it was reproduced in new environment and also in a new 2017 version that was installed on the new machine. 

How can we fix it, because it's very annoying and impact on opening new WI's in the board. 

Please your help will be more than welcome. 

Attached Screenshots: 

How to import Test Cases and Steps from Excel into Microsoft Test Manager 2013

$
0
0

Hi Team I am unable to import the test cases and steps from excel sheet .

Also is there any way to directly import the test cases from HP ALM to MTM.

Thanks

Shrey

TFS 2015 Express - No Testplans visible

$
0
0

Hello,

I`m using Team Foundation Server 2015 Express and missing in the Test-Hub the Testplan Tab on Webpage.

I see only Testruns and Machine. Is it possible to create Testplan in TFS 2015 Express? I only want to use Web Access and not TestManager.

regards,

Dirk

TFS 2015 Express - Menüpunkt für Testplan nicht sichtbar

$
0
0

Hallo,

ich verwende den TFS 2015 Express und vermisse dort im Test-Hub den Menüpunkt für Testplan. Ich sehe dort nur Testläufe und Computer. Ich möchte die Testpläne nur über das Web erstellen/bearbeiten ohne den Testmanager zu installieren. Ist das möglich?

Gruß
Dirk


"You are not authorized to access this API" error on Test & Feedback extension

$
0
0

I installed the Test & Feedback extenison, and I've connected it to my on-prem TFS 2017 server.  It shows a green check next to my connection status, but whenever I click on the 'play' button to start recording I get an error saying "You are not authorized to access this API.  Please contact your project administrator."  One problem: I _am_ the collection administrator. :(

Here's the last few lines from the extension trace file from Chrome if that helps:

[Background-Verbose @(2017-01-17T22:35:31.126Z)];XTModule:TfsStore;XTModuleTracepoint:13;Start: Fetch current Iteration Path for Team:Originator Teamin project :Originatorin collection: ASL,
[Background-Verbose @(2017-01-17T22:35:31.173Z)];XTModule:TfsStore;XTModuleTracepoint:11;End: Fetch AreaPath for Team:Originator Teamin project :Originatorin collection: ASL,
[Background-Verbose @(2017-01-17T22:35:31.173Z)];XTModule:TfsStore;XTModuleTracepoint:13;Start: Fetch current Iteration Path for Team:Originator Teamin project :Originatorin collection: ASL,
[Background-Verbose @(2017-01-17T22:35:31.173Z)];XTModule:TfsStore;XTModuleTracepoint:14;End: Fetch current Iteration for Team:Originator Teamin project :Originatorin collection: ASL,
[Background-Verbose @(2017-01-17T22:35:31.358Z)];XTModule:TfsStore;XTModuleTracepoint:14;End: Fetch current Iteration for Team:Originator Teamin project :Originatorin collection: ASL,
[Background-Verbose @(2017-01-17T22:35:31.997Z)];XTModule:TfsStore;XTModuleTracepoint:10;Start: Fetch AreaPath for Team:Originator Teamin project :Originatorin collection: ASL,
[Background-Verbose @(2017-01-17T22:35:32.065Z)];XTModule:TfsStore;XTModuleTracepoint:11;End: Fetch AreaPath for Team:Originator Teamin project :Originatorin collection: ASL,
[Background-Verbose @(2017-01-17T22:35:32.065Z)];XTModule:TfsStore;XTModuleTracepoint:13;Start: Fetch current Iteration Path for Team:Originator Teamin project :Originatorin collection: ASL,
[Background-Error @(2017-01-17T22:35:32.112Z)];XTModule:SessionService;XTModuleTracepoint:1;Session failed with error:undefined
[Background-Verbose @(2017-01-17T22:35:32.128Z)];XTModule:TfsStore;XTModuleTracepoint:14;End: Fetch current Iteration for Team:Originator Teamin project :Originatorin collection: ASL,
[Background-Verbose @(2017-01-17T22:35:32.941Z)];XTModule:TfsStore;XTModuleTracepoint:10;Start: Fetch AreaPath for Team:Originator Teamin project :Originatorin collection: ASL,
[Background-Error @(2017-01-17T22:35:33.015Z)];XTModule:SessionService;XTModuleTracepoint:1;Session failed with error:undefined

Error e-mailing a test plan

$
0
0

I select a test plan and then click 'Print or E-Mail Test Artifacts'. I select the defaults, Click Email, enter a username and I get TF400969: An error occurred attempting to send the email. Retry at a later time."

Using TFS 2013 Update 3. Screenshots below.

TFS 2017 RUS, ошибка в web access : "TF30065: task cancelled"

$
0
0

Здравствуйте!

После обновления TFS 2015 на 2017 (RUS) перестал нормально работать web access, при переходе к Team Project (любые ссылки, связанные с Team Project) отправляется запрос и крутится так с десяток минут, по окончанию которых либо не загружается интерфейс, либо в нем не загружены некоторые элементы, вместо которых красуется "Для запроса Ajax истекло время ожидания."

В системном логе это отражается ошибкой ниже. Уже чистил все директории temp и cache, кто сталкивался с таким же?

----------------------------------------------------------------------------------------------------

TF53010: в компоненте или расширении Team Foundation возникла следующая ошибка:
Дата (UTC): 18.01.2017 12:08:27
Компьютер: TFS
Область приложения: /LM/W3SVC/2/ROOT/tfs-1-131292114510304000
Сборка: Microsoft.TeamFoundation.Framework.Server, Version=15.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a; v4.0.30319
Узел службы: c79529d4-1d5d-47d5-8a4f-d3bc1e17f206 (DefaultCollection)
Сведения о процессе:
  Имя процесса: w3wp
  Идентификатор процесса: 3696
  Идентификатор потока: 9600
  Имя учетной записи: YITO\m.kuznetsov

Подробное сообщение: TF30065: произошло необработанное исключение.

Сведения о веб-запросе
  URL-адрес: https://tfs.yito.ru/tfs/DefaultCollection/equador [метод: GET]
  Агент пользователя: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36
  Заголовки: недоступен
  Путь: /tfs/DefaultCollection/equador
  Локальный запрос: False
  Адрес ведущего узла: 213.87.148.101
  Пользователь: YITO\m.kuznetsov [тип аутентификации: Negotiate]

Сообщение об исключении: Отменена задача. (тип TaskCanceledException)
Трассировка стека исключений:    в System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   в Microsoft.VisualStudio.Services.CircuitBreaker.Command.Execute(Action run, Action fallback)
   в Microsoft.VisualStudio.Services.CircuitBreaker.Command`1.Execute()
   в Microsoft.TeamFoundation.Dashboards.Services.WidgetTypesService.GetWidgetTypesImpl(IVssRequestContext requestContext, Boolean omitHiddenWidgets)
   в Microsoft.TeamFoundation.Dashboards.Services.WidgetTypesService.GetFilteredWidgetsMetadata(IVssRequestContext requestContext, Func`2 filter, Boolean omitHiddenWidgets)
   в Microsoft.TeamFoundation.Dashboards.Services.DashboardService.GetMetaDataList(IVssRequestContext context, IEnumerable`1 responses)
   в Microsoft.TeamFoundation.Dashboards.Services.DashboardService.GetDashboard(IVssRequestContext requestContext, IDashboardConsumer dashboardConsumer, Guid dashboardId, Boolean includeMetadata)
   в Microsoft.TeamFoundation.Server.WebAccess.Presentation.DashboardsViewHelper.GetViewModel(TfsWebContext tfsWebContext)
   в Microsoft.TeamFoundation.Server.WebAccess.Presentation.HomeController.NavigateToProjectOrTeam(Boolean isProject)
   в Microsoft.TeamFoundation.Server.WebAccess.Presentation.HomeController.Index(String account, String scenario)
   в lambda_method(Closure , ControllerBase , Object[] )
   в System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary`2 parameters)
   в System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters)
   в System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass42.<BeginInvokeSynchronousActionMethod>b__41()
   в System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethod(IAsyncResult asyncResult)
   в System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass37.<>c__DisplayClass39.<BeginInvokeActionMethodWithFilters>b__33()
   в System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass4f.<InvokeActionMethodFilterAsynchronously>b__49()
   в System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass4f.<InvokeActionMethodFilterAsynchronously>b__49()
   в System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass4f.<InvokeActionMethodFilterAsynchronously>b__49()
   в System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass4f.<InvokeActionMethodFilterAsynchronously>b__49()
   в System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass4f.<InvokeActionMethodFilterAsynchronously>b__49()
   в System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass4f.<InvokeActionMethodFilterAsynchronously>b__49()
   в System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass4f.<InvokeActionMethodFilterAsynchronously>b__49()
   в System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass4f.<InvokeActionMethodFilterAsynchronously>b__49()
   в System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass4f.<InvokeActionMethodFilterAsynchronously>b__49()
   в System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass4f.<InvokeActionMethodFilterAsynchronously>b__49()
   в System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass4f.<InvokeActionMethodFilterAsynchronously>b__49()
   в System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethodWithFilters(IAsyncResult asyncResult)
   в System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass25.<>c__DisplayClass2a.<BeginInvokeAction>b__20()
   в System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass25.<BeginInvokeAction>b__22(IAsyncResult asyncResult)
   в System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeAction(IAsyncResult asyncResult)
   в System.Web.Mvc.Controller.<>c__DisplayClass1d.<BeginExecuteCore>b__18(IAsyncResult asyncResult)
   в System.Web.Mvc.Async.AsyncResultWrapper.<>c__DisplayClass4.<MakeVoidDelegate>b__3(IAsyncResult ar)
   в System.Web.Mvc.Controller.EndExecuteCore(IAsyncResult asyncResult)
   в System.Web.Mvc.Async.AsyncResultWrapper.<>c__DisplayClass4.<MakeVoidDelegate>b__3(IAsyncResult ar)
   в System.Web.Mvc.Controller.EndExecute(IAsyncResult asyncResult)
   в System.Web.Mvc.MvcHandler.<>c__DisplayClass8.<BeginProcessRequest>b__3(IAsyncResult asyncResult)
   в System.Web.Mvc.Async.AsyncResultWrapper.<>c__DisplayClass4.<MakeVoidDelegate>b__3(IAsyncResult ar)
   в System.Web.Mvc.MvcHandler.EndProcessRequest(IAsyncResult asyncResult)
   в System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
   в System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

Update tfs 2013 to 2015

$
0
0

I've TFS 2013 on Win Server 2012 and Visual Studio Professional 2013 (both with licence), i'd like to update to 2015 or 2017.
Do I need another licence or simply download the update package? I don't know how to proceed :s

TFS 2017 + Sharepoint 2013 + Work Item = Form element cannot contain an element of type Unknown

$
0
0

Hello everyone,

I'm having some problems when i try to add a "New work item" or when i try to "Open a work item" using the sharepoint team site. It doesn't matter the template that i use(Agile, scrum and etc), everytime i get the error 'Form' element cannot contain an element of type 'Unknown' when creating or opening a work item! It's just on the sharepoint team site, if i use the tfs web portal, then everything works, I can create and open work items and the work items created using the tfs web portal appear on the sharepoint team portal as they should, but like i said above i can't open them because of the error.

Image of the problem: http://image.prntscr.com/image/34e6b27d613d4a529cfe2c1c85b0f268.png

The environment:


Machine 1 - TFS 2017 on Windows Server 2012 R2, with MS SQL Server 2014 SP2 + Cumulative update 2(Build 12.0.5522);
Machine 2 - SharePoint 2013 SP1 (with November, 2016, cumulative update) on Windows Server 2012 R2 + TFS 2017 Sharepoint Extension Tools;
Machine 3 - MS SQL Server 2014 SP2 + Cumulative update 2(Build 12.0.5522) on Windows Server 2012 R2 (Used by SharePoint);

/\ this is an upgrade that i did a few days ago from our tfs 2015 update 3 environment, that was also an upgrade from our older tfs 2010 environment, the older tfs 2010 environment didn't have sharepoint! I installed sharepoint after i did the upgrade from TFS 2010 SP1 to TFS 2015 update 3 to test the sharepoint portal because we need to start using it! I did not have any problem with the upgrade from TFS 2010 SP1 to TFS 2015 update 3 and after to TFS 2017(no errors at all during the upgrade)!

Another small problem, is that i don't remember if this issue('Form' element cannot contain an element of type 'Unknown') was happening when i was using the sharepoint team site with TFS 2015 update 3.


Profile photo removal

$
0
0

Hi,

Management does not want any of us to add our photo to our account so, after adding my photo (before this announcement)I'm now trying to remove it.

This is how I tried to remove it...

With programmer authority, I started by clicking on the configuration gear from the web portal home page in the upper right, which opened a new tab in my browser.

Then I clicked the down arrow next to my name on the upper right of that new tab and selected My Profile from the pop-up window options.

I then clicked on Change Picture (by the way, my picture is not seen in this pop-up window) and then clicked on Reset from the pop-up window that appeared.

I clicked on Save Changes, which closed the window.

I closed the other pop-up window.

I closed the tab, refreshed the application and my photo was still there.

I tried closing the application and then reopening it but, there I was still.

How do I remove this photo?

Need create query to export to Excel my Work Items

$
0
0

Hi there

We completed Sprint and now we want to create Excel Report to stakeholders

I try create query in TFS

Need create query to export to Excel my Work Items in 'Work items and direct links' 

And - Work item type - in group- MicrosoftBugCategory

Or - Work item type - in group- MicrosoftTestSuitesCategory

Or - Work item type - in group- MicrosoftTestCaseCategory

Or - Work item type - in group- MicrosoftTestCaseCategory

Or - Work item type - in group- MicrosoftRequirementCategory

Filter by Interaction Path - My Project\Sprint 98

Only return items that have matching links - selected there: related, successor, tested by


Get almost all what i need:
Should get result of All WI such as Bugs and PBI -- Test Suites --- Test Cases


But some PBI's did not get Test Cases linked into query even they are Linked to this Features

and in Excel not get correct results  as need Bugs and PBI -- Test Suites --- Test Cases

I will be appreciate if someone have ready similar query as I am looking 

Thank you for help

Igor


Is there an API for updating the TFS Test Case Area path and Priority using the Test Management Client API

$
0
0

Is there an API for updating the TFS Test Case Area path and Priority using the Test Management Client API, Presently I am able to create a test case with Title, Steps, Attchments and comments only. I am unable to update any other fields. Is there a way to do it?

Any help would be greatly appreciated.

Changing database config for TFS 2014

$
0
0

Disclaimer first: I am not a developer or TFS admin, I'm just a sysadmin trying to help out with a TFS-related project.

Our org has an existing instance of TFS 2014 that we want to upgrade to TFS 2017.  Before we do that, we want to run a trial upgrade in a test environment in order to shake out any issues.

Our existing TFS 2014 environment has TFS installed on a Windows 2012 VM that's dedicated to TFS.  The TFS DBs are on another SQL 2012 server that is shared with other applications.

To create a test instance, I duplicated the TFS VM and placed the copy in our test vSphere environment.  I brought it up disconnected from the network, disjoined it from the domain, renamed it, and ran sysprep to generate a new SID.  Then I reconnected it to the network and rejoined it to Active Directory using the new computer name.

I've created copies of all the TFS databases and am trying to repoint the test instance of TFS to these DB copies, but I can't seem to do anything.  When I try to use TfsConfig or the TFS admin console to do anything I get an error about a database connection and can't seem to do anything.  The test TFS VM actually has full connectivity to the SQL Server that's hosting the prod TFS DBs, so I'm not sure why it would complain about DB connectivity.

I've done some Googling, but haven't come up with a solution.  Any suggestions?

TFS REST API : fetch the allowed values/lookUp values for the given field

$
0
0

I found following two API which return the field information at collection or project level

API 1:

https://<accountname>.visualstudio.com/DefaultCollection/_apis/wit/fields?api-version=1.0

 [List the collection level all fields information (included field name, reference Name, type, read Only, supported Operation]

API 2:

https://<accoutname>.visualstudio.com/DefaultCollection/<project name>/_apis/wit/workItemTypes/Bug?api-version=1.0

[List the field information for the given project and work item type (included the field always Required, name, reference name, URL)]

I want to know is there any REST API available which list the possible allowed values for the given field,None of above API response included the allowed values (look up values) for the field such as priority, severity etc.

Kindly let me know whether allowed values Rest API available or not. if yes, provide the information about such API.

Thanks in advance.

Could not load file or assembly 'Microsoft.TeamFoundation.WorkItemTracking.Client, Version=10.0.0.0, Culture=neutral, PublicKeyToken=' or one of its dependencies. The system cannot find the file specified.

$
0
0

Hi ,

I am getting this error when I am trying to connect to TFS from VS 2010.

It was working fine before.

-------------------------------------------

Thanks,

Rajeshwari 

Exposing TFS 2017 into the Internet

$
0
0

Hi,

I know this was ask plenty of times,
but we did not find any Solutions which is suitable for us.

We have a clustered TFS Application Tier in place.
We tried to publish the TFS using a WAP Server (ADFS Pre Authentication, using a Non Claims Aware Trust).

This worked preety well for the Web Sites but as soon you will try to connect via Visual Studio,
VS will give you an HTTP 302 forwarded Error. (Which is properly caused due to the WAP doing the Authentication)

Unfortunatly our Organisation Policy requieres ADFS Authentication in combination with MFA for Users acessing from the internet. Some of our Developers working on Azure VMs which makes quite complicated to connect to our Company Network. Due to most of the IPs are assigned on Startup it would not possible to create a Firewall exception.
I know there is a UserVoice entry for supporting ADFS and TFS On Premise, which seems to be ignored by Microsoft since end of 2014.

Did anyone of you solved this problem somehow or do you have any diffrent solution in place?

Kind Regards,

Julian

Viewing all 6687 articles
Browse latest View live