We dynamically register a webhook from our 3LO app with granular OAuth 2 scopes. It uses a simple JQL filter project = <id>
. When we request the events
jira:issue_updated
jira:issue_created
jira:issue_deleted
we receive all the events we expect to see. If we re-create the webhook with the same events plus these additional three:
comment_created
comment_updated
comment_deleted
then we suddenly stop getting any events, not even the ones related to issues. This only started happening after we switched our app to granular scopes.
We studied closely the documentation in the Webhooks Guide and granted our app all the required scopes for all 6 event types. However, the behaviour we see makes us believe there may be scopes missing from the documentation:
To receive a registered webhook, an app must be granted all the scopes for all the events in the webhook.