How to get a Work Items Link in a custom preconditon?
I'm developing a custom precondition that checks if the work item has certain links (live resolves) before resolving it.
I've set the development enviroment and did the workshop but I can't find a way to get the links for a work item and check the precondition. Anyone knows how to do it? |
Accepted answer
One other answer
Hi Jorge,
have a look at
https://jazz.net/forum/questions/161758/how-to-retrieve-the-changesets-associated-to-a-workitem-via-java-api
where Olivier explained how to receive Changesets associated with a Work Item.
If you run through the Workshop your development environment should be set up correctly. In your Eclipse do a "Java Search" and search for "WorkItemLinkTypes" (Types,References,..,Workspace).
With both information you should be able to solve your problem.
Have fun programming RTC extensions!
|
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.