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

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

 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.

0 votes


Accepted answer

Permanent link

 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

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,930

Question asked: Jun 19 '17, 4:01 a.m.

Question was seen: 1,411 times

Last updated: Jun 19 '17, 4:11 a.m.

Confirmation Cancel Confirm