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
Accepted answer

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 Sign up to answer
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,894 views 19 22
Read article

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