Hey, I'm trying to create a webhook using rest API call with an oauth app 2.0 token
the app token can get accessible resources , projects, issues and more - but when trying to create a webhook (scope permission is given) I can 401 response
this is my curl -
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer <token>' \
--data ' {
"webhooks": [
{
"events": [
"jira:issue_created",
"jira:issue_updated",
"jira:issue_deleted",
"comment_created",
"comment_updated",
"comment_deleted"
],
"jqlFilter": "issueKey != NONEXISTENTPROJECT-1"
}]
}'
not sure what else I can check
appreciate your help