I'm using Jira Software in Docker (tag latest), and the backend reports this version:
"version": "10.5.1"
I'm trying to create a webhook via this endpoint:
POST /rest/jira-webhook/1.0/webhooks
Following the documentation here:
https://developer.atlassian.com/cloud/jira/platform/webhooks/#registering-a-webhook-using-the-rest-api--for-connect-and-oauth-2-0-apps-
I'm including a secret field in the payload:
{
"name": "My Webhook",
"url": "https://example.com/webhook",
"events": ["jira:issue_created"],
"secret": "my-secret-value"
}The webhook is created successfully, but the secret is not saved — it only works when creating the webhook manually via the UI. This behavior works correctly in Jira Cloud, but not in the self-hosted version.
Is there anything I might be missing?
Should I consider using a different Jira version or API version to enable support for webhook secrets via the REST API?
If so, which specific version would support this functionality?