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

JIRA workflow triggering stash branch creation

Uday Kumar May 5, 2015

I see stash actions updating the JIRA workflow.

When developer moves the ticket to start implementation why the automatic branch creation is not there?

2 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
Uday Kumar May 5, 2015

@Jobin Kuruvilla [Go2Group] : 

I did watch this video (https://www.youtube.com/watch?v=M-u8-Ga6if0). Good to see JIRA is identified as single source of the truth. But at 13:58 min of the video it has been mentioned that Engineers day starts with writing code. That to me is absolutely wrong. Engineers day starts understanding what he has to deliver today by looking at JIRA.

In Agile ( / traditional ) world, Developer checks what he needs to develop in JIRA agile board (normal ticket) and click start progress of the issue on which he would like to start development. Ideally this is where the branch needs to be created in stash.

Wondering it was designed the other way. Not sure if Atlassian has done any research around this. Do you know the reason why it has been the other way? If you can connect me to some one who can provide clarity even that would be great.

After checkin, pull request generation usually done from stash. Now the action triggering JIRA workflow change is quite understandable.

Jobin Kuruvilla [Adaptavist]
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.
May 6, 2015

When they say "Engineers day starts with writing code", it is understood that they have read the design and has already started to work on the issue ;) And you are right that they "actually" start by looking in JIRA to find what he is going to work on. Since the automated action happens only one way, you will have to adapt to a process that works with that. When an engineer is ready to start code, they can click on create branch and that can trigger the issue to "In Progress". They do not have to "start progress" and then "create branch". Technically, JIRA and Stash are two products and triggers are a feature of JIRA. It might introduce "automatic branch creation" in future!

Uday Kumar May 6, 2015

@Jobin Kuruvilla [Go2Group] : Do you the know root of the design on why it is only Stash way? Some one from Atlassian shall be able to answer. Do you know that automatic branch creation is in the Atlassian roadmap?

0 votes
Jobin Kuruvilla [Adaptavist]
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.
May 5, 2015

Currently the integration is only the other way - Stash triggering JIRA workflow transitions. You can easily write a workflow post function that creates a Stash branch, with pre-defined values, but that will need some dev work.

By default, you will have to use the 'Create branch' option and do it manually.

TAGS
AUG Leaders

Atlassian Community Events