Hey @ibuchanan
We are trying to use dynamic webhooks for OAuth 2.0 (3LO) apps, we also added manage:jira-webhook scope but we are continuosly getting Encountered a 401 - Unauthorized error while loading this page error when trying to create a webhook.
Request looks like following:
curl --location --request POST 'https://XXXX.atlassian.net/rest/api/3/webhook' \
--header 'Authorization: Bearer XXX' \
--header 'Content-Type: application/json' \
--data-raw '{
"webhooks": [
{
"jqlFilter": "project = XX",
"events": [
"jira:issue_created"
]
}
],
"url": "https://xxxxxx/webhook-received"
}'
Also in the documentation, example still contains email:api-token in the header and not Bearer token
Any help is highly appreciated, Thank you