Accessing Releasedate and Enddates of Iterations with Java
Hello,
I created a Follow-up Action for the SaveWorkItem trigger in RTC 4.0.1. But now I'm stuck. I have to read out the Release, the Releasedate, the Iteration and the Enddate of the Iteration from the saved Work Item. Is it possible to get these information with my Java Plugin?
Thanks in advance,
Lars
I created a Follow-up Action for the SaveWorkItem trigger in RTC 4.0.1. But now I'm stuck. I have to read out the Release, the Releasedate, the Iteration and the Enddate of the Iteration from the saved Work Item. Is it possible to get these information with my Java Plugin?
Thanks in advance,
Lars
Accepted answer
Hi Lars, the only work so far I have done with iteration is published here: https://rsjazz.wordpress.com/2012/10/05/handling-iterations-automation-for-the-planned-for-attribute/ it is client API, but I assume the server API should be easy enough to find. This might provide you at least an entry point. Sorry, but publish about manipulation of the iteration structure, times and dates is still on my backlog and I have no examples more complex than the above yet 8-)
Comments
sam detweiler
May 08 '13, 9:26 a.m.sure.. from the workitem project area, get the DevelopmentTimelines and iterations.
<code>
// note this is a list of timelines
IDevelopmentLineHandle[] dlh = iprja.getDevelopmentLines();
// get the first
IDevelopmentLine dl =
(IDevelopmentLine) auditableClient .fetchCurrentAuditable(dlh[0],
ItemProfile .createFullProfile(IDevelopmentLine.ITEM_TYPE), null);
</code>