
In a previous article, I shared an example of my Jira Code, Snippet, and Example Library as a place to edit, label, and organize reusable Jira code. I store frequently used JQL statements in Confluence pages so end users can reuse them and cut and paste them for their search needs. I also document automation rules, their smart values, and any JSON code for safe-keeping and so other admins don’t have to build their rules from scratch. I even store snippets of custom code I’ve written to use with popular apps like Adaptavist’s ScriptRunner for Jira.
Jira is super powerful and customizable, but sometimes you need additional abilities. That’s where apps like ScriptRunner really shine. I use it to bulk clone issues, fix issues missing resolutions, add custom capabilities to workflow transitions, or run one time use or scheduled jobs like updating custom fields, calculating story points, or sending special notifications. When you add scripting to Jira, your abilities are endless!
But with additional complexity comes additional risk. How do you protect those scripts? How will you deploy, rollback, or move them between multiple environments? My manual Confluence documentation is better than nothing, but it’s embarrassingly low-tech. Instead, your code should be checked into a code repository and be part of your overall Jira change management process. Luckily, Salto recognizes the need to protect additional configuration settings like ScriptRunner code. With Salto, there’s no need for a manual and error-prone copy-and-paste process to move, update, or rollback scripts between sandbox and production environments. The Salto and ScriptRunner integration also enables you to compare scripts across multiple Jira applications or sites, so you can identify and manage any differences.
Looking to make custom scripts part of your Jira change management process? Check out my article on Salto’s website for examples and instructions.

Read: Managing ScriptRunner Scripts Like Code with Salto
Learn how to protect, manage, and deploy your ScriptRunner for Jira scripts using Salto.