It's all about the answers!

Ask a question

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


Sagar Baviskar (1145) | asked Mar 27 '15, 6:10 a.m.
edited Mar 27 '15, 7:04 a.m. by Ralph Schoon (63.1k33645)
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.

2 answers



permanent link
Sagar Baviskar (1145) | answered Mar 27 '15, 7:46 a.m.
Thanks Ralph.

permanent link
Ralph Schoon (63.1k33645) | answered Mar 27 '15, 6:47 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
edited Mar 27 '15, 6:53 a.m.
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).

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.