We create custom SSRS reports for our Jira instance using SQL procedures that we develop ourselves. We migrated to Data Center this summer (2021) and have noticed a particular issue with the change history table.
The proc in question is querying status changes and where we use the Change ID as the basis for the sequence of these changes. We've discovered recently that the change ID is not in sequence with the timestamp of the changes in the changegroup table (breaking the reporting logic).
Has anyone else come across this? Is it a new thing to do with Data Center or are sets of ChangeIDs reserved by the system?
This is one of the reasons you should not be using the database for reporting - it's not intended for it, and you've made an incorrect assumption about how it works.
The change id in the changegroup table is not intended to be any indicater of order, and absolutely won't be in some cases (one of which is simply "data center")
Your reporting should never have assumed that IDs are ordered by the date/time on the change history, they should be looking at the date/time itself for an order. Or, better, not looking at the database at all.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.