-
Suggestion
-
Resolution: Unresolved
-
None
-
None
-
1
-
Bitbucket Server version:Â v5.5.0
Jira version:Â v7.5.2
Browser: Google Chrome Version 63.0.3239.132 (Official Build) (64-bit)
I like to use descriptive names for my Jira tickets. Therefore it is not uncommon to have relatively long ticket titles. When using the Bitbucket integration to create a git branch from Jira, the branch type, project key, ticket id and ticket title together make up the branch name. However, since my branch names cannot be longer than 100 characters, I regularly get an error message like this:
 The ref name, once fully qualified, is limited to 100 characters.
That is fine, but in addition to displaying the error message the name after the branch type part is erased, which my colleagues and I find very annoying.Â
I want to suggest that you keep the name as it is and just display the error message and leave it to the user to either truncate or completely rewrite the automatically generated branch name. For improved user experience the remaining number of characters allowed can be displayed, or in red the number of characters exceeding the allowed length.
Â
Reproduction:
- Create a Jira project and a corresponding Git repository
- Create a Jira ticket with a long description (exceeding the mx branch name length)
- From the Jira ticket click "Create branch"
- Select "repository", "branch type" and "branch from"Â
- Leave the suggested "branch name" as it is
- Press the "create branch" button
Â
Actual result: An error message is shown and the branch name part after the branch type is erased.
Desired result: An error message is displayed and the (too long) branch name is retained. An indicator showing the number of excessive characters is displayed.