What happens if I already have more than 100 webhooks?

Hello,

I need to ask about the new announcement (Jira admin webhooks limit) which happened on 2023-04-25T00:00:00Z.

It is highlighted that “As part of our ongoing efforts, we’d like to announce an update to Jira admin webhooks, effective July 1, 2023.

We depend on webhooks to sync data between JIRA and other platforms. I see this will be a blocker to use event based approach. We use application links to setup a connection and dynamically create webhooks (through REST api). We have >100 webhooks actively syncing data from multiple projects. What happens to them? Will I be restricted to create new ones?

I’m a bit confused after reading the comments in this thread where it was mentioned only the manual admin registered webhooks will get the limit imposed whereas REST API still works without any limits? Is that correct?

Can I please get some insights around the proposed limitations and how they differ?

NOTE: We use OAuth 1.0 which comes under other integrations of webhooks, does that change anything ?

Thanks,
Vali Shah

From my understanding of the changelog your existing webhooks even if you are over the 100 limit will still work…you won’t be able to create new ones or enable existing disabled ones until you’re under the limit.

As for it not imposed on API, I am not sure and will ask the engineers to look at this thread.

1 Like

Hello @vali_shah!
I’m an engineer from a team working on Jira webhooks. I will try to answer your questions.

We have >100 webhooks actively syncing data from multiple projects. What happens to them?

Nothing will happen to your already registered webhooks. We are introducing a limit only for creating and enabling new ones. Everything else will be working as it is working now.

Will I be restricted to create new ones?

Yes, that’s the idea. If you need to have more than 100 webhooks active at the same time, please reach out to us, e.g. through customer support. We can work out some solution.

manual admin registered webhooks will get the limit imposed whereas REST API still works without any limits? Is that correct?

The thread you linked talks about the warning panel that appears when you reach 50+ active webhooks. The limit is a slightly different thing.
We are limiting the number of active Jira admin webhooks that you can create on a single Jira instance. This means that both the admin panel will limit this action and the REST API that is used for the creation of the same kind of webhooks.

This affects the following REST APIs:

  • POST /rest/webhooks/1.0/webhook
  • PUT /rest/webhooks/1.0/webhook/{webhookId}

That means, that these APIs will return an error if you try to create or enable a webhook that would breach the limit.

For example, you have 100 enabled webhooks and you’re using the POST /rest/webhooks/1.0/webhook endpoint to create a new one. You will receive an error that it’s not possible due to the limit on the number of webhooks.

The same happens if you currently have, let’s say 256 webhooks. Then you want to create another webhook with API or UI and you will receive an error.
None of those 256 webhooks that you had before the limit was introduced are affected. So you can still use them but won’t be able to add new ones.

We use OAuth 1.0 which comes under other integrations of webhooks, does that change anything ?

The authentication method doesn’t matter when it comes to limits. If you’re using the REST APIs listed above, you will be affected. As I said, please reach out to us directly if it’s a breaking change for you, and we will try to work out a solution. Hopefully, one that won’t be disruptive for you in the following months.

I hope that made the webhook change a little more clear!

Cheers,
Maciej

3 Likes

Thanks a lot for the detailed explanation @MaciejStanuch . I appreciate it. Your response explains everything that I needed.