To retrieve status of story/defects with a given task id using java API
Accepted answer
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);