Create Branch should strip out invalid characters characters

XMLWordPrintable

      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.

            Assignee:
            Unassigned
            Reporter:
            Stephen Rees-Carter
            Votes:
            1 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: