Using RTC Java API, how do I get a change set's work item, rather that a work item's change sets?
![]()
mark byrd (147●1●22●30)
| asked Apr 22 '13, 11:46 a.m.
edited Aug 02 '16, 7:39 p.m. by David Lafreniere (4.8k●7)
I know how to use the RTC Java API to find a work item's change sets. I've been unable to tell if, given a change set, I can determine its work item. The key is probably in the links concepts, but I've had little success finding examples.
|
Accepted answer
![]()
Ralph Schoon (62.3k●3●36●43)
| answered Apr 22 '13, 1:18 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Mark, have you looked at https://rsjazz.wordpress.com/2012/11/01/restrict-delivery-of-changesets-to-workitem-types-advisordelivery-of-changesets-associated-to-wrong-work-item-types-advisor/ ? It is server API, but I would expect it is possible to learn something from it with respect to the client API as well.
mark byrd selected this answer as the correct answer
Comments Thanks. I'm working through that example now. I'm having trouble finding the jar for repository.service, scm.service and workitem.service classes, but will keep looking. Please note, the example is for Server API and requires the server SDK set up, if you run on the Plain Java Client Libraries you have to look for a client library that replaces the server API's.
The code you supplied gave me the terms I need to pick up this ... https://jazz.net/forum/questions/24734/writing-a-new-build-engine ... in a google search, which gave the code example I was seeking. Thanks again. <o:p> </o:p> ![]() FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Thanks for the pointer Mark, I added a short sentence and a link to that question to my blog post to make it easier for the next one.
|
Comments
Do you find the solution?
Please read the answer thread.