-
Bug
-
Resolution: Fixed
-
Medium
-
25
-
Severity 3 - Minor
-
3
-
Summary
When a specific JIRA issue worklog is being filled concurrently from different sources at the same time, some worklog entries are missed; resulting in inaccurate timespent value. In the case where the user also uses Tempo timetracking, there is a difference between JIRA's timespent and Tempo's.
Steps to Reproduce
- Create an integrated system that operates in Jira
- Do several work logs operations such as adding work logs to the same issue
Expected Results
The time spent of the issue (shown as logged in time tracking panel) equals the sum of all existing work logs.
Actual Results
Because the time spent is stored separately and there isn't a control of parallel changes in that, it may not be equal to the sum of work logged.
Notes
We carried out 2 tests:
- A script run twice sequentially (waiting for first run to finish to start another one) where we add 60 seconds of work logs 100 times
- Same as above, but both are run at the same time in parallel
In both cases we expected 12000 seconds of time spent on that issue and that is what we got in the first test, but we got 9840 on the second as in some cases, the creation of a work log interfered with another running at the same time.
Workaround
No perfect workaround, but avoiding running 2 work logs operations in the same issue prevents this problem.
- was cloned as
-
JRASERVER-69840 Operation on worklogs may results in inconsistent timespent when done in parallel
- Gathering Impact
- depends on
-
ISSUE-7173 Loading...