How can dictator- lieutenant workflow be achieved in atlassian stash?

I would like all the develop teams in my organization to follow dictator-lieutenant workflow, how can this be achieved in Atlassian stash.

1 answer

1 accepted

This widget could not be displayed.

Hi Ken,

I would suggest there are two ways to achieve this workflow in Stash.

1. Fork based. A dictator would be the only person permissioned to write to the core repository. Lieutenants would have their own forks, when they the think the code is ready to go the lieutenant would create a pull request from their fork to the core repository for the dictator to review/approve. Regular developers would follow the same method submitting from their forks to the lieutenant's fork.

2. Branch based. In Stash you can restrict writing to certain branches. So again you can have a set of core branches (master, develop, production etc) owned by the dictator and a set of feature branches owned by lieutenants (feature/user-management etc) with developers creating their own story branches (JIRA-123/user-picker).

The keys features of both are controlling access via permissions at the repository/branch level and creating pull requests to promote your work to the next level.

Personally I feel that the branch based model is easier to work with and understand.

Hope that helps,

Tom

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Aug 21, 2018 in Bitbucket

Branch Management with Bitbucket

As a project manager, I have discovered that different developers want to bring their previous branching method with them when they join the team. Some developers are used to performing individual wo...

1,303 views 8 11
Read article

Atlassian User Groups

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!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you