Is there a way to globally search for Scriptrunner scripts containing a specific word or phrase? In this case I'm looking for some deprecated methods.
We have to upgrade to Jira 9.0 but there is a long list of methods that have been deprecated and removed from the 9.0 build, causing some of our Scriptrunner scripts to fail (our instance is too complicated to try testing each script's functionality).
I searched from the server command line for any files that contain one of the method names but found that unless it's in the "Script Editor" (and therefore a stand-alone .groovy file) there is no way to know where a found script lives (i.e. is it a behaviour, a listener, a job? If so, which one?). Phrases unique to a single listener script returned multiple .class file hits with no indication of how they mapped to a script in the Scriptrunner interface.
Since Jira upgrades with deprecated/removed methods are not uncommon, I can't imagine I'm the first to run into this.
Double bonus points if there's a way to search for the entire list of methods, rather than one at a time.