Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,361,188
Community Members
 
Community Events
168
Community Groups

Do Connect App webhooks created with a descriptor need to be refreshed?

In a Connect App, are webhooks registered through REST API and through the atlassian-connect.json descriptor fundamentally different?

When I request registered webhooks with GET /rest/api/latest/webhook I never get webhooks that I registered through a descriptor.

I am doing this because of the assumption that Connect App webhooks must be refreshed every 30 days and I want to refresh those described in the descriptor.

Do descriptor webhooks need to be refreshed or are they more like the "install", "uninstall", "enable", and "disable" events that are, and I quote, essentially webhooks?

1 answer

0 votes

The webhooks created via REST API and the one from the add-on descriptor are basically the same thing. It is just the different ways of registering it. To refresh it, you can call this endpoint.

That endpoint is my exact problem. In order to refresh the descriptor webhook I need its ID, which I can't get with the endpoint which returns all of the registered webhooks. I don't know why, or if it's a bug, but the descriptor webhook just isn't one of the returned ones.

I would happily register all of my webhooks via REST API but REST API webhooks don't support project events, descriptor ones do.

Descriptor webhooks also don't require the webhook to be tied to a specific JQL filter, which is what I need.

Probably you can ask more about this from https://developer.atlassian.com/support 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Site Admin
TAGS

Atlassian Community Events