Details
-
Bug
-
Resolution: Unresolved
-
Medium
-
1
-
Severity 3 - Minor
-
Description
Issue Summary
We have noticed that, if you call the edit issue endpoint with a payload like this …
{ "fields": { "timetracking": { "originalEstimate": "0m", "remainingEstimate": "2d", } } }
the issue then has an extremely high work ratio field value - e.g., 9223372036854776000%. I suspect that there’s ax division by zero somewhere.
In Bento, this doesn’t happen, however Bento uses another, non-public endpoint for this update.
This is reproducible on Data Center: no
Steps to Reproduce
- Add timetracking field to screen of an issue (/jira/settings/issues/screens)
- On issue view screen click Configure and add Work Ratio field to layout.
- Call PUT /rest/api/2/issue/(issueIdOrKey) with the payload specified above
- Look at value for workratio
Expected Results
Value for workratio should be 100?
Actual Results
Value for workratio is a very high number, `9223372036854775807.`
Workaround
Currently there is no known workaround for this behavior. A workaround will be added here when available
Attachments
Issue Links
- has action
-
ISSUE-7723 Loading...
- is duplicated by
-
FRGE-700 Loading...