Details
-
Bug
-
Resolution: Duplicate
-
Low
-
None
-
2.11.2
-
Atlassian Stash v2.11.2, running on Ubuntu 12.04.
Description
The Create Branch form should automatically strip out *all* invalid characters from the automatically generated branch name from a JIRA issue. Currently it only does some characters.
For example, let's look at the following issue summary:
Import new Objective Sets.
It turns this into a branch name like:
bugfix/SS-109-import-new-objective-sets.
Notice the . on the end. This is an invalid character and the following error is thrown:
'bugfix/SS-109-import-new-objective-sets.' is an invalid ref name
Given the known limited character set for branch names, it should be easy to strip out everything else.
Attachments
Issue Links
- duplicates
-
BSERV-4961 Creating branch in JIRA leads to invalid ref name in STASH.
- Closed
- is duplicated by
-
JSWCLOUD-14875 Git branch names suggested by JIRA include disallowed characters
- Closed
-
JSWSERVER-14875 Git branch names suggested by JIRA include disallowed characters
- Closed
- is related to
-
BSERV-4961 Creating branch in JIRA leads to invalid ref name in STASH.
- Closed