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

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

0 votes

Comments

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>


Accepted answer

Permanent link
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-)
Lars Fockele selected this answer as the correct answer

0 votes


One other answer

Permanent link
Hi Ralph, Sam,

thank you for your answers. I'll try it in the next days with your samples and the server API.

Have a nice weekend,
Lars

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

Question asked: May 08 '13, 5:51 a.m.

Question was seen: 5,536 times

Last updated: May 10 '13, 11:48 a.m.

Confirmation Cancel Confirm