Automatically close out old support tickets


Step 1

Choose JIRA Admin and navigate to the ScriptRunner Admin function "built-in scripts"

OR type "." and then "built-in scripts" 



Step 2

Choose the Escalation Service link




Step 3

Choose the "New Service" link

Steps 4 - 8

Enter a description like "Close one week old Resolved tickets with no response"

Use the appropriate JQL to catch your old tickets like the below code block

status = Resolved and updated <-7d

Type in the user to run this script as

Enter a valid cron expression, for example to run it every weekday at 10am use: "0 00 10 ? * MON-FRI"

Then choose the appropriate Action and save your escalation