Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to find all issues which was resolved in some week of year?

Arkadiusz Zychewicz June 12, 2014

I want to make a query which return to me all isssues resolved in specifed week of year. For example I want to know howm many issues was reslolved in 12 week of 2014 year.

So I need something like this:

firstDayOfWeek(12) <= resolutiondate AND resolutiondate < lastDayOfWeek(12)

is there any?

1 answer

0 votes
Jobin Kuruvilla [Adaptavist]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 12, 2014

How about this:

resolutiondate &gt;= startOfWeek(-12) AND resolutiondate &lt; endOfWeek(-12)

Jobin Kuruvilla [Adaptavist]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 12, 2014

This is relative to current date. i.e. 12 weeks before. But you can adjust the number as appropriate.

Arkadiusz Zychewicz June 12, 2014

So how to get which week is now?

Jobin Kuruvilla [Adaptavist]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 12, 2014

Current week is 0. -12 will be 12 weeks before now.

Btw, you can use the absolute dates if you already know it.

Arkadiusz Zychewicz June 12, 2014

This is in fackt my problem how to make query not relative to current date. And meke relative to absolute week number.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events