Hey there, I need some help here, I have a plan with two stages in my bamoo server.
My commits is in the format of "JIRA-ISSUE-KEY message"
I have a trigger detecting code changes in the first stage
So I wonder if there's a way to parse the JIRA-ISSUE-KEY as a vairable and pass to the second stage
This is actually not exposed as a build variable in Bamboo and it seems this will not be implemented because of added complexities if a single build comes with hundreds or thousand of commits as stated in the improvement request https://jira.atlassian.com/browse/BAM-11958
Two things you could do as thus:
1. Write a script task to get the commit messages from the repository and then find a way to extract the keys
2. Write a script task that will do some REST API calls to retrieve the commit messages
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG