Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to authenticate to an external API

josip gomez July 29, 2021

hello everybody,
I am using Jira Service Management installed on a server. I need to send information to an external API when a ticket is closed. For doing that I need to use another API for getting the token to access the external API.
I’m wondering how to do that. I was thinking to install ScriptRunner app, but I’m looking for other methods, preferably using a functionalities already present in Jira software, but I think that it is not possible.
Thanks in advance,
Josip

1 answer

1 accepted

0 votes
Answer accepted
Mohamed Benziane
Community Champion
July 31, 2021

Hi,

If you need to make a call to an API to get the token then an another call to the external API i think you will need Scriptrunner or a job using the Jira REST API using the language you want (Python, curl, JS...)

Without this need of get the token you could try the webhook, the only negative thing with the webhook is you never know if you call succeed or not.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events