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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Recognize internal comment in Automation for JIRA

Deleted user May 15, 2018


I am trying to see if the comment added (it is also a trigger) is a public or internal one. I have found the smart values like 


 but I am not sure where should they be compared, and I am pretty sure the true or false would not equal the result of last or last.body.

Does anyone know the best smart values or other way to do this?

2 answers

1 accepted

3 votes
Answer accepted
Deleted user May 15, 2018



false (or true)

is how I managed to resolve it

How is this supposed to work? What "sd.public.comment" means? I've tried this but doesn't work. Tks.

Thanks @[deleted] 

Thanks @[deleted] worked like a charm !

Where can we find these regex property values? Hoping to find more like this for other tasks.

If you are looking for what regEx you can utilize you can check out Pattern (Java Platform SE 7 ) (


If you want to know what fields Jira exposes you can start here What are smart values? | Cloud automation Cloud | Atlassian Support


I find it easier to just test against an actual issue with the JSON exposed at:
replace the values in bold with your own.

0 votes
Filipi Lima
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Mar 20, 2023

A quick note - on Server/DC 9.4.1 I just tested it with:


I had a simple rule with "when comment created" and I use advanced compare condition to match that to true or false and it worked correctly.

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events