Jelly escalation
Before winding up this chapter, let us have a quick look at how we can use one of the useful features of JIRA to escalate inactive issues by transitioning them to a predefined workflow status.
Jelly Service is a built-in service in JIRA which we can use to run useful Jelly scripts at regular intervals. Atlassian explains in its documentation (https://confluence.atlassian.com/display/JIRA/Jelly+Escalation) about running a Jelly script to move issues that were not updated in the last 7 days to an inactive status. Note that it is 7 calendar days and not business days. JIRA has no concept of business days, out of the box.
Let us have a look at this recipe on how to modify the script and transition issues into different workflow statuses.
Getting ready
Make sure Jelly is turned on in your JIRA instance. It is disabled by default due to security concerns. You can turn it on by setting the jira.jelly.on
property to true
.
You can set the property by adding -Djira.jelly.on=true
into...