Archive all projects in which no issues have been created or updated in the last 365 days. Use this script as a
one-off action using the Script Console, or schedule it as a regular clean up a task using the Jobs feature.
As an administrator, I want to ensure my Jira instance is efficient and uncluttered. One way to do this is to set up
a monthly scheduled job that archives all projects that have been inactive for over a year.
Good to Know
The criteria used by this script, "Tickets not created or updated in the last 365 days" can be easily changed as
it's in the JQL format.