Please JQL query to find out what issues within our instance have seen since the last 12 months

In our instance we have more than 60.000 issues. I want to archive some of these issues based on the criteria of issues that no body has looked at in the last 12 months, that are just laying there and nobody is reading the content. Is there a way to know if an issue has been seen in the last 12months?

 

Would someone be so kind to suggest q JQL query formula.

 

Cheers

2 answers

1 accepted

0 votes

There isn't one.  JIRA doesn't record "last viewed"

You could think about "last updated" - if an issue hasn't had a comment, edit or transition in X months, you can consider it "old" and think about archiving it.  JQL is just "updated < -365d "

I'm using JIRA 7 and I just tried a simple JQL test 

lastViewed <= now()

It worked, so there seems to be a lastViewed field / function in my instance.

I've no plugins installed other than the Automation and Portfolio plugin from Atlassian.

Try lastViewed >= startOfYear()

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,861 views 12 18
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot