Are you in the loop? Keep up with the latest by making sure you're subscribed to Community Announcements. Just click Watch and select Articles.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Looking for filter to extract list of issues that are lying in open status for more than 1 year

Anurag Verma
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!
Oct 11, 2023

Hey there, Please Help!

I am trying to extract a list of issues/bugs that are lying in open status for more than a year. I have tried multiple advanced JQLs but couldn't seem to get it.

 

Example - 

project in (Project1, Project2, Project3) AND issuetype = Bug AND status in (Status1, Status2, Status 3) AND NOT status CHANGED AFTER -365d

 

When I use the above JQL, I still get issues created in the year 2023, which should not happen. Since my ask is to get list of issues that have remained in the same status for more than 1 year, the issues should not be created after Oct 2022.

1 answer

1 accepted

1 vote
Answer accepted
Vishal
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.
Oct 11, 2023

Hi @Anurag Verma 

With out of the box jql you wont be able to get the desired result, as there is no way to capture time in status at this moment, you may have to go for some market place app to get the perfect output. 

Or as a interim solution, you may use query as below which will give you best possible output. 

project in (Project1, Project2, Project3) AND issuetype = Bug AND status in (Status1, Status2, Status 3) AND updated <= -365d

Hope it helps you get the data you are looking for.

Anurag Verma
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!
Oct 11, 2023 • edited

Thank you Vishal, the query worked! Will JIRA consider putting comments in issues as an update as well ?

Vishal
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.
Oct 11, 2023 • edited

Hi @Anurag Verma 

Ideally, its a change in issue, so it should consider comment as an update but it may vary based on the type of hosting & so on. To be 100% sure, just create a test ticket & comment on it after 5-10 mins & see if the updated time stamp change or not.

Suggest an answer

Log in or Sign up to answer