1
votes

I have custom Work Item Types setup with 'normal' states (first image).

When I query (second image) on State = Resolved and State Change Date > @Today - 7, Work Items with the Custom types are not found despite having the Resolved state assigned within the last week.

What do I need to do to make such a query work?

States

enter image description here

1
It works fine on my side with Azure DevOps, I suppose it should be also work for TFS. Could you confirm that your custom work item was created 7 days ago? Have you tried set the state change date <= @Today-7?Leo Liu-MSFT
I'm in Azure DevOps too (not TFS). We have numerous work items are created daily so yes, there are work items created between today and 7 days ago. Using <= @ Today-7 also returns no results.Beth Dagle
The query will return work items that use a 'stock' type. The only work items it doesn't return are the ones we created in our customized process template. So my assumption is that there is some setup in the process template that is preventing the query logic from working.Beth Dagle

1 Answers