Hey everyone,
as noted in the documentation for Jira webhooks, issuelink_created
and issuelink_deleted
should support {project.id}, {project.key}, {issue.key}, {issue.id}
context parameters. However, that doesn’t work.
I’ve tried registering the following webhook (through atlassian-connect.json)
{
"event": "issuelink_created",
"url": "/event/link/created/{issue.key}"
},
I’ve also tried adding it as a query parameter like "url": "/event/link/created?issueKey={issue.key}"
With both URLs I get undefined as the issue key. Same goes for issuelink_deleted
.
I’ve also found this ticket on ecosystem, but it’s been reported in 2018 so I don’t know if it’s still valid. I find it kind of hard to believe that such a trivial bug has gone unfixed for so long.
Basically, I’d like to know if this is a bug in the documentation or a bug in those webhooks. There is a workaround for my use case, but I’d rather have the info readily available without making additional API requests.
Thanks