Questions tagged [tfs-workitem]

Work items are the basis for recording work, requirement and test management in TFS and Azure DevOps (formerly Visual Studio Team Services [VSTS], prior to that Visual Studio Online). In TFS work items can be customized by editing the TFS Process Template. A process editor is available through the Team Foundation Server Power Tools. If you're feeling brave you can use the commandline directly using witadmin. Work items can be queried using Wiql.

Work items are the basis for recording and tracking development work, requirements and test management in the onsite and the equivalent web based (formerly known as Visual Studio Team Services [VSTS] and prior to that Visual Studio Online). The standard work items depend on the process selected.

In TFS work items can be customized by editing the . There is a process editor available through the Team Foundation Server Power Tools . If you're feeling brave you can use the commandline directly using witadmin.

Work items can be queried using .

671 questions
55
votes
1 answer

TFS query for tasks with no parent

I would like create a Flat list of work items query in TFS in which the results contain all of the specified PBI and Bug cases and any Task cases that have no parent. It's that Task with no parent part that has me perplexed. I cannot see a way that…
Greg Prosch
  • 998
  • 2
  • 9
  • 16
30
votes
5 answers

Is there a TFS query macro for the current iteration?

Is there a way in TFS in VS2010 to specify that a particular iteration is the current one, and then return that for use in queries similar to the way @Project works? If not is there a way to do sub-queries in TFS work item queries?
Glenn Slaven
  • 33,720
  • 26
  • 113
  • 165
28
votes
2 answers

Steps for changing process template for an existing project in TFS 2010

I have an TFS server installation that through time has gone through upgrades from TFS 2005 to TFS 2008 and then to TFS 2010. During the lifetime of the installation a lot of projects have been created and different project templates have been used.…
Martin Hyldahl
  • 1,638
  • 1
  • 15
  • 17
22
votes
6 answers

Show list of work items I am following in VSTS?

Is there absolutely any way (backlog query, web page, Visual Studio, or via API) to get a list of work items that I have clicked Follow on in Visual Studio Team Services?
Jay Wick
  • 12,325
  • 10
  • 54
  • 78
21
votes
4 answers

Receive an email when assigned a new TFS bug, task, or other work item

We are using TFS 2010 and Team Explorer's work item feature for Project Management. When a work item (like a bug or task, etc) is assigned to a user, how can that person be sent an email informing them of the new item?
Luindale Ainion
  • 260
  • 1
  • 2
  • 8
20
votes
4 answers

Change TFS Work Item Type

Is it possible to change the type of a TFS work item? For example, I have a Bug I would like to change to a Change Request.
KrisTrip
  • 4,943
  • 12
  • 55
  • 74
19
votes
2 answers

How to Determine the Work Items Fixed in a particular TFS Build when using Branches?

We have begun using the following branching structure in TFS 2010: All changes so far have been performed in the Development branch, and all check-ins have been associated with a Task work item. The Tasks are all children either of a Bug or a…
John Saunders
  • 160,644
  • 26
  • 247
  • 397
18
votes
2 answers

Associating existing unassociated changesets with workitem in TFS

I know there're powerful TFS command line tools from TFS Power tools that provide much more that can be achieved through Visual Studio integrated capabilities. I have several changesets that aren't associated with any workitem. I would like to…
Robert Koritnik
  • 103,639
  • 52
  • 277
  • 404
17
votes
3 answers

TFS2010: Retrieve all changesets associated with a branch (full recursion)

This follows my previous question about TFS 2010 and the possibility to create a changelog. I was previously using labels to identify a version of the program, but as labels are not fixed points in time, now I'm using branches. Here's how the branch…
ken2k
  • 48,145
  • 10
  • 116
  • 176
17
votes
3 answers

How can I query work items and their linked changesets in TFS?

In TFS 2010 I have work items with linked changesets. I can generate a query that reports the work items I'm looking for. Now I want to do a query of Work Items and Direct Links that includes all the changesets linked to these work items. In the…
JonN
  • 2,498
  • 5
  • 33
  • 49
17
votes
2 answers

How can I retrieve a list of workitems from TFS in C#?

I'm trying to write a project reporting tool in WPF / C#. I want to access all the project names on our TFS (Team Foundation Server), and then display statistics for each work item in a given project. I've got the project names, but getting the…
Nightmare Games
  • 2,205
  • 6
  • 28
  • 46
14
votes
1 answer

Reference TFS work item from code comment

In Visual Studio (2012+) I want a clickable reference from a code comment to a TFS work item. Is there a simple way to do this, and is this also possible from comments within the body of a function (not being the summary of the function)? So I want…
Michel van Engelen
  • 2,791
  • 2
  • 29
  • 45
13
votes
1 answer

Find WorkItems that were assigned to X in the last 30 days

I'm trying to find all WorkItems that were assigned to a person X in the last 30 days. The big problem I have is the "in the last 30 days"-part. I thought about using the "ever" or "asof" keywords, but couldn't find a good answer yet.. something…
Simon Woker
  • 4,994
  • 1
  • 27
  • 41
12
votes
3 answers

How to query for TFS work items with or without tags

TFS supports querying on tags, but I can't find a way to create a TFS work item query to return results that have no tags or any tag. It is not possible to sort the Tag column in the TFS web access, so I can't even return all work items and then…
DaBozUK
  • 590
  • 1
  • 8
  • 24
12
votes
2 answers

TFS 2010: Change 'Work Item' type from 'Product Backlog Item' to 'Task' - how to?

I want to change the type of a 'Work Item' in TFS 2010: I entered a Work Item to the Product Backlog (we're using a Scrum template), and then I entered several 'Child' tasks, but I entered them as 'Product Backlog Items'. I should have entered them…
Conor
  • 129
  • 1
  • 1
  • 4
1
2 3
44 45