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

Finding "Path" of objects through REST api

$
0
0

For fields like 'System.Description','System.History','System.State','System.Title', their paths are relatively self explanatory. 

Given the documentation here: 

https://www.visualstudio.com/en-us/docs/integrate/api/wit/work-items#update-a-field

Where would something like 'Acceptance Criteria' for product backlog items be? I see description in this documentation: 

https://msdn.microsoft.com/en-us/library/microsoft.teamfoundation.workitemtracking.client.workitem(v=vs.120).aspx?f=255&MSPPError=-2147217396&cs-save-lang=1&cs-lang=csharp#code-snippet-1

But nothing about some of the other fields. Is there a way to figure this out?


Copy artifacts of a build to an azure machine

$
0
0

Hello,

What are the steps I should follow to copy the artifacts from the latest build of a git repository into an azure machine? Thank you.

Unexpected Delay Starting Tests

$
0
0
My TFS environment consists of one Build Controller machine, with multiple Build Agents configured to run on the same machine as the Build Controller. Currently there are about 13 build agents set up on that build controller.  I also have around 13 or more test agents that are on separate physical machines and are managed by one physical test controller.  The test agents run automated tests throughout the night and each one is run using a build configuration that is on a schedule to run those tests.  For some reason, one of my build agents is not starting to run its tests until roughly 6 hours after the designated schedule time in the build definition.  I have not been able to figure out why this happens and there does not seem to be an easy way to determine if this is a resource allocation issue on the build controller or test controller.  Does anyone know what I can do to figure out why there is this long delay between then the build configuration starts and when the test agent runs the test?

Export TFS work items to SQL

$
0
0

Hi ,

Is there an option to export TFS work items to SQL ?

Regards,

Priya

how to get projects from TFS ?

$
0
0

I am new developer, I am trying to get existing projects from TFS.

I dont want to be dumb with the team, but if I sit next to my colleague where can I find TFS server link from which I can get connected and add projects ? Please can anyone explain in detail step by step


MBH

TFS board display criteria of work items

$
0
0

Hi, <o:p></o:p>

I am looking for criteria on which a closed work item falls off a board ( EG: stories board) in TFS ?<o:p></o:p>

Scenario :<o:p></o:p>

Lets say I have 25 user stories closed. I would like to know if they fall automatically off after set period of time (30 days) or based on number of user stories in closed lane ( max closed user stories : 20 to be displayed based on closed time
stamp descending order) and if there are any settings that can be changed to alter.<o:p></o:p>

<o:p> </o:p>

Thank you.<o:p></o:p>



Ka

How are basic infrastructure tasks at the start of a project planned and allocated using TFS online?

$
0
0

I am in the process of scoping and estimating a relatively small new software development project. I have been through the user stories suggested by the customer and placed tasks against each, with an estimate and some brief notes on how the task will be accomplished. There are acceptance criteria. All ought to be good with the world.

When looking at the work I'd planned, I realized there was something missing. There is going to be initial outlay in simply setting up things into which we can bolt functionality. Things that belong to all user stories, not one particular user story.

For example, part of this application is a service that parses XML. From the user's point of view there are specific stories where different things will need to be done depending on the content of the XML. Actually writing an XML parser - the bits that look for a file, read it and pull out the relevant data before deciding what to do with the contents - is part of all those stories. As is wrapping it in a windows service with an installer etc. It is a developer-centric task with no direct relevance to a user.

Another relevant example from this particular application is taking and rewriting a block of poor legacy code which is useful to the functions of this app. Again, this has no immediate outcomes for the user but it's necessary work. Where does the planning and execution of this work "live" in a project plan focused on user stories?

I have seen people solve this by writing user stories "As a developer, I want to ..." but as has been discussed elsewhere this isn't a user story. It's a developer one.

http://softwareengineering.stackexchange.com/q/340538



Is there a setting to make the '+' appear to the left of the list of work items to add a new item?

$
0
0

Hello all,

We are using Team Services - Cloud version and some of our team has the '+' to the left of the work items to add a new user story, feature, etc.  in the agile template.  Others don't.  If I right click on a feature there is no option to Add: there either.  Is there a setting to enable in TFS to make this appear?

Thanks,

Keith



Power Tools 2015 and Check In Policy warnings

$
0
0

Dear All,

I am facing a problem while checking in files using power tools. It happens since I have updated Visual Studio and Power Tools to the versions 2015. Previously, I used Visual 2013 and Power Tools 2013.

Now, each time I want to check in using power tools I get a warning message : “TF10139: The following check-in policies have not been statisfied ”.

We tried to re-create the policy requirements, but the problem still occurs.

Does any body have a solution to solve this painful issue ?

Thank you per advance for your help.

Best regards,

Nicolas


HipChat subscription error in TFS2015.3

$
0
0

Hi

One of my user created a HipChat subscription in service hooks of a team project (TFS 2015 Update 3) to send a message when work item is updated.

Following is the error I am receiving when this is triggered.

Note:

1. Upon entering of entering of authorization token, team room is not getting populated. Not sure what is blocking here. Is it firewall issue?

2. Used same authorization token in another server (I have multiple servers, belong to different network) for creating subscription, which has sent message to the room successfully.

 



Any help on this would be grateful.

Thanks

Chary

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.


TFS REST API: Where can I get the IDs for Users/Groups to use in REST API calls?

$
0
0

Various TFS REST API methods require you to specify the ID of a user or group that you're interested in (e.g. finding the profile info for the user, adding code reviewers, etc.). However, I can't see any way of obtaining the ID from the user/group name using the REST API. I can't even see a way of viewing the ID using the web interface.

