It's all about the answers!

Ask a question

Can we query based on State Group in the Query Builder?

Susan Hanson (1.6k2201194) | asked May 07 '14, 10:37 p.m.
Today in the QueryBuilder, I can query by State (like Closed and Canceled) and by "Resolved" vs "Unresolved".

We'd like to combine Closed and Canceled state into a single state and then have the resolutions define if they were "done" or "not done".  When we do queries, I'd like an easy way to separate them, whichI think I can do using State Groups.

I think I can create a state group called "Closed but not done" to go along with the one called "Closed" and then at the Resolution level, say that my "not done" resolutions are part of the "Closed but not done" state group and "done" resolutions are part of the normal "Closed" state group.

But then ... can I do a queryBuilder that says give me the Defect work item types that are in the "Closed but not done" state group? Or do I need to select each and every Resolution?

Thanks in advance.

sam detweiler commented May 07 '14, 11:17 p.m.

I do not think you can query using state groups.  

Be the first one to answer this question!

Register or 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.