Exploring scripting in Jira Server
Similar to ScriptRunner for Jira Cloud, ScriptRunner for Jira Server allows you to create automations in response to events within Jira.
Unlike in Jira Cloud, however, you are able to create automations against a much wider range of events in Jira Server due to the fact that you have access to the full Jira API.
In this section, we'll take a look at the API available to scripts on the Jira Server platform. We'll then take another look at the incident priority matrix example so that we can more easily understand the differences between scripting between the platforms.
Understanding the Jira Server API
In contrast to the Jira Cloud API, apps written using the Jira Server API run in the same Java process as the core Jira application and therefore have full access to the underlying application via the public Java-based API.
ScriptRunner for Jira Server is an app built using the Jira Plugins2 (P2) framework. This framework allows...