How to handle custom_feilds of Jira webhooks response?

Sri Harsha Bezwada July 20, 2018

We are using jira cloud. We have created an issue related webhook to upload data to database whenever the issue has created. While creating an issue, if we associate that with an epic, we are getting epic key response in customfield_10005. If we are trying the same with another jira cloud account, we are getting the epic key response in customfield_10008. Please let us know, how to standardize this issue.

 

 

1 answer

0 votes
Danyal Iqbal
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.
July 20, 2018

You can standardize it in a few ways, (none better than other)... however, it might make more sense for your webhook to get the response in customfield_XX, where customfield_XX can either be provided in a properties file or you can search for the custom field by name and than get the id of the field from the name.

Suggest an answer

Log in or Sign up to answer