While attempting to register a webhook using an integration using 3LO Oauth instead of Connect, using the directions here:
https://developer.atlassian.com/cloud/jira/platform/webhooks/#registering-a-webhook-via-the-jira-rest-api--other-integrations-
I’ve POST’ed here:
https://api.atlassian.com/ex/jira/<id>/rest/webhooks/1.0/webhook
With a valid Oauth access token, which returns 403, “OAuth 2.0 is not enabled for this method.”
Without the token, it returns 401, “Client must be authenticated to access this resource.”
and
I also tried the same POST to:
https://<my-domain>.atlassian.net/rest/webhooks/1.0/webhook
Both with and without a token, it returns 401, “Client must be authenticated to access this resource.”
What’s the recommended way to register a webhook against the REST API when using Oauth?