How can we integrate "comments" in Jira web hook "issue_create/issue_update" paylod?

ayandebnath May 28, 2021

Hello Team,

We have created one web hook on JIRA that connects to an Azure Function.

The web hook created with below events - 
Issue.png

While we create any issue(with comments), we don not get any comments field in the web hook payload(type="issue_created/updated").

We get a separate event with "commnet_created or updated" but it does not contains other comments raised for the same issue id.

Is there any way we can perform some settings so that the comment start flowing along with issue_updated/created events.

For example- in terms of attachments, when we attach any item to an existing or newly created issue, we get a issue_updated event where the attachments field will be present, containing all the attachments related to the issue_id.

Can we have the same feature for Comments as well?

2 answers

0 votes
Daniel Ebers
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.
June 5, 2021

Hi @ayandebnath

from your description I see some likeliness it is in accordance with the following suggestion:

I think so because you say you want to create an issue which is basically a workflow transition "Create Issue" with the mentioned "Issue created" event associated with it.

Now you have probably a comment during the creation of the incident to make which is, however, some kind of 'ignored'.

Please check the linked Suggestion, in case you see this reflects your situation please click on "Vote for this issue" in order to get it some attention.

Cheers,
Daniel

0 votes
Matt Lane May 31, 2021

Hi team,

We are also having an issue whereby a webhook for issue tickets in a service project, are not producing a payload with comments included, even when we have selected the Comment Created and Comment Updated events in the Webhook settings (checkboxes).

Hope you can clarify for us how we can ensure the webhook includes comments within the payload.

Thank you!

Suggest an answer

Log in or Sign up to answer