Hi,
In one of our projects, we have numeric fields that may take a value between 7 to 10 digits.
This number is displayed correctly in the screen view, but when we automatically comment this number on the issue with the post function at one stage, the number is in scientific notation.
How to solve this problem?
Hi @Taha Tabatabaei Welcome to Atlassian Community!
Kindly updated your smart value to : {{issue.FieldName.format}}
Formats a number in US locale. For example, 123412345 becomes 123,412,345.
1
{{issue.Invoice Amount.format}}
Formats a number in the given locale.
{{issue.Invoice Amount.format("###")}}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You're Welcome! @Taha Tabatabaei
I have never used groovy or scriptrunner of jira cloud. I am not sure how it works in jira cloud. You can try this : .toInteger()
In Jira Server/Data Center groovy code I can help.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.