Work Item link in BIRT Report
Hi, I have created a custom BIRT report to show a query of WIs and I would like to select any field in that table (even if it's not the WI_ID field) and link it to the corresponding work item.
I have been reading the article: http://www.ibm.com/developerworks/rational/library/10/creatingcustomreportswithbirtandrtc-part3/index.html and it says that I can add easily the hiperlink using the following URI '/jazz/resource/itemName/com.ibm.team.workitem.WorkItem/'+row
But this is not working. Any idea what I am doing wrong?.
Thanks,
Ana
I have been reading the article: http://www.ibm.com/developerworks/rational/library/10/creatingcustomreportswithbirtandrtc-part3/index.html and it says that I can add easily the hiperlink using the following URI '/jazz/resource/itemName/com.ibm.team.workitem.WorkItem/'+row
But this is not working. Any idea what I am doing wrong?.
Thanks,
Ana
8 answers
Hi,
I have a BIRT report that groups workitems by Team and Type. Something like this:
I want to create a link at type descriptions that lists the workitems of that Team and type.
I believe it involves to link to a query. But the question is, can I pass parameters to a query within the URL?
I saw some examples like this: "action=com.ibm.team.workitem.runSavedQuery&id=_Fx4o8FAWEeCPUvO_Kb39kQ"
But it won't work for me, since it do not accept parameters. So, any ideas?
And would be nice if I could use pop-ups views in reports too.
I have a BIRT report that groups workitems by Team and Type. Something like this:
------ Team ------------- Type ------------- Qty
Team_1 |
| Desc_Type1 | 3
| Desc_Type2 | 5
| |
Team_2 |
| Desc_Type1 | 1
| Desc_Type4 | 7
I want to create a link at type descriptions that lists the workitems of that Team and type.
I believe it involves to link to a query. But the question is, can I pass parameters to a query within the URL?
I saw some examples like this: "action=com.ibm.team.workitem.runSavedQuery&id=_Fx4o8FAWEeCPUvO_Kb39kQ"
But it won't work for me, since it do not accept parameters. So, any ideas?
And would be nice if I could use pop-ups views in reports too.
Many out of the box reports like Open Work Items by Type pass a Work Item Type parameter. Please use the design file of those as a example.
I am not sure I understand the meaning of: And how to call pop-ups views to a query.
Thank you, I use "Open Work Items by Type" and found the parameter name for type.
Regarding the pop-ups views, reading the article http://www.ibm.com/developerworks/rational/library/10/creatingcustomreportswithbirtandrtc-part3/index.html I learned how to implement it to a single workitem like this:
But I saw in some defaults viewlets, that pop-up can be displayed for queries too. But I didn't found the correct code to implement it.