tfs-workitem

VSTS find workitems between two releases

走远了吗. 提交于 2019-12-05 21:37:10
To compare the related work items between the current release and a previous release I can use the following: Is there possible to create a query to get the same work items between two releases? Or alternatively the VSTS Rest API. My reason for this is to create a list of Features > Stories > Tasks to fill the release notes. Using the above UI makes it pretty time intensive to find out the relation between the tasks and features. Retrieve work items by calling https://{account}.vsrm.visualstudio.com/[teamproject]/_apis/Release/releases/{current release id}/workitems?api-version=4.1-preview.1

How to delete a work item in TFS 2012?

此生再无相见时 提交于 2019-12-05 20:34:09
问题 This has been asked before but I'm struggling to find a way to delete a work item in Team Foundation Server. This looks promising: http://devmatter.blogspot.co.uk/2009/04/deleting-work-items-in-tfs-ui.html. But no luck with it so far. First tried the following command: witadmin destroywi /collection:"https://<<my TFS collection>>" /id:1223 It returned Unable to destroy work item(s) 1223. TF237090: Does not exist or access is denied. Unfortunately I can't download the "Delete Work Item"

How to query for TFS work items with or without tags

ぐ巨炮叔叔 提交于 2019-12-05 03:57:04
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 sort on the column to focus on those with tags and those without tags. For example, I was hoping to see a wild card or any for the Tags value below: I'm about a year too late, but I just accomplished this by doing Tags, Does Not Contain, "". I know that makes no sense, but it worked. I was able to pull in a task that had no tag. This is not exactly

Given a TFS changeset, how can I find what work item(s) it is linked to?

倾然丶 夕夏残阳落幕 提交于 2019-12-04 17:25:28
It's easy to see what changesets are linked to a given work item. But is it possible, given a changeset, to find out what work item(s) it is linked to? If you have the changeset number then in TFS explorer in VS press CRTL + G and provide the changeset number and click OK. That will bring the change set in team explorer. Then you can click on a folder/file and select view history which will show you the work items related to it. See view changesets for more information. Also, check out this MSDN blog post Listing the work items associated with changesets for a path (From my Visual Studio 2017)

How to use LIMIT keyword as using in ms sql by WIQL to query TFS workItem

六眼飞鱼酱① 提交于 2019-12-04 08:06:07
I'm working on TFS API, I don't know that TFS API have any things like LIMIT keyword or no.I need it for paging. Thanks There is nothing equivalent to the SQL LIMIT keyword in TFS WIQL, you will need to implement the paging yourself. One approach would be to retrieve all the results on the first access, and cache them and page them yourself. Another approach would be to dynamically construct the WIQL query each time your user pages. For example: Run a WIQL query to return just the work item ID's that match the query. SELECT [System.Id] FROM WorkItems WHERE <conditions> Cache that list of IDs

How to delete a work item in TFS 2012?

爷,独闯天下 提交于 2019-12-04 03:44:05
This has been asked before but I'm struggling to find a way to delete a work item in Team Foundation Server. This looks promising: http://devmatter.blogspot.co.uk/2009/04/deleting-work-items-in-tfs-ui.html . But no luck with it so far. First tried the following command: witadmin destroywi /collection:"https://<<my TFS collection>>" /id:1223 It returned Unable to destroy work item(s) 1223. TF237090: Does not exist or access is denied. Unfortunately I can't download the "Delete Work Item" utility mentioned in the article due to work's internet restrictions as it's on Skydrive. Also tried the

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

谁说胖子不能爱 提交于 2019-12-03 09:45:45
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? Try out the Power Tools. I believe the Power Tools allows you to manage some email functionality http://msdn.microsoft.com/en-us/vstudio/bb980963 . When I used TFS project management the Power Tools helped get me a bunch of stuff I needed. I think it would be in the Alert Explorer. After installing TFS Power Tools , you have to create a Custom Alert. In Team Explorer,Right click

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

一个人想着一个人 提交于 2019-12-03 01:02:40
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 actual work items is what's giving me a hard time. Here's what I've got so far: public const string tfsLocation = "http://whatever"; // get the top list of project names from the team foundation server public List<string> LoadProjectList() { var tpc = TfsTeamProjectCollectionFactory.GetTeamProjectCollection(new Uri(tfsLocation)); var workItemStore = new

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

大城市里の小女人 提交于 2019-12-02 17:31:33
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. MSF Agile 4.0, 4.1, 4.2 and 5.0. and a few MSF CMMI ones. What I would like to do is "replace" the project template used for all these projects to use a new one common one: Microsoft Visual Studio Scrum 1.0. I am aware that TFS project templates are used as templates for creating new projects and cannot modify the tfs projects definitions after

Create Large Amount of Work Items in TFS Using Javascript REST API

旧街凉风 提交于 2019-12-02 11:48:30
I need to create around 6000 work items via my TFS extension. I use typescript and REST API in my extension. below is the code I use to create work item var ops = [ { path: "/fields/System.Title", op: "add", value: "Hello world" } ]; var options = { url: 'http://localhost:8080/tfs/DefaultCollection/Agile Git/_apis/wit/workItems/$Bug?api-version=2.2', username: 'username', password: 'password', domain: 'domain', method: 'PATCH', headers: { 'Content-Type': 'application/json-patch+json' }, body: JSON.stringify(ops) }; httpntlm.patch(options, function(err,res) { console.log("patch complete");