Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Webhook Json constantly changes with new versions of Jira.

Radek Lejba
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
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-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
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
TAGS
AUG Leaders

Atlassian Community Events