How to get a Work Items Link in a custom preconditon?
Accepted answer
here is the source of an advisor I wrote to check for a depends on link, and prevent the workitem resolving if the workitem depended on is not resolved.
https://jazz.net/forum/questions/64268/operation-advisor-custom-precondition-for-work-items
second post
https://jazz.net/forum/questions/64268/operation-advisor-custom-precondition-for-work-items
second post
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!