How can I preserve the leader zero in a JIRA number custom field?

Greg Warner May 16, 2013

I'm performing an import from a csv using the jelly runner. Is there a way I can maintain the leading zeros in a number field? Is the only option to use a text field?

1 answer

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.
May 16, 2013

No, because numbers, by their definition, do not have leading zeroes. A number padded with unnecessary zeroes is a string. (How would a compute know how many zeroes to pad any given number with? Do you pad numbers with 0's in real life?)

You do have options though - find or write a field that holds numbers, but displays them with your padding

Suggest an answer

Log in or Sign up to answer