Creating multiple branches from JIRA

Paul Jeffreys August 3, 2017

Currently I have a "Create Branch" link which allows me to create a branch in stash for a given repository.

We are looking to move to a development cycle that will require us to create a branch for every repository for a given ticket.

For Example:

feature-JIRA-ticket-1 will require a plan branch in:
    - repository-1
    - repository-2
    - repository-3
    - repository-4
    - repository-5
    - repository-6
    - repository-7
    - repository-8
    - repository-9
    - repository-10
    - repository-11
    - repository-12
(I know over architected and messy, but that`s what we inherited)

Currently I would have to use the "Create Branch" button for each repository 1 at a time.

Is there a way to run something that would create the feature-JIRA-ticket-1 branch in EVERY repository in 1 go and still have them communicating through JIRA, Stash & Bamboo?

Hopefully that all makes sense...

1 answer

0 votes
Boris Berenberg - Atlas Authority
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 3, 2017

Maybe a git hook with a script in repo 1 that says if you branch, it should do the same in all the other ones?

Paul Jeffreys August 3, 2017

Thanks, will look at trying that :)

Tomas Arguinzones April 29, 2019

Hi @Paul Jeffreys  were you able to implement this? I need to do exactly the same.

Thank you

Suggest an answer

Log in or Sign up to answer