Hello,
we have some kind of problem with aprrovals object with our Scriptrunner listeners. In our case on TEST env we getting different ordering than on our PROD env.
list = ApprovalService.getApprovals(ApplicationUser, Query)
We are using list[0].getId().toString(), but in one case we get first object from list and in second case we get last object.
in TEST: PagedResponse from list we get ordering from first approval (L1) to last approval (L2)
in PROD: PagedResponse from list we get ordering from last approval (L2) to first approval (L1)
Environments are with same versions of JSW,JSM and Scriptrunner.
Do you know why is this happening?