Details
-
Suggestion
-
Resolution: Unresolved
-
None
-
None
Description
Jira names stories as PROJECT-<number>. It is a good practice to name matching development branches as PROJECT-<number>_<some description>
In the list of branches those branches are in alphabetical order of the entire string of a name.
- PROJ-1
- PROJ-10
- PROJ-11
- PROJ-2
- PROJ-20
- ...
- PROJ-8866
- PROJ-8867
This order is not logical and when corporate repository has few thousands branches, it is keeping the latest most likely active branches ( e.g. PROJ-8867 )very far down
I propose to sort branches treating their names as a set of 3 fields
- <project> - ascending
- <number> - descending - it would place work on more recent Jiras on top
- <rest of the text> - ascending
In this case branches from the list above would be sorted as
- PROJ-8867
- PROJ-8866
- ...
- PROJ-20
- PROJ-11
- PROJ-10
- PROJ-2
- PROJ-1
Now branches are really in proper order and newer branches are easy to reach on top.