When the customer creates a request and enters a value in a custom numeric amount field, I would like to ensure the value presents with a decimal followed by 2 digits. I tried to edit the value with an edit field automation issue.amount.format(###,###,###.##) but that did not work. If the user enters 100 I would like to present 100.00 after the issue request is saved or even format the field after they move to the next field. Any suggestions? Thank you.
In Jira, the number format field should already default with 2 decimal. I would recommend you to verify if your custom field was associate with the Number Field format type or not.
If it is created using the Number Field format type, it will always carries the 2 decimal points (i.e. Entered 100, it will display as 100.00).
Hope this helps.
Best, Joseph Chung Yin
Jira/JSM Functional Lead, Global Infrastructure Applications Team
After further analysis on my end, it looks like you will have to adjust a configuration (.vm) file for your Jira system to achieve what you wanted.
Take a look at the following posting - https://confluence.atlassian.com/jirakb/how-to-display-a-different-format-for-the-number-customfield-658735503.html
Hope this helps.
On October 20, 2021, Atlassian published a security advisory for Jira Service Management. The full advisory is available at this link. We've seen a number of questions already asking for...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events