When using ScriptRunner for Jira Cloud, it's worth establishing some good practices from the outset.

  • Scripts should always be tested in the Script Console on a sandbox instance. This will avoid disrupting live users and means scripts are used and tested in the sandbox before being used for creating customizations in your live Jira Cloud instance.
  • It is beneficial when working in ScriptRunner to use a version control system, such as Git, to save scripts along with their versions. This ensures you can access those differing code versions if you encounter problems immediately.
  • Understanding how to verify scripts, review event logs and check analyses are also beneficial. You can access these elements of ScriptRunner for Jira Cloud via the Ellipsis icon next to the Settings button, or if preferred, via the left hand menu.