It's all about the answers!

Ask a question

To retrieve status of story/defects with a given task id using java API


arun sudarsanam (25210) | asked Jun 19 '17, 4:01 a.m.

 Hi All,

I am completely new to RTC Java API's. 
I need to get status of story/defects associated with the given task id using Java API.
What API should be used and what methods need to accessed to get status of parent work item (story/defects) with given task id.

Accepted answer


permanent link
Ralph Schoon (63.3k33646) | answered Jun 19 '17, 4:11 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

 Start here: https://rsjazz.wordpress.com/2015/09/30/learning-to-fly-getting-started-with-the-rtc-java-apis/


There are different APIs. My blog explains the Java APIs. Understanding and Using the RTC Java Client API 
is an introduction into the Java client API and links to other topics. All articles point to the getting started and Setting up Rational Team Concert for API Development. 

Java Client code example:

IWorkItemClient workItemClient = (IWorkItemClient) teamRepository
    .getClientLibrary(IWorkItemClient.class);

int id = new Integer(idString).intValue();
IWorkItem workItem = workItemClient.findWorkItemById(id, IWorkItem.FULL_PROFILE, monitor);

arun sudarsanam selected this answer as the correct answer

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.