Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,361,259
Community Members
 
Community Events
168
Community Groups

Hide credentials information from script.

Edited

My script will require to make API call to a confluence server from Jira. Currently, I am using basic auth and my credential is in the script itself. 

What is the best way to hide the credentials in the script or if there is a method not to use basic auth to connect to our confluence server? 

 

On ScriptRunner for Jira.

1 answer

Hello Sammy, you could use Jira Application Links functionality for creating API from Jira to Confluence. In this case you dont need to use basic auth.

https://scriptrunner.adaptavist.com/latest/confluence/interacting-with-other-apps-via-applinks.html

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira

Online AMA this week: Your project management questions answered by Jira Design Lead James Rotanson

We know that great teams require amazing project management chops. It's no surprise that great teams who use Jira have strong project managers, effective workflows, and secrets that bring planning ...

205 views 1 6
Read article

Atlassian Community Events