You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Join now to unlock these features and more
I want to make a polling system to find changed and created issues without webhooks.
I can get issues which are recently created/updated with JQL.
But I also have to identify whether an update already applied and not.
At first, I tried to use history id which I can find changelog. (changelog - histories - id)
it seems to be sequential, but some histories which created recently have smaller id than histories which created older.
so I want to ask.
1. Is history id in changelog sequential?
2. If (1) is yes, what is the reason some history have smaller id than expected?
3. Is there any other indicators which I can identify the order of changes in jira issue?(excepted "Created" in changelog)
Thanks for reading.
Welcome to the Atlassian Community!
No. It always increases, but it is not sequential. The ID is global, so every change to every issue increases the id.
You can rely on the ID to say "an ID is a point in time - a lower ID is for a change that was made before this one, and a higher ID was a change after this", but that's it. They can also skip numbers.
You should be reading created (and maybe last updated) date/time on the issues, and, in the history, the date/time stamp on the updates. The ID can't tell you much.