It's all about the answers!

Ask a question

Problem with workitem links in BIRT report

Ethan Vogel (5142) | asked Dec 08 '10, 5:00 p.m.
Any help with this problem would be appreciated ...

I have created a BIRT report that has hyperlinks to RTC work items and there is a problem with the links when running the report from the Eclipse client. According to the info at the link should be intercepted and the work item should be opened in the Eclipse work item editor. Instead, what's happening is that when I click on the link, a browser opens and redisplays the report.

It works fine when I run from a web browser.

The client is changing the URL when I run in Eclipse as follows:
(I have changed the server name to xxxxxx in the examples below).

URL in the link when I run the report from the web browser:
This is exactly how I had coded the link and it works fine.

URL when I run the report from the Eclipse client:
(The stuff in red was put there by RTC/Eclipse)

I am using RTC client

Any idea what's going on?


3 answers

permanent link
Brent Barkman (156) | answered Dec 09 '10, 5:44 p.m.
Hi Ethan,
The stuff in red comes from the use of the serverUrl variable. The reason it looks different is so it can be picked up by our interceptor and display the work item in the work item editor in eclipse.

In the web ui you should get the regular link like you're expecting.

I've modified the work item query rptdesign example from Reports Central ( in our wiki to include an example of this. You can download the rptdesign file at

Hope that helps.

permanent link
Ethan Vogel (5142) | answered Dec 10 '10, 1:27 p.m.
Hi Brent -

My code is exactly the same as your code (I've pasted mine below so you can confirm). My point is this: It works fine in the Web, and I understand that the stuff in red meant to cause the eclipse work item editor to be used ... but when I click on the link in Eclipse, the work item editor is not invoked -- what happens instead is that the whole report comes up in a browser. So seems that the interceptor is not working.

If my explanation of what's happening isn't clear, I could demo it quickly in a web meeting if you have the time.


var serverURL = reportContext.getAppContext().get("SERVER_URL");
if (serverURL == null) serverURL = "";
var url = serverURL + "" + row;

permanent link
Brent Barkman (156) | answered Dec 11 '10, 5:58 p.m.
For anyone else reading this post, Ethan and I had resolved the problem, the issue was that the link was set to open in a new window (target=_blank) which gets missed by the interceptor, the target needs to be _self. I have opened work item 147991 ( for this.

Your answer

Register or to post your answer.