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

Is it possible to add dynamic queries (queries with runtime parameters) to the "Work Items Query" widget?

 I have created a dynamic query to display work items created within a given time frame. The query has a run time parameter (Creation Date). 
I'm trying to add this query to the "Work Items Query" widget, but it seems this particular widget doesn't support dynamic queries. I tried adding the same query to the "Work Item Statistics" widget, and it works fine.
So the questions are: 
1 - Can I use dynamic queries in the the "Work Items Query" widget? 
2 - Is this a defect or working as designed?

Thanks!

0 votes

Comments

I have no issue to add a dynamic query in the widget using RTC 5.0.2.
What's your RTC version? Did you get any error?

1 vote

I'm on 5.0.2 iFix005. No error, the dynamic queries simply won't show up when I try to add them to the widget. If I remove the runtime parameter from a query, then it appears amongst the queries I can add to the widget.

I don't have the issue.
You can enable the Firebug trace and see if there's any error.

1 vote

Couldn't find an error in the Firebug trace. I tested it in a couple of other environments with 5.0.2 GA, and it the behavior is the same: if the query has a run time parameter, it just won't show up in the list of available queries for the "Work Item Queries" widget. 

I guess I'll have to open a support ticket to find out if this is expected.

5.0.2 ifix003 behaves the same ( as did 4.0.3 - 4.0.7 )

1 vote


Accepted answer

Permanent link
I created https://jazz.net/jazz/resource/itemName/com.ibm.team.workitem.WorkItem/356927 recently. However, I just tried it again with a query with parameters on version 5.0.2 and I was asked to provide the parameter during the configuration of the "Work Items" widget. However, adding a query with parameters in the to the "Work Item Queries" widget does not work. The Query does not show up on the pick list.
Andre Gusmao selected this answer as the correct answer

1 vote

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
× 12,019
× 124
× 84

Question asked: May 14 '15, 4:21 p.m.

Question was seen: 4,414 times

Last updated: May 18 '15, 10:46 a.m.

Confirmation Cancel Confirm