How to get Epic ID, Planned for, Modified date of an WorkItem programmtically using RTC Java API
2 answers
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).
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).