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.
Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG