It's all about the answers!

Ask a question

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


Mike Shkolnik (9809161143) | asked Sep 25 '13, 4:29 p.m.
I am having trouble finding these two fields in the API. Any clues?

I tried customAttributes and allExtensions without any luck.

Query Columns

2 answers



permanent link
Ralph Schoon (63.7k33648) | answered Sep 26 '13, 8:50 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
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);
	}
}

permanent link
Lauren Hayward Schaefer (3.3k11727) | answered Sep 26 '13, 6:58 a.m.
JAZZ DEVELOPER
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/.

Your answer


Register or 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.