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
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
Comments
Guenther Jornitz
Oct 09 '15, 2:30 a.m.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
Guenther Jornitz
Oct 09 '15, 2:30 a.m.In addition I clicked together a query in the browser and tried to reuse the generated https request - but failed w/
Error 400: CRJAZ1175I Unable to get method info from service call.
Detailed URL:
https://xxxxx:8052/jazz/service/com.ibm.team.workitem.common.internal.rest.IQueryRestService/getResultSet?columnIdentifiers=workItemType&columnIdentifiers=id&columnIdentifiers=summary&columnIdentifiers=owner&columnIdentifiers=internalState&columnIdentifiers=internalPriority&columnIdentifiers=internalSeverity&columnIdentifiers=modified&filterAttribute=&filterValue=&jsonExpression={"operator":"AND","attributeExpressions":[{"attributeId":"id","operator":"is","values":[200000,200009],"variables":[]}],"termExpressions":[],"similarityExpressions":[]}&maxResults=50&projectAreaItemId=_xNY7cMzrEeCeP-edQ3dTlQ&sortColumns=modified&sortDirections=false&startIndex=0
What am I doing wrong?
Guenther