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 vote

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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Wednesday in Jira

Join our webinar: How 1B+ feature flag events helped us build the new Jira

Every time you release software, there's a bit of risk – that there's a bug, that something breaks, or that the feature doesn't resonate with customers. Feature flagging helps make high stakes s...

133 views 0 3
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