Setting Iteration programmatically for Burndown Widget
Hello,
Is it possible to set the BIRT Burndown widget's parameters? I'd like to set the Burndown widget chart parameter programmatically.
Thanks in advance for letting me know if this is possible.
|
Accepted answer
You can fetch them like fetching any other item from the repository:
IItemManager.fetchCompleteItem(IItemHandle itemHandle, int flags,
To get an instance of IItemManager, use ITeamRepository.itemManager().
IQueryDescriptor.ITEM_TYPE.createItemHandle(UUID itemId, UUID optionalStateId). EclipseTalk . selected this answer as the correct answer
|
3 other answers
RTC does not expose APIs guaranteed to work in the future for setting report parameters. But if you can explain what you are trying to achieve may be there is a better way. My guess is you are trying to make the Burndown widget automatically configure its self to always use the current iteration. This can be done by setting the Timeline parameter to ONE particular timeline and setting the Iteration parameter to the current iteration by clicking the "Current Iteration": check box. This will work since timelines usually have only one current iteration. Comments Thanks Rafik for your reply. I've created a small app to set a given iteration for a given project but I need an api to be able to set the burndown report parameters iterations. Even if the apis are not public could you please share them?
I'm trying to make the Burndown widget automatically configure itself; I need to select more iterations than the current iteration alone. Every two weeks, each team's burndown needs to set its current iteration (it can be set as you explain above) in addition to other iterations that might belong to the same release. For instance for a 2 week period, we might have sprint A, sprint B and sprint C to set in addition to the current iteration.
is this possible?
Thanks for your help.
Is this app a client written in Java that uses the java client APIs? Or is this a web ui written in javascript and HTML?
EclipseTalk .
commented Jan 02 '14, 12:13 p.m.
I'm using the plain java client apis.
Thanks
|
Check the method: com.ibm.team.reports.client.IReportManager.saveQueryDescriptor To get an instance of a IReportManager, use ITeamRepository.getClientLibrary(IReportManager.class).
Comments
EclipseTalk .
commented Jan 02 '14, 2:34 p.m.
How can I get a IReportQueryDescriptor instance if I know the query UUID?
Thanks,
|
|
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.