Surely if these IDs are required for the REST API they should be obtainable somehow from the REST API? Is there an easy way to get these or do I have to knock something up in .Net to extract the IDs?

Thanks,

John.

How to TFS and PWA Server Database is Linked with work Items

$
0
0

Dear all,


We are trying to develop an integrated Dashboard application using TFS Database and PWA Database.


But we have stuck up with linking TFS and PWA Server Database is Linked with work Items.  We want to link the below fields

1. Work Item Id

2. Project GUI Id

3. Task GUI Id.

Please help us how the link is made between TFS and PWA Database.


Thanks.


CLI Command compatibility

$
0
0

Hi,

I am using the Command Line Client version 14.0.3.201603291047 , but could not find thefolderdiff command in that .

Please suggest, how to get this or advise the compatible client version.

Thanks

Prakash

TFS2015 MSBUILD : error MSB4017: The build stopped unexpectedly because of an unexpected logger failure

$
0
0

When i use TFS XAML Build, it success. But when i use TFS regular build it failed. could you help me to find out the root cause ?

MSBUILD : error MSB4017: The build stopped unexpectedly because of an unexpected logger failure.

 Microsoft.Build.Exceptions.InternalLoggerException: The build stopped unexpectedly because of an unexpected logger failure. ---> System.ArgumentException: Illegal characters in path.

 at System.IO.Path.CheckInvalidPathChars(String path, Boolean checkAdditional)
  at System.IO.Path.IsPathRooted(String path)
  at MSBuild.Logger.ErrorWarningEventMinimumFields.EnsureFullPath(String file, String projectFile, Boolean isFileName)
   at MSBuild.Logger.ErrorWarningEventMinimumFields..ctor(BuildWarningEventArgs warningEvent, Boolean isStaticAnalysis, Boolean logInformation)
    at MSBuild.Logger.ProjectTrees.LogWarning(BuildWarningEventArgs warningEvent, Boolean isStaticAnalysis, Boolean logInformation)
    at MSBuild.Logger.CentralLogger.HandleWarningRaised(Object sender, BuildWarningEventArgs e)
    at Microsoft.Build.BackEnd.Logging.EventSourceSink.RaiseWarningEvent(Object sender, BuildWarningEventArgs buildEvent)
    --- End of inner exception stack trace ---
   at Microsoft.Build.Exceptions.InternalLoggerException.Throw(Exception innerException, BuildEventArgs e, String messageResourceName, Boolean initializationException, String[] messageArgs)
    at Microsoft.Build.BackEnd.Logging.EventSourceSink.RaiseWarningEvent(Object sender, BuildWarningEventArgs buildEvent)
    at Microsoft.Build.BackEnd.Logging.EventSourceSink.Consume(BuildEventArgs buildEvent)
    at Microsoft.Build.BackEnd.Logging.EventSourceSink.Consume(BuildEventArgs buildEvent, Int32 sinkId)
   at Microsoft.Build.BackEnd.Logging.EventRedirectorToSink.Microsoft.Build.Framework.IEventRedirector.ForwardEvent(BuildEventArgs buildEvent)
   at MSBuild.Logger.ForwardingLogger.ForwardEvent(Object sender, BuildEventArgs e)
   at Microsoft.Build.Framework.BuildWarningEventHandler.Invoke(Object sender, BuildWarningEventArgs e)
   at Microsoft.Build.BackEnd.Logging.EventSourceSink.RaiseWarningEvent(Object sender, BuildWarningEventArgs buildEvent)
##[error]Unexpected exit code received from msbuild.exe: 1
 Finishing task: VSBuild
 ##[error]Task VSBuild failed. This caused the job to fail. Look at the logs for the task for more details.


Unget files from TFS work folders?

$
0
0

Is there a way to "unget" files from a TFS local work folder?  I have a project with many branches, and each branch contains 15,000+ files.  I often need to work on a branch, and then get the files off my hard-drive while I work on another.  It also makes some operations faster, like moving a Branch folder to another folder, when the contents of the branch are considered "Not downloaded".

I am using TFS Server 2010 and Team Explorer Everywhere CLC and Plugin for Eclipse 2010 v10.1.0.

Deleting the files from disk doesn't help.  TFS still thinks that I have already downloaded the files, so 'tf get -recursive' says I already have the latest files.

Legacy TFS extension: TFS.WorkItemTracking.Controls.WorkItemControl namespace gone in TFS 2017?

$
0
0

Background: We have some legacy TFS extensions running in TFS 2015 update 1. We're migrating those extensions to TFS 2017.

Problem: We have the following line in one of our extensions:

ExtensionName.inherit( TFS.WorkItemTracking.Controls.WorkItemControl, { ...

However, WorkItemControl no longer seems to exist in TFS 2017. This causes the extension to fail when binding. Anyone know the new API endpoint to call?

Thanks!

Moved to TFS 2017 and cannot locate the "Process" button.

$
0
0
Moved to TFS 2017 and cannot locate the "Process" button. Where is it hidden? Any permissions missing? I need to customize the process template, so I need to create the inherited one. But there is simply no such views as described here https://www.visualstudio.com/en-us/docs/work/process/manage-process

"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

What is the api version to access this TFS 2015 tool

$
0
0

We are using below TFS version, can I know what is the api version to access this TFS.

About Microsoft Visual Studio Team Foundation Server

Microsoft Visual Studio Team Foundation Server

Version 14.95.25229.0

Viewing all 6687 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>