- 
    Bug 
- 
    Resolution: Unresolved
- 
    Low 
- 
    None
- 
    7.2.8, 7.4.2, 7.12.1, 8.4.1, 10.3.6
- 
        7.02
- 
        14
- 
        Severity 3 - Minor
- 
        3
- 
        
Summary
Getting deleted worklogs via REST or Java API fails (usually times out) if there're too many worklogs to be retrieved.
Steps to Reproduce
Either use this REST API endpoint:
/rest/api/2/worklog/deleted?since=timestamp
or this Java API method:
List<DeletedWorklog> getWorklogsDeletedSince(Long sinceInMilliseconds)
Expected Results
The results are quickly retrieved
Actual Results
Jira keeps processing the request and then times out
Workaround
None
- is cloned from
- 
                    JRACLOUD-65360 JIRA Performance is bad to get deleted worklogs -         
- Closed
 
-         
- is related to
- 
                    JRASERVER-63002 Create new composite indexes for changegroup and changeitem tables to improve performance -         
- Closed
 
-         
- relates to
- 
                    JRASERVER-70716 Inefficient SQL query causing long time to fetch deleted worklogs via REST interface -         
- Closed
 
-