workitem

Add fields to existing TFS Work Items?

人盡茶涼 提交于 2020-02-25 08:13:22
问题 I need to add some fields to my work item types in an existing team project to support integration with other toolsets. However, after adding those fields in my work item type definitions using the Team Foundation Power Tools Process Editor, and following the instructions detailed here, the tickets still do not contain this field. Instead, it is only new tickets that are created with this field. Is it possible to add a field to existing TFS work items, rather than just updating the Work Item

Add fields to existing TFS Work Items?

我怕爱的太早我们不能终老 提交于 2020-02-25 08:13:19
问题 I need to add some fields to my work item types in an existing team project to support integration with other toolsets. However, after adding those fields in my work item type definitions using the Team Foundation Power Tools Process Editor, and following the instructions detailed here, the tickets still do not contain this field. Instead, it is only new tickets that are created with this field. Is it possible to add a field to existing TFS work items, rather than just updating the Work Item

How to create a due date based off a weekly offset in TFS custom work item

喜夏-厌秋 提交于 2020-01-16 18:50:08
问题 How can I create a default date based off a time offset for a work item in TFS WIT definition? In section of the WIT, you can define FIELD values. Is it possible to have, say a "NumberOfWeeks" FIELD and then generate a DueDate when the work item is first created? (Transitions from "" to "Open" states). I know you can default to the system clock, but can you add an offset to that? The idea is, when creating a custom Task, the user will put a number in "NumberOfWeeks" and when that work item is

How to create a due date based off a weekly offset in TFS custom work item

若如初见. 提交于 2020-01-16 18:50:05
问题 How can I create a default date based off a time offset for a work item in TFS WIT definition? In section of the WIT, you can define FIELD values. Is it possible to have, say a "NumberOfWeeks" FIELD and then generate a DueDate when the work item is first created? (Transitions from "" to "Open" states). I know you can default to the system clock, but can you add an offset to that? The idea is, when creating a custom Task, the user will put a number in "NumberOfWeeks" and when that work item is

TFS 2010 set bug work item severity after build failure

。_饼干妹妹 提交于 2020-01-03 06:08:10
问题 I'm experiencing a problem with the severity of the bug work items generated by me builds occasionally failing while using TFS 2010 (after checking in bad sources of course). My boss has decided that a build failure for my project should rank 2nd most important in the severity ladder, not first. He want to reserve the critical status for project which rake in the money, not the projects for building the codebase of our CMS. I'd still like to be notified when a build fails, but he won't allow

How to find work item filed against category value using plain java api?

这一生的挚爱 提交于 2020-01-03 02:22:33
问题 I am using below code and found filed against category object but there I am not able to find the value. Please help. IProjectAreaHandle projectAreaHandle = workItem.getProjectArea(); IAttribute someAttribute = workItemClient.findAttribute(projectAreaHandle, IWorkItem.CATEGORY_PROPERTY, monitor); IAttributeHandle iAttributeHandle = (IAttributeHandle) someAttribute; IAttribute iAttribute = (IAttribute) repo .itemManager().fetchCompleteItem( iAttributeHandle, IItemManager.DEFAULT ,monitor);

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

谁说我不能喝 提交于 2020-01-02 19:11:07
问题 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.GetAssociatedChangesets() and InformationNodeConverters.GetAssociatedWorkItems() respectively. I am using VSTS 2010 beta 1. Anyone know the solution? 回答1: Try this:

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

早过忘川 提交于 2020-01-01 10:58:10
问题 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 回答1: 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

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

喜你入骨 提交于 2020-01-01 09:58:48
问题 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 - View a list of all files changed as part of a Workitem in TFS but it went unanswered and I've been, off and on, looking for this for a while. I understand can view the links tab of the work item and then view each changeset to see the files that have been changed. But, the work item very likely will end up with