Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Using RTC Java API, how do I get a change set's work item, rather that a work item's change sets?

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.

1

0 votes

Comments

Do you find the solution?

Please read the answer thread.


Accepted answer

Permanent link
 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

0 votes

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>

 

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.

Your answer

Register or log in to post 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 12,014
× 1,201
× 368
× 149

Question asked: Apr 22 '13, 11:46 a.m.

Question was seen: 9,813 times

Last updated: Aug 02 '16, 7:39 p.m.

Confirmation Cancel Confirm