workitem

How to fetch RTC work item change sets using plain java api?

大兔子大兔子 提交于 2019-12-08 08:06:13
问题 I am trying to fetch the changes using below code but every time it returns null. I don't know what is wrong with this code. ILinkManager fLinkManager = (ILinkManager) repo.getClientLibrary(ILinkManager.class); IReferenceFactory fReferenceFactory = fLinkManager.referenceFactory(); IReference reference = fReferenceFactory.createReferenceToItem(workItem.getItemHandle()); ILinkQueryPage page = fLinkManager.findLinksByTarget("com.ibm.team.filesystem.workitems.change_set", reference, monitor);

Work Item state change rules in TFS - Any way to use “AND”s or “OR”s?

喜你入骨 提交于 2019-12-06 10:43:41
I have this state in a work item that can only be set if one of four other fields (dates) are filled in . It doesn't matter which one of the four, if at least one is filled then the state can be set . Example: This scenario lets you change the work item state: DateA 01/05/2012 DateB ' DateC ' DateD ' This one too: DateA ' DateB 01/05/2012 DateC 01/05/2012 DateD ' This one doesnt: DateA ' DateB ' DateC ' DateD ' I thought of using WHEN , but it won't work, as I can't write "WHEN this AND WHEN that " Any suggestions? EDIT: Plus, I can't use the rule "PROHIBITEDVALUES" for System.State, so any

Open TFS Work Item Attachment in Image Viewer not Web Browser

柔情痞子 提交于 2019-12-06 01:37:30
问题 Is there a way to open an attachment for a TFS work item by double clicking on it (or rather just opening it from the IDE) in your computer's default image viewer, rather than opening it in a web browser? I'd love to be able to change this setting (if it is a setting). Edit: after reviewing Kate Gregory's response, I looked into this option and realized that the trouble is that VS is launching a url (a handler file to respond with the attachment), which results in the default web browser

Programatically forcing field values for a TFS WorkItem

无人久伴 提交于 2019-12-06 00:06:10
问题 I am writing a utility to read all the defects out of a legacy bug tracking system, and import them into TFS (2008/2010). I am using the TFS API to create new WorkItems, set their fields, and then save them. However I am unable to modify the "Created By" and "Created Date" fields, as these are set by the system. (and there are other fields too which I would like to be able to force values for, such as setting the submitter to be someone who is not a valid TFS user) // these fail with "The

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

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

匆匆过客 提交于 2019-12-04 06:29: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 many changesets linked to it, and I would like to review the files modified as part of the work item,

TFS Execute Custom Code on a Work Item Transition

限于喜欢 提交于 2019-12-03 12:53:07
问题 I'd like TFS 2010 to run a bit of custom code whenever a particular workflow transition happens. Is that possible? I've found documentation about Custom Actions, which seem to be actions that can automatically trigger work item transitions (am I getting that right?) I also found Custom Activities, which are related to Builds. But nothing that serves this particular requirement - am I missing something? Thanks for your help! 回答1: This is very doable. It is so doable, that there are many ways

TFS Execute Custom Code on a Work Item Transition

a 夏天 提交于 2019-12-03 03:10:46
I'd like TFS 2010 to run a bit of custom code whenever a particular workflow transition happens. Is that possible? I've found documentation about Custom Actions, which seem to be actions that can automatically trigger work item transitions (am I getting that right?) I also found Custom Activities, which are related to Builds. But nothing that serves this particular requirement - am I missing something? Thanks for your help! This is very doable. It is so doable, that there are many ways to do it. One of my favorites is to make a server side plugin. (Note, this only works on TFS 2010) These blog

What are the differences among bugs, issues and tasks in TFS

末鹿安然 提交于 2019-12-02 17:03:47
Could anyone give me a short explanation on the differences among bugs, issues, and tasks in TFS? Sanjeevakumar Hiremath For the Scrum TFS Process Template Bug - Any problem in existing functionality, or missing functionality. Defect in code or requirement, error which is not designed to be. Issue (Impediment)- Any problem which might block the development process, example : a third party driver you identified as dependency is not releasing on time, so it is an issue in your development process. Task - Any work which is planned as part of development of your project, either as result of bug,

how to get a Task id (storyid,Featureid,Feature name) by Wiql in c# by 1 Query)?

 ̄綄美尐妖づ 提交于 2019-12-02 04:12:52
i have a Hierarchical structure like this in which a Feature can have many User Stories each having one to many Tasks. But a User Story may have no parent Feature as well as some Task may have no parent User Story F1 -->U1,U2,U3 --->t1,t2,t3 I need a Wiql Query in c# by which for any Taskid input I get its parent storyid (or 0 if it has no parent) along with this latter parent Feature id (0 if it has no parent User Story) and name ('other' if Feature id is 0) You may find any parent branch for work item with this query: You can use this code to get a list of parents: using Microsoft