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,299,390
Community Members
 
Community Events
165
Community Groups

Trigger bamboo build from JIRA issue transition

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

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

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you