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

BIRT - Hyperlink to run a dynamic work item query

Hi,

I have a chart aggregating a list of workItem IDs based on some filter criteria... I want to execute an existing dynamic query (by the hyperlink magic) passing on a set of workItem IDs. I created a (dummy) dynamic query (w/ some number of columns to be displayed). When I run this in the webclient, I'm asked to pass on a list of IDs..  and resulting in the appropriate display.
Q: Is there a way to pass on the relevant IDs from a Birt report if the customer clicks on the chart bar via the hyperlink magic?

Any help/suggestions appreciated.
Guenther

0 votes

Comments

Additional details:
The request I'm using using jsonParameterValues is as follows:
    https://xxxxx:8052/jazz/web/projects/yyyy #action=com.ibm.team.workitem.runSavedQuery&id=_G5Pj8GTqEeW_a_znQFYvCQ&filterAttribute=id&jsonParameterValues={"id2":{"attributeId":"id","operator":"is","values":[200009,200010],"variables":[]}}&maxResults=50&projectAreaItemId=_xNY7cMzrEeCeP-edQ3dTlQ&startIndex=0

This was copied from info I extracted from firebug... I always get the following error:
   Error: com.ibm.team.repository.web.transport.ServiceRequest(): invalid requestParameters parameter: [object Object]
What am I doing wrong?
Guenther



One answer

Permanent link
You will get the exact same error if you try to open the link in a browser. The internal API that you try to use is a POST operation, but with "clicking" or "pasting" the link, you are doing a "GET" operation. There is no guarantee that you can achieve the same functionality with a GET operation.

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: Sep 27 '15, 3:20 p.m.

Question was seen: 3,812 times

Last updated: Oct 13 '15, 8:57 p.m.

Confirmation Cancel Confirm