Registering webhook from plugins2 SDK

Juan de Anda January 19, 2016

Is there a way to register a webhook for issue updating using the plugins2 SDK?

I can't seem to find documentation on this topic. I'm aware I can do it using the REST API, but I'd like to do it using the plugins2 SDK.

1 answer

1 vote
filiprogaczewski
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 19, 2016

Yes, all you need to do is add a following entry to your atlassian-plugin.xml

<webhook key="wh-issue_updated" event="jira:issue_updated" url="/plugins/servlet/jiraWebHook/issue_updated" />

The url is required to be relative to JIRA base url. 

Suggest an answer

Log in or Sign up to answer