I have an issue with Jira webhooks. So we are currently having an application that uses many version of JIRA and the json that we recieves differs in some of them. Also everytime the json changes in newer relase of jira, we have to create ticket and edit code so it could handle new format. Is there any way to maintain stable format of json in every version of jira?
For example in older version of jira, field with worklog updated event is called 'issue_worklog_updated', and in the version 7.0.1 it is named 'worklog_updated'.
It is in a stable format. For a given version.
The format of json responses rarely changes. Most releases of Jira leave it untouched, although they do add functions and data.
Jira 7 went through some major refactoring and one part of it was changes to the REST API. You should find that the json format will not change until 8 (and probably not even then).
If you want consistency, then upgrade your unsupported versions of Jira to 7.something.
The Jira Marketing team is putting together an ebook on migrating to Data Center. We're looking for pro tips on how you staffed your project team and organized your Proof of Concept. Share yo...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs