Forums

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

How to display weekwise statistics gadget in JIRA

nagaraja ballal.c
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
December 7, 2018

I have created a filter where it will display stats for previous week. I used functions createdDate >= startOfWeek(-1w) AND createdDate <= endOfWeek(-1w) in JQL and displayed result in issue statistics gadget. Now when i see on sunday it will display stats for previous week(i.e Sunday to sat). Now i want this gadget to display previous to previous week stats as well. Like week 1 stats based on severity, week 2 stats based on severity. 

1 answer

0 votes
Ismael Jimoh
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.
December 8, 2018

Try 

created < startofweek() and created >= startofweek(-2w)
nagaraja ballal.c
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
December 8, 2018

Thank you for your reply. Here its showing issues which are created 2 weeks before Dec 2nd (Nov 18th till 1st Dec) . Now i have represented this filter in issue statistics gadget based on issue severity. Now tomorrow since its start of the week it will display from 25th Nov till 8th Dec. But my manager wants to see 2 weeks prior to that also in the same gadget. He don't want it to get erased so that he can compare stats between these 2 weeks. Is there any way to achieve these via gadget?

I know that we can create filters with dates hard coded dates in JQL and add it to gadget. But is there any way to achieve it other than this manual method.

Ismael Jimoh
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.
December 11, 2018

No there is no ways I know to achieve this dynamically.

At best, you can create 2 different filters one for past 3 weeks the other for past 2 weeks if you need to see issues from much earlier.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events