Webhook Json constantly changes with new versions of Jira.

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

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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Sunday in Agility

You asked for it, so we delivered: images on issues have arrived

A picture tells a thousand words. And agility boards have just released their latest feature: cover images on issues – so now your board can tell a story at first glance. Upload attachmen...

189 views 1 11
Read article

Atlassian User Groups

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!

Find my local user group

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

Groups near you