Hi,
I have a REST API(Post) with basic authentication written in Groovy code.How to convert it to OAuth 2 authentication. How should I change the Groovy code? Is there an example?
Regards
GG
Hey @GG, you could create a generic application link with OAuth in Jira to make REST requests using ScriptRunner. For examples and more details on how to set that up, see https://docs.adaptavist.com/sr4js/latest/integrations/atlassian-products/via-app-links.
Thanks for your response.
Is it possible only through the application link? Both software should be HTTPS?
Can not be done by changing the existing Groovy Script?
It looks like you're new here. Sign in or register to get started.