JIRA cloud rest API for Webhooks

169 views
Skip to first unread message

Chef

unread,
Mar 17, 2016, 7:10:30 PM3/17/16
to Atlassian Connect Dev
Hi,

Is there a JIRA Rest API for cloud for creating/ registering  Webhooks ?

Thanks!!

Peter Brownlow

unread,
Mar 20, 2016, 10:55:23 PM3/20/16
to Atlassian Connect Dev
Hi Chef,

https://docs.atlassian.com/jira/REST/latest/ does not currently mention "webhook", so it looks like the answer is "no". 
You can register webhooks statically through your Connect descriptor: https://developer.atlassian.com/static/connect/docs/latest/modules/common/webhook.html

Alternately, if you wish for dynamic webhook registration, you may create an issue in the ACJIRA project on ecosystem.atlassian.net. If you do so then please outline your use case so that we can be sure to understand it properly.

-Peter

Einar Pehrson

unread,
Mar 20, 2016, 11:05:32 PM3/20/16
to atlassian-...@googlegroups.com
AC-1871 tracks this feature request, so please vote for it.

Regards,
Einar

--
You received this message because you are subscribed to the Google Groups "Atlassian Connect Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to atlassian-connec...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Chef

unread,
Mar 20, 2016, 11:15:09 PM3/20/16
to Atlassian Connect Dev
Thanks Peter !!
I am moving forward with registering web-hooks for now.
If I run into issues , I will post a request with detail use case.

Shane Freed

unread,
Jul 26, 2016, 8:36:33 PM7/26/16
to Atlassian Connect Dev
I was able to dynamically create  a webhook using the webhook API, but I had to use Basic Auth and not JWT auth (like the other API's use).

Shane

Einar Pehrson

unread,
Jul 26, 2016, 8:41:17 PM7/26/16
to atlassian-...@googlegroups.com
Hi Shane,

the REST API for webhooks is not whitelisted for use by Connect add-ons (see JIRA REST Scopes). Please vote for AC-1871 if you would like to see this supported.

Per our Add-on approval guidelines, add-ons listed on Atlassian Marketplace must not use Basic authentication.

Regards,
Einar

--
Reply all
Reply to author
Forward
0 new messages