Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Trigger bamboo build from JIRA issue transition

Mohan L May 18, 2022

Hi All,

I am able to trigger bamboo build using below command. 

curl -X POST -u test:test -d "stage&executeAllStages" -d "bamboo.variable.var1=value1" -d "bamboo.variable.var2=value2" http://xxx.xx.xx.xx:8085/rest/api/latest/queue/DEV-TES.json

 

Is there a way to do the same in jira webhook? or Is there any way to pass JIRA id as param?

 

Thanks

Mohan

 

1 comment

Mohan L May 20, 2022

Hi All,

I have created a dummy plan variable jira_issue_key on bamboo, configured the below in jira webhook and it is working fine.

http://test:test123@xx.xx.xx.xx:8085/rest/api/latest/queue/DEV-CDTES?os_authType=basic&bamboo.variable.jira_issue_key=${issue.key}

I used username and password but I want to use personal access token instead of username and password.

How to use personal access token instead of basic auth?

 

Thanks

Comment

Log in or Sign up to comment
TAGS
AUG Leaders

Atlassian Community Events