Is there a way to add leading zeros to the generated JIRA issue number

Jeannine Hooper-Yan March 22, 2016

Is there a way to add leading zeros to the generated issue number so we can get a numeric sort over the text field?  Example:  PRJ-0001 instead of PRJ-1

2 answers

1 accepted

2 votes
Answer accepted
Robert Massaioli _Atlassian_
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 22, 2016

If you just want to sort it correctly then it is important to note that the JQL:

order by key

Will work on numerical ordering as expected.

0 votes
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 22, 2016

No.  You would need to rewrite a load of the core code to do it, and quite probably, some of the add-ons.

Suggest an answer

Log in or Sign up to answer