Jira Development Panel - Create Branch Settings

Amanda Barber
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
August 3, 2023

I have a few questions about the development panel in Jira. We have it set up and working well with the GitLab app. However, I'm wondering if there's a way to set the "Create Branch" button to follow the same naming structure that we have set up within "create and checkout new branch." Additionally, it would be best if everyone followed that same naming structure, so we'd ideally set that at an org or team level.

Also, is there any way to set a default repository?

Amanda

2 answers

0 votes
David Muller October 13, 2024

I'm wondering if there's a way to set the "Create Branch" button to follow the same naming structure that we have set up within "create and checkout new branch." Additionally, it would be best if everyone followed that same naming structure,

Hi @Amanda Barber , for the specific part of your question about creating a standard naming structure for branch names that is shared for everyone in the system...I've also wanted the same.

It would be nice if Jira's Development Panel natively supported sharing a common git branch name template, but it doesn't seem to.

I created a Jira cloud app that allows you to copy a customized template of text by clicking a button that appears on the issue view. For example, you can create a custom button allows you copy a branch name to your clipboard that follows a template like `<assigneeName>/<issue-id>-<summary>`:

Screenshot 2024-09-16 at 8.03.44 PM.png

Clicking the above button would copy text like `david-muller/proj-1-fix-bug-in-app` to your clipboard. You can include issue data like the issue key, issue summary, issue assignee, current user, etc. :

Screenshot 2024-09-16 at 8.18.06 PM.png

You can also use modifiers to, for example, dynamically remove whitespace characters, get user initials, or lowercase text before you copy it.

Importantly, everyone on your team can use the same branch name template + button so that everyone shares the same style.

The app is called Copy Issue Link and you can find it here: https://marketplace.atlassian.com/1225783 

Check out the app, and let me know what you think. Thanks!

Amanda Barber
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 16, 2024

Thanks, @David Muller - sadly, the app is a bit out of our budget and my team has a pretty good workflow in place without it. It looks useful though!

0 votes
archie September 29, 2023

This does not answer your question but I have a related question for you if you don't mind. Are you using Jira server edition or Jira data center?

 

We are using server and can't get to the Create Branch button to show

 

Thanks!

Amanda Barber
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 16, 2024

Sorry, I never got a notification about this. We use Jira Cloud, @archie 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events