Use the ScriptRunner Migration Agent
Analyse a script
You can use the ScriptRunner Migration Agent to convert a Data Center to Cloud script if the feature is supported. When you choose to analyse a script, the ScriptRunner Migration Agent:
- Analyses your script.
- Determines what is possible in Cloud.
- Creates a Cloud script.
- Iterates until no compilation errors remain.
The script is saved in the project it is assigned to. You can come back to the Migration Agent to deal with any error handling.
Answer queries
You can use the Migration Agent to answer questions about the product. When you send a question, the Migration Agent:
- Determines what is possible in Cloud.
- Creates a Cloud script.
- Iterates until no compilation errors remain.
You can come back to the Migration Agent to address any error handling.
Example: Advanced usage/report creation
If you used the Migration Agent to answer multiple queries and create scripts, you can generate a report at the end of the chat process. Use and adapt the following example prompt to create a detailed report:
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 EnhancementsFor in-depth information about the agent, visit the FAQ and learn about how ScriptRunner Migration Suite outperforms generic AI in Cloud migrations.