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
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?
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.
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.