Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Comment Automation

Kerri-Anne Mak February 19, 2025 edited

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 edited

@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 edited

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
atlassian, ace, atlassian community event, donation, girls who code, women in tech, malala fund, plan international, kudos, community badge, badge, atlassian badge, International Women’s month, International Women’s Day, women's month, women's day

10 for Change at Atlassian Community Events

Show up and give back by attending an Atlassian Community Event: we’ll donate $10 for every event attendee in March!

Join an Atlassian Community Event!
AUG Leaders

Upcoming Jira Events