Ideas for check which JIRA project is not in use from long time

Hi all,

Question for JIRA admins around the world:
How you manage to check which of your JIRA projects are in used?

I was thinking about some DB query or script. We have a lot of project (around 1200 right now) - (it's easy to request for new one, hard to request a deletion).
We would like to list all the projects with no new tickets, no updates from one year from now.


1 answer

0 votes

I used to use a dedicated report for this, but it was a long time ago.  JIRA doesn't directly track "project create" or "project last used" dates (well, the audit log traps created projects now, but that can be cleared and often doesn't go back far enough)

So I used a hacked-together report which gave me the project ID (database id, not key), and last issue number allocated with its updated date.   The project ID lets you put them in order of creation, and the last issue updated usually gives you the last time the project was used.  This was ok for me, because we were looking at "empty" (last issue number very low or not even there) or "over a year old" (it's rare that an active project will have updates but no new issues) 

It could be more clever - ideally it should have read "earliest created date" and "latest issue updated date", but I was in a rush and never had time to do it better.

To do it in sql, read the project table for the raw project data (highest issue number and key), then you should be able to construct "find oldest created and newest updated" queries on to jiraissue.


Suggest an answer

Log in or Join to answer
Community showcase
Teodora [Botron]
Published Thursday in Marketplace Apps

Jira Inferno: The Nine Circles of Jira Administration Hell

If you spend enough time as a Jira admin - whether you are managing a single, mid-sized instance, a large enterprise one or juggling multiple instances at once - you will eventually find yourself in ...

279 views 0 12
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
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