Hi all,
I'm trying to set up an automation in Jira that will trigger a webhook to my chat every time I've been tagged in a new comment in a story.
This is what I have set up, but no actions get performed when I test the trigger.
Can anyone help me please?
Comment is a list. You need to check the latest comment to go with your logic
{{issue.comments.last.body}}
When your trigger is on Issue Commented, please use the singular smart value {{comment.body}} as the plural one is for issues, and would require using {{issue.comments.last.body}}
Next, when a mention is made in an issue field or comment, that looks like this behind the scenes:
[~accountId:your account ID]
And so your condition would look for that text with your specific accountId and not your user display name.
Kind regards,
Bill
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Update - I realized I forgot the brackets on either end of my id. This has now started triggering the webhook; however, the webhook continues to get triggered even when my name isn't being commented.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.