Script Registry
The Script Registry allows you to search your ScriptRunner custom scripts, view type-checking errors or deprecation warnings, and export all scripts and configurations on your instance.
The Script Registry lists scripts, their type, content, and location. Each script undergoes Static Type Checking to ensure it is written correctly.
Access the Script Registry
To access the Script Registry:
You can also navigate to the Script Registry by selecting Built-in Scripts from the ScriptRunner menu and then searching for Script Registry at the top of the page.
Export
From the Script Registry, you can export all ScriptRunner scripts and configurations from your instance.
- All scripts within your script roots.
- All configured custom and built-in Jobs, Listeners, UI Fragments, REST Endpoints, Resources, and Macros.
- Custom fields.
It's important to note that even configuration-only elements are considered "scripts" for this export.
Export all scripts
When you select Export all scripts from the Script Registry, the following will be exported as a .zip file:
- All of your scripts from your script roots (as .groovy files).
- All of your configurations (as .json files).
- A .csv file containing all configured scripts in your instance (excluding script roots). This .csv file includes the following columns:
- ID: Unique identifier of the configured script.
- Type: Feature type of the script (for example, Listener, Job, Behaviour, etc).
- Name: User-defined name of the script.
- Associated Scripts: Number of custom scripts linked to this configuration.
- Last Run: Most recent execution date and time (if applicable).
If the export doesn't start automatically, please check your browser settings and try again.
Export active scripts only
You can select Export active scripts Only to make sure only active scripts are exported from your instance.
Any Disabled scripts will be filtered out from this export. This does not include scripts in your script roots; these will always be included in the export file.