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

In the API, where are "Included in Builds" and "Change Sets"?

I am having trouble finding these two fields in the API. Any clues?

I tried customAttributes and allExtensions without any luck.

Query Columns

0 votes



2 answers

Permanent link
As you can see from the "chain" overly on the icon, these are relationships. You will also notice you find them on the Links tab. These are not exposed as attributes.

See https://rsjazz.wordpress.com/2012/09/19/the-rtc-workitem-link-api-linking-workitems-to-other-elements/ and, very similar https://rsjazz.wordpress.com/2012/09/20/the-rtc-workitem-server-link-api-linking-to-work-items-and-other-elements/ and https://rsjazz.wordpress.com/2012/10/20/following-calm-links-using-the-java-client-or-server-api/ for more information about link API's.

They are exposed as references. There are different kinds of these references. Workitem references and URI references.

In
https://rsjazz.wordpress.com/2012/09/19/the-rtc-workitem-link-api-linking-workitems-to-other-elements/

you can find code how to analyze references and then follow the different ones

/**
 * Analyze a reference
 */
public void analyzeReference(IReference iReference) {
	if (iReference.isItemReference()) {
		Object resolvedRef = iReference.resolve();
		analyzeItem(resolvedRef);
	}
	if (iReference.isURIReference()){
		analyzeReferenceTarget(iReference);
	}
}

1 vote


Permanent link
Hi Mike,

Have you tried using the plugin spy to find the api?  More details on the spy are available here: http://ryehle.wordpress.com/2011/11/21/finding-the-right-service-api-for-your-process-extension/.

0 votes

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
× 10,938
× 479

Question asked: Sep 25 '13, 4:29 p.m.

Question was seen: 5,797 times

Last updated: Sep 26 '13, 8:50 a.m.

Confirmation Cancel Confirm