Migrate to Cloud Using the ScriptRunner Migration Suite
This page will help you plan and accomplish your migration from Data Center to Cloud, using the ScriptRunner Migration Suite. The following steps of a migration plan are outlined for you, including links to resources from Atlassian, ScriptRunner, and the ScriptRunner Migration Suite:
- Before you start
- Install ScriptRunner for Jira Cloud
- Prepare your instance
- Rewrite your scripts
- Migrate your data
- Test your data
- Train your team
- Go live
- Need help?
Before you start
Before you start your migration, review Atlassian's Cloud Migration Guide and prepare our Jira instance according to Atlassian's recommendations. You can also review the full ScriptRunner for Jira Migration Guide for Cloud.
Key takeaways
Scripts between ScriptRunner for Jira Data Center and Cloud are different. Please review the following resources for more information:
The Script Registry for Data Center and the Script Manager for Cloud are similar features for ScriptRunner for Jira, but they function differently. Pease review the documentation to learn more about them, if needed.
Learn more using the ScriptRunner Migration Suite
As a reminder, the ScriptRunner Migration Suite is made up of three tools:
- ScriptRunner Migration Analyse and Assess Tool: A tool to analyse your current instance. Upload an export of your scripts and receive a full readiness report, including Cloud alternatives and rewrite guidance for every configuration in your instance.
- ScriptRunner Migration Agent: An AI assistant loaded with migration knowledge. Ask it questions about platform differences, script rewrites, and migration planning at any stage of the process.
- ScriptRunner Dev and Deployment Tool: A standalone tool that lets you store your rewritten scripts in a code repository and deploy them to ScriptRunner Cloud without manually recreating each configuration in the UI.
We will also use the Script Registry from ScriptRunner for Jira Data Center that gives you an export of your scripts and configurations to use with the Assess and Analyse tool.
You can ask the ScriptRunner Migration Agent questions about your ScriptRunner migration at any point!
- "Which ScriptRunner features work differently in Cloud?"
- "What is Enhanced Search and how does it replace my JQL functions?"
- "What do I need to rewrite when moving to Cloud?"
These are just two examples of what you can ask the Migration Agent. It's loaded with content to help you understand the difference between platforms and how to prepare for your migration.
Use the ScriptRunner Migration Analyse and Assess Tool to understand your instance and the scripts that you have. Upload the export of your instance and start reviewing your reports to learn about your instance's readiness.
Install ScriptRunner for Jira Cloud
Prepare your instance
You are ready to start preparing your instance!
Back up your instance
Back up your current test ScriptRunner Data Center environment, including all scripts and configurations.
Export your scripts using Script Registry
You may need to update ScriptRunner for Data Center before migrating for the feature. Check the Version History on Marketplace to ensure you're getting the most recent version of ScriptRunner for Jira Data Center to get the full analysis.
Use the Script Registry feature in ScriptRunner for Jira Data Center to export all scripts and configurations of your instance that you want to migrate to your Cloud instance. When you export your instance, it is stored as a local copy. You will need this to use the ScriptRunner Migration Analyse and Assess Tool in the next step.
Review your scripts using the ScriptRunner Migration Suite
Use the Analyse and Assess Tool to review your exported scripts and decide what is still needed. Data Center instances often accumulate legacy scripts, duplicates, or configurations tied to deprecated workflows over time. Removing or consolidating these now means less work in the rewrite phase and a cleaner Cloud instance. The Analyze and Assess Tool to tell you what old scripts that may not be in use anymore do.
Fragments and REST Endpoints are not available in Cloud, so they will always be red in reports. Learn more in the Feature Parity guide.
Use the Audit Your Jira Instance Using ScriptRunner page for a checklist that guides you through auditing parts of your ScriptRunner for Jira Data Center.
Make sure you have a new version of your export here that includes all scripts.
Create your migration strategy using the ScriptRunner Migration Suite
With the insights gained from reviewing and evaluating your scripts, develop a comprehensive migration plan using the ScriptRunner Migration Agent. This plan should include:
Use the Migration Agent to write a strategy report
Paste this into the ScriptRunner Migration Agent for a concise report about your migration:
Consolidate the outputs of this process in to a single report, you can iterate over this report to produce the highest quality. The different sections should be clearly outlined. Wiki markdown can be used for tables. Use the following sections as a template but add other sections as appropriate. Provide an index at the top to enable quick access to different sections do not use the section numbering below but retain the hierarchy.
1. Migration Analysis Summary
a. What the original script does
b. Overview of key migration challenges
c. Migration strategy
2. Refactored Cloud script as a code block
3. Implementation Guide
a. Important Notes
i. Custom Field IDs
ii. JQL Query changes
iii. Permissions
iv. Any other notes or further customisation requirements eg replacement of unique IDs in the
script.
b. Deployment Steps
c. Details of any manual adjustments still required
d. Testing Recommendations
4. Original data centre script as a code block
5. Data Center vs Cloud Migration Comparison
a. Original Data Center Script Issues
b. Key Improvements in Cloud Version
c. Migration Benefits
6. Key changes Made
a. Removed Data Center Dependencies and where have HAPI Methods been used
b. Improved Error Handling
c. Automatic Benefits
d. Before vs After Comparison
7. Optional EnhancementsRewrite your scripts
Migration from Scriptrunner for Jira DC to ScriptRunner for Jira Cloud requires your scripts to be rewritten because the APIs and programming models differ significantly between Jira Data Center and Jira Cloud. The ScriptRunner Migration Suite is built for this! Before you get started, make sure you have that export using Script Registry that you created after auditing your instance.
Analyze all scripts in your instance
Follow the steps on the Use the Analyse and Assess Tool page to upload and analyze your scripts. In the analysis, you receive:
- A readiness report: Scripts and configurations are grouped by features (listeners, workflows, etc.) and individual configurations.
- Cloud pointers: When there is no parity for Cloud, you can see what alternatives exist, including links and identifiers for Cloud options (like HAPI or REST endpoints). Using these pointers, you can start rewriting with concrete next steps.
Bulk convert your scripts to Cloud scripts
Use Bulk Convert Your Scripts for the ScriptRunner Migration Analyse and Assess Tool to convert your scripts to Cloud scripts, with actionable steps for you to finish the rewrite. You can then export these to the ScriptRunner Dev and Deployment Tool.
Analyze a specific script
The Migration Agent will rewrite a single script for you to use in your Cloud instance. It will also provide an explanation and further steps that should be taken with the script.
Migrate your data
It's time to migrate your data into your Cloud instance! You can migrate your data either manually or by using the ScriptRunner Dev and Deployment Tool. The right approach depends on your instance size and how much manual effort you want to invest.
Manually migrate ScriptRunner
Recreate all your custom scripts and scriptrunner configurations in ScriptRunner for Jira Cloud. This approach is best for smaller instances with a manageable number of configurations.
Migrate with the Dev and Deployment Tool
ScriptRunner Migration Suite adds a second option for you with the ScriptRunner Dev and Deployment Tool! Use this tool to organize and deploy ScriptRunner Cloud scripts. It is focused on making it easier and faster for consultants and developers to migrate, test, and deploy scripts from ScriptRunner DC to Cloud. This approach is best for larger instances or teams who want repeatable, version-controlled deployments.
You can use the Dev and Deployment Tool to deploy to a test instance first to test the scripts.
The Dev and Deployment Tool gives you a place to save your script code and their configurations and a way to deploy that code to ScriptRunner in your Atlassian Cloud site without having to manually point-and-click through the UI. This is helpful if you have a lot of scripts, particularly if you want to test them in a separate instance before deploying them to production.
To use the Dev and Deployment Tool, we assume you can do a few fairly technical things:
- Use Git, at least a little, to manage code. It's totally fine if you use tools like SourceTree or your IDE to make this easier for you.
- Run commands using an IDE like IntelliJ IDEA or via a terminal or command line. We'll tell you which commands.
The Dev and Deployment Tool works by running Gradle tasks to send your script code and configurations to ScriptRunner Cloud. You don't need to know anything about Gradle or how it works to use the tool, as long as you can run the commands described in the documentation here.
Test your configurations
Make sure to test the full behavior of each migrated component, not just that scripts run without errors. Test the following:
- Verify that listeners fire on the correct events
- Workflow post-functions and conditions behave as expected
- Behaviours apply correctly on the right screens
- Scheduled jobs run on time
- Enhanced Search returns accurate results
How ScriptRunner Migration Suite can help
Once you determine what you want to test, the ScriptRunner Migration Agent can help you test your new instance out.
Describe what a script does and ask, "What test cases should I write to validate this script has migrated correctly?" for tailored test case suggestions.Train your team
The next step is to train your team!
Admins
Make sure your Jira admins are familiar with the ScriptRunner for Jira Cloud interface, the differences in how scripts are written and managed, and that not every script can be migrated to Cloud. Refer them to the ScriptRunner for Jira Cloud training to get started. Things to know:
- How do you report when a script doesn't work as it did in Data Center?
- How do you troubleshoot problems?
End users
Users who write JQL queries are most affected by the move to Enhanced Search. Provide training on the new keyword-based syntax and make sure they know who to contact if a previously working query no longer behaves as expected.
How ScriptRunner Migration Suite can help
The ScriptRunner Migration Agent can help you create a plan and materials to help train your team. Ask:
Can you help me create training materials and a communication plan for my team's migration to Jira Cloud?" for audience-specific training content and communication templates.Go live
Alongside your JCMA migration plan, after thorough testing and team training, you're ready to go live with your migrated ScriptRunner for Jira Cloud instance. Before cutting over, make sure to:
- Notify all users of the migration date and what to expect.
- Test your rollback plan.
Document the conditions that would trigger a rollback and confirm how quickly your Data Center environment can be restored if needed.
Once live, monitor the performance of your instance and your scripts. Keep an eye out for any unexpected behaviors in workflows, searches, and scheduled jobs. Encourage your team members or admins to report any issues promptly.
If your Data Center instance is still live, consider adding a banner message to redirect users that navigate there instead of your new Cloud instance.
Need help?
If you have a question, try asking ScriptRunner Migration Agent! It can help with any migration question at any stage of the process. If you need further help, please reach out to support for assistance!