We are working on a requirement to trigger a bamboo build plan from JIRA on an issue transition. We like to use CURL function via a scriptrunner plugin for this but we don't want to mention the bamboo user password in the script in JIRA workflow.
example -
curl -X POST -u admin:password http://bamboo-host:8085/rest/api/latest/queue/PLAN-KEY?os_authType=basic&<JIRA field name>=<value>
Is there any way via applinks to authenticate the request if the user who does the transition in JIRA and if the same user has 'Run' access to the Bamboo build plan, JIRA and Bamboo are authenticated to trigger the build?
OR
is any other way to hide the password in curl method?
Hi!
You can use tokens
https://confluence.atlassian.com/bamboo/personal-access-tokens-976779873.html
Also, maybe you need update Bamboo :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.