I am looking for the source code for the "Switch to a Different User" script. You used to be able to access the source code from the plugin UI. It seems that option is no longer available. Is there a repo somewhere I can pull the code from ?
You can find this in the JAR file of the plugin after unzipping it. They should be *.groovy files.
The one you mention is under com/onresolve/scriptrunner/canned/jira/admin/SwitchUser.groovy
On an additional note, if you find an example you like and want to tweak it a bit and have it picked up automatically by ScriptRunner just rename the class and file name to something different and place it under one of your script roots in the corresponding directories which match the package name: <script-root>/com/onresolve/scriptrunner/canned/jira/admin/ for this example.
Same approach with listeners etc.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.