Can you have automated status transition if code is split between 2 different repositories?

Larry Jennings September 19, 2014

I'm trying to understand how I can better utilize the automated workflow transitions between Bitbucket and Github back into JIRA. I am the Project Manager so unfortunately my development skills don't go to deep in this realm.

However, our developers are currently straddling the fence as far as where the repos are

Front End is based out of Github while the backend is based out of Bitbucket

I'd like to send a notification when a story has been deployed to our test box. However, if half the subtasks for a story are going to be pushed from Git Hub and the other Half from Bitbucket, is this possible? Or, do all subtasks need to be aligned to only 1 repository.

I understand that this could be the most poorly worded question in history, but I got to start somewhere.

Thanks!

P.S. does anyone have any higher level documentation about how JIRA, and Github work together besides the atlassian stuff? more layman type? thanks!

1 answer

1 vote
Jeroen De Raedt
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 3, 2015

Hi @Larry Jennings, 

a story covering multiple repos will most of the time not really work well if your workflow is set up to use automatic transitions. For example: if you set up to transition to Done when a Pull Request is merged - this can not cover the actual state since there are 2 pull requests. 

You might want to consider organising your work so there is 1 issue per work in a repo. For example: either 2 stories (one for each repo) or 1 story with 2 subtask (1 subtask per repo). 

Suggest an answer

Log in or Sign up to answer