Is it possible for creation of a comment to invoke a web hook / post function ?

Chris Betti January 16, 2015

Our support / developer escalation process uses the Zendesk integration. Currently, Zendesk users can see that a JIRA task filed from Zendesk has been started, completed, etc. But, when developers comment on the JIRA task, Zendesk is not notified.

Is it possible to add a hook that executes after a comment is added to a task? This is a concept depicting what I'm looking for:

EscalatedTaskType.onComment(task, newComment) {
    zendesk.replyToIssue(task.zendesk_issue_id, newComment);
};

1 answer

1 vote
Pedro Cora
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 16, 2015

Chris,

While this is not possible with just the WebHooks, you can use the JIRA Automation Add-On to come up with an automation that automatically transitions an issue when the comment is added and in that transition you can add your WebHook.

smile

Alex Medved _ConfiForms_
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 16, 2015

But this plugin is not available for cloud JIRA, right?

Chris Betti January 16, 2015

This would do the trick, thanks! Since posting, I've discovered the Zendesk integrations "Notify Zendesk" button, which works well enough for our org as a means to message back to Zendesk.

Suggest an answer

Log in or Sign up to answer