Jira "Create branch" creates branch name too long for BitBucket Edited

We have Jira and BitBucket, 

I have a ticket in Jira of type "Bug" which has  a summary that is 162 characters long. 

When I hit the "Create branch" it brings me to the create branch dialog. If I just hit enter now, I get the error message "The ref name, once fully qualified, is limited to 100 characters", without any possibility to change the branch name. 

The only way out is cancel and start from scratch.

The name that is suggested (and is too long) IS shortened, tough, but to little. 

The summary is shortened to only 94 characters, but together with the "bugfix/" prefix, it is 101 characters. 

I assume there is a bug that the shortening mechanism did not account for the additional "/" in the prefix.

 

Update:

I just tried with a dummy ticket: (type story)

Name: "123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789" (149 characters)

Suggested branch name: RTA-5066-123456789-123456789-123456789-123456789-123456789-123456789-123456789-123456789-123456789 (98 characters)

Suggested prefix: "feature/" (8 characters)

That makes a total length of the suggested branch name of 106. 

1 answer

0 vote
Boris Berenberg Community Champion Nov 17, 2017

Sounds like a bug. I would file a ticket with Support and ask them to open a bug for you on Jira.atlassian.com 

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published May 21, 2018 in Jira Software

How large do you think Jira Software can grow?

Hi Atlassian Community! My name is Shana, and I’m on the Jira Software team. One of the many reasons this Community exists is to connect you to others on similar product journeys or with comparabl...

1,233 views 10 18
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