Webhook Json constantly changes with new versions of Jira.

Radek Lejba January 24, 2018

Hello,

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'.

1 answer

1 vote
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 24, 2018

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.

Suggest an answer

Log in or Sign up to answer