workitem

How can I modify a Work Item type to include additional information in TFS?

TFS2008. I'd like to track task points on a Task work item, but there isn't anywhere (other than the description) to record this. I'd like to add a dropdown with 0, 1, 2, 3, 5, 8, etc, so these task points can be exported in reports. ...

How have you customised work items in Team System?

At my company we use the default agile process template with some modificiations. One modification we have made is added a field that indicates how to report time spent on a work item. What customisations of the default process templates have you made? Have you customised a third party process template or maybe rolled your own from scr...

Are there any JSON (or YAML) based "time sheet" or "work log" related formats for recording time spent on tasks?

I just need a simple JSON or YAML (or other) text based format for recording the time I spend on tasks. I prefer to do as much work as possible in my text editor (e text editor) so it is more natural to me to stay in the editor and not switch back and forth to programs like Excel (plus this way I retain portable and "open" data). The ...

How do I select changesets to merge that are attached to work items?

I have a set of work items that are completed and I am ready to move their changes to our production branch. Is it possible to find the changesets that are attached to them and selectively merge them with the target branch? ...

tfs sdk how to select few work items and build?

Hi I want to know if we can select maybe first and last work items out of a list of work items associated with a particular changeset.. or even select few changesets associated with a particular build.. won't that result in a straight error as the changesets are all directly dependent on each other? How can we make the build pass with...

Cannot get a list of valid users in TFS for AssignedTo field while creating new Workitems via API

Hi I am trying to create new workitems via the TFS API and this is the method I have used below to get a list of valid users who can be assigned workitems. Somehow, it gives me a null reference exception on validUserSids line. Anyone know what's wrong here? Thanks Tara. private string[] TFSUsers(string server) { // Get a Re...

Cannot add new Workitems using TFS API

Hi I am trying to add new workitems to the TFS repository using the API, but when I validate the workitem before it is saved, it returns an error. I previously got exceptions regarding the field definitions for a bug namely, Symptom, Steps to Reproduce and Triage. (Error code TF 26027). The code snippet is shown below: Can anyone tell me...

How to create new Change Requests using TFS API 2010?

Hi I am new to the TFS API and currently in the process of creating new work items via a windows form app. Can anyone explain in detail with code examples on how to create new Change Requests, Risks and Scenarios for TFS 2010? I was aware that CRs are not available in the Agile template but I saw somewhere that "Scenario" is the equi...

How to get work items associated with a changeset id using tfs api?

Hi I need to get a list of work items that are associated with selected changesets programmatically. So far I have been able to get the changesets associated with a work item ID using the concept of Artifacts, as well as got the changesets and/or workitems associated with a particular build using : InformationNodeConverters.GetAssociat...

How to show associate workitem from code?

We develop some product using an internal design tool that stores information in XML files. To provide proper integration with TFS we've also coded a provider that tracks, in TFS, checkin and checkout operation from users while they're using the designer, without any need to interact with Team Explorer. Now the requirement is to add als...

WorkItemLinkFilters - FilterOn does not work?!

Hey, I've a question about the Link Filters of a Link Control in Team System. I want a list in which I only see workitem "xyz" with the link "links to" (<- reversename, forwardname: linked by). Here is a sample of what I try: <WorkItemLinkFilters FilterType="include"> <Filter LinkType="Unsere.LinkTypes.Links" FilterOn="reversename" ...

Invalid list value for State field while adding or editing Bugs in TFS 2010 Beta 2

I am trying to create/edit work items through the TFS API in my Windows application. I get an error "Invalid list value for State field" when I try creating a new Bug itself. The process template has been only slightly modified from the "MSF for Agile Software Development v5.0 - Beta2" process template. \ Shouldn't it accept "Active", "...

Transition workflows of a work item's states

I am developing a windows app that performs some common TFS tasks using the 2010 Beta 2 API (like creating new team projects, new work items, selective build, etc. ). In the process of editing existing work items, I should be able to automatically set the 'Reason' field's values according to state change of the WI (mimic-ing Visual Stud...

Saving WorkItem - SaveFlags

Hi, in 2010 Beta 2 the new TFS SDK provides an overloaded method for WorkItem.Save(SaveFlags). SaveFlags is an enum with only 2 values: None and MergeLinks. Does anybody know what the MergeLinks option actually does? Can't find it anywhere... Thanks in advance. ...

Merging all changesets associated with a WorkItem in Team Foundation Server

We're trailing the use of the built in bug tracking, and have written some integration into our helpdesk software that allows for escalation via workitems. One thing I haven't found out how to do, is to merge all changes associated with a work item (say to go from dev branch to main) - I appreciate you can double click on a changeset in...

How to retrieve a list of Changesets (or work items) that were checked-in between builds ?

I need a list of changesets (or Work Items) that were made betweend builds (I can label builds if its necessary). I need that list for our test team (and to publish 'changelist') Is MSBuild task able to retrieve that list and save as file (then I can process that list further. Or maybe I need to connect to TFS from C# code and retrieve ...

How to set work item state / reason when using Pending Changes window

I am using a custom workflow for tasks in TFS 2010. However, when I check in code using the Pending Changes window and "Resolve" a task it is automatically put into a state of Closed with a reason of Cut. Is there any way to modify this behavior? ...

A way to find out all affected files of a workItem or group of chgsets in TFS 2008?

I'm trying to figure out a way to find out which files were affected by a work item in TFS 2008. I realize that this is a duplication of a question already asked by someone else here - http://stackoverflow.com/questions/2219282/view-a-list-of-all-files-changed-as-part-of-a-workitem-in-tfs but it went unanswered and I've been, off and o...

Team Explorer work item UI is too wide

Is there any way to get the work item query results preview pane to auto-size its width? It is very often "too wide", with the controls being way too wide for their content. Here's an example--why do I have to have horizontal scrolling? Is there any way to fix this? (When one opens a single work item, the width is streched appropri...

Setting MinimumSize Attribute for a Control in a TFS WorkItem

Tools used: Visual Studio 2008 SP1 Team Explorer Team Foundation Server Power Tools October 2008 Release. Using the Process Editor in Visual Studio, I am attempting to set the MinimumSize attribute for a control in a WorkItem template to make the default size of the input area larger. I am setting the attribute according to this web...