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

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 Join to answer
Community showcase
Piotr Plewa
Published Dec 27, 2017 in Bitbucket

Recipe: Deploying AWS Lambda functions with Bitbucket Pipelines

Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda&nbsp...

663 views 0 4
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot