Hey,
I'm trying to send a rest call (GET) from JIRA with ScriptRunner plug-in to get some details on the issue.
I do it from JIRA interface so that why I want to do it without inserting basic auth to my code- use JIRA auth.
Please help!
Thanks!
Hi @Neta Elyakim,
I don't think that is possible because JIRA’s REST API is protected by the same restrictions which are provided via JIRAs standard web interface. This means that if you do not log in, you are accessing JIRA anonymously.
So try to get the authentication from your JIRA interface (which seems to be additional work) and add to your request..or simply add the basic auth into your code
Hey,
Thank you for your response but the rest is sending within Jira interface (with ScriptRunner) meaning that I have to log-in in order to run the request.
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
That is what I mean when I asked- send the rest without basic auth - I assume that it required from me to take the basic auth in a generic way.. but I don't know how to do it :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.