Services can be used to run scripts on a regular schedule, for example to time out issues, make users inactive, perform housekeeping tasks etc

There are some sample scripts that can be used as services in the jelly migration guide.


Go to Admin → Services. Add a new service with class: com.onresolve.jira.groovy.GroovyService. Set the name to something descriptive.

Finally, set the schedule and click Add Service.

add service

Then enter the script file relative to a script root, or the absolute path:

edit service

Click Update.

Have questions? Visit the Atlassian Community to connect, share, and learn with other Atlassian users and experts, including Adaptavist staff.

Ask a question about ScriptRunner for JIRA, Bitbucket Server, or Confluence.

Want to learn more? Check out courses on Adaptavist Learn, an online platform to onboard and train new users for Atlassian solutions.