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

How to get Epic ID, Planned for, Modified date of an WorkItem programmtically using RTC Java API

Can anyone please help to get Epic ID, Planned for, Modified date of an WorkItem programmtically using RTC Java API

code snippet will help really.

0 votes



2 answers

Permanent link
Please see https://rsjazz.wordpress.com/2013/03/20/understanding-and-using-the-rtc-java-client-api/ to get started and for the most basic examples you nee.

Please see https://rsjazz.wordpress.com/2015/02/27/a-rtc-workitem-command-line-version-2-2/ for an almost complete example for what you can do reading and writing the Work Item API.

The workItem ID is a method of the IWorkItem interface: workItem.getId()
Modified date the same  workItem.modified()
Planned for is an attribute - see the first post and https://rsjazz.wordpress.com/2013/01/02/working-with-work-item-attributes/
workItem.getValue(IAttribute ot the attribute).

0 votes


Permanent link
Thanks Ralph.

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,937
× 169

Question asked: Mar 27 '15, 6:10 a.m.

Question was seen: 4,295 times

Last updated: Mar 27 '15, 7:46 a.m.

Confirmation Cancel Confirm