API PUT and time format (comma and dot)

Description

Not sure if it's Jira or Worklogpro, but the wrong time is entered with the API if the logging User use a different time format.

  • User 1 : Comma (,) for time entry. 4 hours 30 minutes is shown 4,5h

  • User 2 : Dot (.) for time entry, 4 hours 30 minutes is shown 4.5h

API logging user is User 1.

If User 1 edit (PUT) a time entry for user 1, timeSpent 16200 become timeSpentFormatted 4,5h.
If User 1 edit (PUT) a time entry for User 2, timeSpent 16200 become 162000 and timeSpentFormatted 45h

Environment

None

Priority

Major

Assignee

Deniz Oğuz

Reporter

Maxim Légaré

Affects versions

Fix versions

Labels

None

Source

None

Jira Version

None

Database Type/Version

None

Browser Type/Version

None
Configure