How can I set "this week or this month" in query condition?

3 answers

Hi,
I don't think there is a built in way to query for this week or this month. As you saw, you can query for the work items created in the last 7 days or the last month. The workaround would be to manually update the queries at the beginning of every week and month.
Depending on what you're trying to do, you could also use the Java API to programmatically query for work items in the last week or month. https://jazz.net/wiki/bin/view/Main/QueryDevGuide has examples of how to get started.
I don't think there is a built in way to query for this week or this month. As you saw, you can query for the work items created in the last 7 days or the last month. The workaround would be to manually update the queries at the beginning of every week and month.
Depending on what you're trying to do, you could also use the Java API to programmatically query for work items in the last week or month. https://jazz.net/wiki/bin/view/Main/QueryDevGuide has examples of how to get started.