Below issue occurred on one of the our customer End where jira changelogs having revision id not sorted.
1) Is there any JIRA documentation which tell us that change logs are retrieved on which sorting order like sorted by time or sorted by revision id or any other factor ?
Jira Server Query used
<JIRA_SERVER_URL>/rest/api/2/issue/<ISSUE_ID>?expand=changelog
(2) The reason we are asking this question is on one of the JIRA On-Premise instance we had observed that jira change logs are retrieved sorted on time but those change logs having revision id not sorted
Revision 1 -> created is T1 , Id is R2
Revision 2 -> created is T2 , Id is R1
Here we had observed that Revision 2 having id lower than than revision 1