Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,293,930
Community Members
 
Community Events
165
Community Groups

Is it possible to restrict the Create Branch option to certain issue types in Jira Cloud?

Hi there

 

We made a recent change in our workflow where began using Sub Tasks but have encountered a few issue with the BitBucket integration. 

When a branch is created from a sub-task it isn't linked to the actual User Story. This means that, among other things, on the Releases page you can't see if there are any outstanding pull requests as branches/pull requests for sub-tasks don't display.

This means manually checking every sub-task of every story to confirm all pull-requests have been merged.

What we would like to do is only display the Development field (which has the Create Branch link) on Stories or Bugs thereby preventing our users from creating a branch from a sub-task.

I've explored the usual Jira config for this type of issue but everything appears to be locked for the Development field.

Is this possible in Jira cloud?

Any help is much appreciated.

 

1 answer

Yes, you can, I have solved this.

Solution is to have a dedicated workflow for subtasks (as usual) and on each state of the subtask workflow you set the property...

jira.permission.viewversioncontrol.denied

...and that's it. Then the development tools are not visible in any of the states anymore, but can still be seen/used on e.g. overlying issues with another workflow.

image.png

Source: https://support.atlassian.com/jira-cloud-administration/docs/use-workflow-properties/

Suggest an answer

Log in or Sign up to answer
TAGS

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you