I am trying to do automatic dependency management using Grapes. The dependencies are to be cached on Jira startup. For that purpose i have created in Scriptrunner Script Editor package called "startup" with script "RunOnStartup"
The intended behavior of the grabs works only when a user with SysAdmin rights runs them.
Using logging I have found that upon startup of Jira, the script does get executed, however, currentUser was null when i tried to retrieve it.
My questions is: With what rights does this script get executed? Is it same as SysAdmin? Or something else?
Thanks
Script content:
When it comes to script execution, it mainly requires a user with Jira Admin access.
If it is project specific, you could also try to set to a user with Project Admin permission.
I am looking forward to your feedback.
Thank you and Kind regards,
Ram
This script is executed automatically on instance startup.
When executed manually, it requires a SysAdmin user to launch it, lower admin accounts are insufficient for the Grabs to work.
My question is not what rights does a user need to execute the script, my question is with what rights does the script run, as it does not get executed by any user explicitly. It gets executed by the system when starting.
Thanks,
David
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.