Why does the Work Item Queries dashboard widget filter dynamic queries?
Now that we're on 4.0.2 I tried changing the query to a dynamic one that prompts users to enter the text fragment they're looking for when they run the query. It works as advertised.
Now that the query is so much easier to use I thought I'd share it with a number of teams so it would appear in the list within the 'Work Item Queries' widget on each of their team dashboards.
It doesn't appear.
I've checked that it is properly shared and it is. I can see it alongside the other Shared Queries under respective teams.
Those other shared queries are still showing up in the "Work Item Queries' widget as expected.
It's only the query that I edited to be dynamic that won't show up.
Any thoughts on whether this is as designed or a defect or operator error?
2 answers
Comments
The widget conveniently added all queries shared with the team in question.
I thought maybe it only included queries shared when the widget was added to the dashboard so I did try what you suggest - adding the query manually.
So far I've been unable to find it under My Queries or under Shared queries in the dialog you show above.
The query was already in the list, but disappeared when I changed it to dynamic.
I tried creating a new dynamic query and also could not find that.
I've just tried removing the dynamic condition from the query and it reappeared in the list in the dashboard widget.
I'm pretty sure it's filtering dynamic queries on me.
A shared query with a dynamic condition cannot be selected to be added to the work items queries dashboard widget.
Comments
Odd that this subject hasn't received much traffic. One of my RTC users raised an issue in not being able to add a query. First thing I checked was to run the query. It asked for some attribute.
I then created 2 widgets on my personal DB, Work Item Queries, Work Item Statistics. Added same query to both. Then I modified the query to have one dynamic condition. Query disappeared from Work Item Queries and this was in Work Item Statistics:
CRRDV5024E The work item query could not be retrieved from the server. The server encountered an unexpected error that prevented it from retrieving the work item query. To find more details about this issue, open the JavaScript console of your browser by pressing F12, refresh the widget, and check the JavaScript console for any resulting errors.I think preventing dynamic conditions makes some sense, but I'd like to find a record of that decision somewhere.