Forums

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

Connecting to external URL through Jira ScriptRunner

Diksha Krishnan
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 28, 2024

Hello,

 

I wish to connect my Jira Scriptrunner environment to Azure Portal and pull the secrets from Key Vault. Could anyone give me and example or a method I can refer in order to establish this connection?

1 answer

0 votes
Kristian Walker _Adaptavist_
Community Champion
February 28, 2024

Hi Diksha,

Thank you for your question.

I can confirm that it is possible to write scripts that would interact with an external application such as Azure, as long as the application contains a REST API which can be called to interact with it.

We have an example in our library script, which you can use as a reference guide when writing a script to make external requests.

In order to achieve this requirement, you should review the REST API documentation for the external application in order to see what REST APIs you will need to use to achieve this.

We would advise contacting the third-party applications support team if you have any questions about how their third-party API works.

We have a documentation example located here which shows how you can post a message to Slack and this example may prove a useful reference in helping you to create the script that you require, as it shows an example of making an API call to an external REST API.

Finally, I can confirm Atlassian does not permit our app to access any of the private REST APIs they provide and means we are only allowed to access the public APIs they provide when calling the Jira Cloud API but for external APIs you can call them and can use the steps above to do this.

I hope this information helps.

Regards,

Kristian

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events