Hello,
I created a webhook triggered by "issue link created" and I don't understand why issue.key & issue.id are empty.
In the webhooks documentation (https://developer.atlassian.com/cloud/jira/platform/modules/webhook/) the compatible context parameters are {project.id}, {project.key}, {issue.key} , {issue.id}
Hi @Frédéric Pionnier ,
did you make sure to add a leading $ sign on your variables before ? The webhook URL should look like this :
Let me know if this helps,
--Alexis
Bonjour Alexis,
Oui, j'ai bien ajouté le $ à mes variables
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Looks like it actually does not work as it should, the same URL used for the event "issue created" does pass the issue key and issue id, but not for event "link created".
However, it does work when using the Automation for Jira webhook action, so I would advise using this instead of the Jira webhook :
You can use {{issue.key}} and {{issue.id}} in the webhook URL as shown in the screenshot.
It will give you the expected result with issue ID and key :
Let me know if this fixes your issue.
Thanks,
Alexis
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It looks like the automatic rule is not triggered.
I think there are some broblems in the linked issues
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I think you would need further debugging, I just tried it on my test instance and it works fine.
Did you make sure to create an issue on the INTEGR project, and link 2 issues from this project together ? With your rule configuration it will only work with this project, you would need to do a global rule if you need this on several different projects.
Or maybe you've already gone through the 500 cross-project rules allocated to you ? You can see this in the Automation menu and Usage :
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Alexis,
The rule only works if my 2 issues are in the INTEGR project.
I was trying to link 2 from different projects
Thanks for your help
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This is now logged as a bug, in case anyone wants to vote/watch it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Join the largest European gathering of the Atlassian Community and reimagine what’s possible when great teams and transformative technology come together. Plus, grab your Super Fan ticket now and save over €1,000 on your pass before prices rise on 3 June.
Register nowOnline forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.