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,


Suggest an answer

Log in or Sign up to answer
Community showcase
Published Thursday in Bitbucket Pipelines

Building a Bitbucket Pipe as a casual coder :  #!/bin/bash source "$(dirname "$0")/" enable_debug extra_args="" if [[ "${DEBUG}" == "true" ]]; then extra_args="--verbose" fi # mandatory variables ROLLBAR_ACCESS_TOKEN...

202 views 0 12
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