Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

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, loom, loom for training, loom for teaching, video training, async learning, online education, screen recording, loom tutorials, loom use cases, atlassian learning, team training tools, instructional video, virtual training tools

🛗 Elevate Your Training and Enablement with Loom

Join us June 26, 11am PT for a webinar with Atlassian Champion Robert Hean & Loom’s Brittany Soinski. Hear tips, stories, and get your burning questions answered. Learn how Loom makes training and enablement easier. Don’t miss it!

Register today
AUG Leaders

Atlassian Community Events