Comment Automation

Kerri-Anne Mak February 19, 2025

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?

Jira.jpg

3 answers

1 accepted

3 votes
Answer accepted
Vishal Biyani
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 19, 2025

@Kerri-Anne Mak 

Comment is a list. You need to check the latest comment to go with your logic

{{issue.comments.last.body}}

2 votes
Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 19, 2025

Hi @Kerri-Anne Mak 

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

0 votes
Kerri-Anne Mak February 19, 2025

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.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events