Exploring scripting in Jira Cloud
ScriptRunner for Jira Cloud enables you to create automations in response to events that occur in Jira, such as when an issue is created or updated, among others. It also has an escalation service, which allows you to perform a scheduled action against a list of issues provided by a JQL query.
ScriptRunner also provides the ability to run scripts at scheduled intervals. This differs from the escalation service in that it does not require a list of issues on which to perform actions, allowing you to perform tasks such as creating issues on a recurring basis.
In this section, we'll take a high-level overview of how the Jira Cloud API works and then recreate the Incident priority matrix example from Chapter 2, Automating Jira Issues, to understand how to write automations using scripting.
Understanding the Jira Cloud API
In order for an app to integrate with Jira Cloud, it needs to be built using the Atlassian Connect framework. This...