Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 19:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Custom number field formatting issue

chamali Haveesha
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 13, 2025

Is there any way to do following in jira, when I type 

- 2 it saves as 02.00

- 2.1 it saves as 02.10

This should be updated on the same field when I save the issue. 

I could use a number field and then format the input to a text field, but couldn't do it on the same number field when issue is saved. 

 

 

{{triggerIssue.order number.format("00.00")}} and leaves only a space

1 answer

0 votes
Vishal Biyani
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 13, 2025

@chamali Haveesha 

Can you check with your JIRA Admin if there is some default formatting defined on the custom field that you are using?

Are you facing this issue when you manually add the value in this field?

chamali Haveesha
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 18, 2025

Can you check with your JIRA Admin if there is some default formatting defined on the custom field that you are using? There isn't 

Are you facing this issue when you manually add the value in this field? I add and save the issue, I need the the value I entered (2.6) to be like 02.60. 

 

Is there anyway to do this?

Vishal Biyani
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 18, 2025

@chamali Haveesha 

Try with and it will work for you. The asNumber forces JIRA to treat the value as number

{{triggerIssue.order number.asNumber.format("00.00")}} 

 

Suggest an answer

Log in or Sign up to answer