Populating float custom field in non-english Jira instance

Hi there,
I received a complaint from one of my plugin’s customers in Germany regarding issues not opening. After checking the logs, I found an error message that says:

{customfield_13900='7.5' ist eine ungültige Nummer} (7.5 is an invalid number)

It turns out that the issue is caused by the float separator in Germany being a comma instead of a dot. I was wondering if there’s anything we can do from a development perspective, or if the customer needs to make some changes on their end.

1 Like

Yes, you can use getString(Double value). It converts double to string that you use in IssueInputParameters addCustomFieldValue(Long customFieldId, String… values) given the current user’s locale.

1 Like