You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
Is there a way to search through all ScriptRunner scripts to see if they contain a string value?
I've noticed that a previous developer hard-coded field values in some scripts. I need a way to ensure I do not break legacy code if I change the values of a Select List (single choice), for example.
Hi @Andrea Pannitti , below is the response from Adaptavist Support.
Than you for creating a support ticket with our team,
Unfortunately on ScriptRunner for Jira Cloud there is no straight forward way to achieve this, as we do not currently provide a report to generate a list of all these scripts and configurations in one central place as we do in the Server version with the Script Registry built-in script that it provides.
This means that the only way to get this information is to manually review your instance in order to check every location where you can configure the features provided by ScriptRunner.
Listed below is every location that you will need to check in order to be able to document all of these scripts. Please note for point 6 we have created a new Workflows page and on this, you will be able to click the ... icon next to each item and then edit it from this page in order to view the script inline which will save you some time as you won't need to need manually load and navigate through each workflow.
Steps to find out where ScriptRunner for Jira Cloud Scripts and Configuration is used:
We have a public-facing feature request to create a report to show where all scripts are used inside of our backlog here and I would ask you to vote on this request if you believe that is useful to your company.
Hi @Jacques B ,
you could call this rest in POST:
and then search your string in the json response.
Or, alternatively, look directly into the ScriptRunner Registry. You can found it in ScriptRunner Settings clicking on 3 dots.