Version Control
For large instances with multiple administrators, we recommend you establish a version control system (VCS) to maintain your ScriptRunner scripts. Maintaining scripts within a VCS records changes to individual scripts over time, allowing you to revert changes and access old script versions if needed. When troubleshooting, the VCS history may contain meta-information on why a particular change was made, when it was made, and who initiated the change.
Below is an example strategy using the popular VCS Git for maintaining script versioning across your instance.
Note: This is a suggested workflow. As each instance is unique, administrators should implement a strategy that works for them.
CAUTION: We assume readers have a basic understanding of a Git workflow and familiarity with a command-line interface.