Getting ready

For this recipe, we need to have the ScriptRunner for Jira add-on installed. You can download it from the following link, or install it directly from the Universal Plugin Manager at https://marketplace.atlassian.com/plugins/com.onresolve.jira.groovy.groovyrunner.