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

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

0 votes



8 answers

Permanent link
Hi, I have already solved the problem adding the following java script to the URI call:

var serverURL = reportContext.getAppContext().get("SERVER_URL");
if (serverURL == null) serverURL = "";
serverURL + "#action=com.ibm.team.workitem.viewWorkItem&id="+row

0 votes


Permanent link
Hi,


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.

0 votes


Permanent link
Please check the following Wiki:

https://jazz.net/wiki/bin/view/Main/ReportsLinkingAndDrillIn

0 votes


Permanent link
Please check the following Wiki:

https://jazz.net/wiki/bin/view/Main/ReportsLinkingAndDrillIn



This link is very helpful indeed. But I still don't know how to pass workitem type as parameter. And how to call pop-ups views to a query. (for a single workitem a found the way)

0 votes


Permanent link
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.

0 votes


Permanent link
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:

http://www.ibm.com/developerworks/rational/library/10/creatingcustomreportswithbirtandrtc-part3/image009.jpg

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.

0 votes


Permanent link
Anyone to help me on this one?

0 votes


Permanent link
Anyone to help me on this one?


I don't know of anyone who has tried using the rich hover within a report, and I'm not sure this is possible.

james
RTC Reports Team Lead

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

Question asked: Mar 08 '11, 10:04 a.m.

Question was seen: 7,546 times

Last updated: Mar 08 '11, 10:04 a.m.

Confirmation Cancel Confirm