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

Decimal separator

Marjan Posedi December 10, 2020

How can I change decimal separator from "." (dot) to "," (comma)?

1 answer

0 votes
Charlie Marriott
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
December 21, 2020

Hi Marjan Posedi,

Thanks so much for your question.

I have done some research into this for you and it looks you will be able to configure the number format for custom fields by modifying a velocity file. In particular, look at the file 

WEB-INF/classes/templates/plugins/fields/view/view-number.vm.

The steps involved to do this are as follows:

  1. Shutdown Jira
  2. Look for WEB-INF/classes/templates/plugins/fields/view/view-number.vm
  3. Replace $!numberTool.format($value) with $value.longValue()
  4. Start Jira

If you are seeking to change the number format beyond just custom fields, this is unfortunately not supported. We have an open feature request for this functionality which you can watch and vote on here.

Thank you,

Charlie

Jira Service Management

ps. if this answer is correct, please select the ‘accept answer’ button

Marjan Posedi December 24, 2020

Hi.

 

Thank you for suggestion. I tried it but it does not help me. I stil get a message:

'356,22' is an invalid number

Regards,

Marjan

Like André Stuhrmann likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
4.13
TAGS
AUG Leaders

Atlassian Community Events