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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


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
Community Members
Community Events
Community Groups

Creating a release branch on sprint end

I am relatively new to jira and the automation it allows. I currently setting up a trigger to kick off a task when I end the sprint to create a release branch off of master.

What I am wanting to try and do is have jira/bitbucket automatically create this release branch for me, if it is possible, when I end the sprint. It would also be cool if it could automatically update the version as well, but that could just be a pipe dream. I have been googling around and cannot seem to find anything saying you can or cannot.


Our setup basically has a master branch: when an issue is created, they branch off master, do the work, create a pull request, and it gets merged back into master. When the sprint ends, I create the release branch off of master to have a historical static entity of what work was done up to that point and to give a point to build off of to send out to the customers for testing on their end.

2 answers

1 vote

Hi @Zach Smith

Here's some quick links to working with BitBucket in Automation for Jira. You'll find Automation in your Project or Global Settings.

Hope that helps!



@Charlie Gavey Are these Bitbucket actions work with Jira Server, as that's the deployment type this thread was labeled with?

It seems to me that the articles you link apply to Jira Cloud only. Am I missing something?

0 votes

Automation for Jira doesn't offer dedicated actions for Bitbucket.

But, because the AFJ framework is extensible, do this:

  1. add a Groovy script execution action to the automation rule (this app extends the set of built-in actions with the "Run Groovy script" action)
  2. from the Groovy script, create a branch through the Bitbucket REST API

(Discl. The recommended app is developed by my team. It is paid, supported and offers a solution where the built-in capabilities are not sufficient.)

Suggest an answer

Log in or Sign up to answer