Hello everybody. I try to integrate 2 instances of Jira via REST API and scriptrunner (create issues and make transitions) and a question is which authentication use basic or OAuth? I use HTTPBuilder to make requests and can't understand how to use OAuth in scriptrunner or may be basic is enough?
@aasfor HTTPBuilder that uses `Signpost` internally I suggest you use, BASIC authentication for simplicity.
The reason I am suggesting this is because you will face issues like `signature_method_rejected`. This can be resolved, but BASIC Auth is simpler, and since your trusted by both Jira there is no harm using it.
@aasCheck this out - https://stackoverflow.com/questions/39529599/groovy-jira-oauth-integration-using-httpbuilder (it has solution of 'signature_method_rejected' issue)
And also look at this documentation ScriptRunner provide Unirest library - https://scriptrunner-docs.connect.adaptavist.com/jiracloud/#_unirest
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events