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!


Comment List Without Internal Comments


Our team has been using automation internally and taking advantage of the {{#issue.comments}} to get a list of all comments via email.  This is helpful internally.

Now we're looking at an automation for our customers and want a list that doesn't include any internal comments.

I've tried {{#issue.comments.public}} and {{#issue.comments.external}} without any luck so far.

Thanks for any help with it.


Edit: if it helps, this is what we currently use for the comments list:

Comment by: {{author.displayName}} at: {{created}}


1 answer

1 vote
Joseph Chung Yin
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Oct 20, 2023

@Lewis West -

You will need to use the following smartvalue syntax testing for {{comment.internal}} property value to test for comment (private/public)


This value won't work for any other trigger, even if a comment was added as a result (e.g. - the Issue transitioned trigger).

Available properties

  • {{comment.body}} - Returns the body of the comment that triggered the rule.

  • {{}} - Returns the ID of comment's author.

  • {{comment.created}} - Returns the date and time of the comment.

  • {{comment.visibility.type}} - Returns the comment restriction type if any, e.g. role.

  • {{comment.visibility.value}} - Returns the comment restriction label if any, e.g. Developers.

  • {{comment.internal}} - for Jira Service Management comments, returns false if the comment is visible to customers.

  • {{}} - Accesses any comment property. Properties are frequently used by add-ons and integrations to store values.

  • {{"sd.public.comment".internal}}

Hope this helps.

Best, Joseph Chung Yin

Jira/JSM Functional Lead, Global Technology Applications Team

Viasat Inc.

Thanks for the suggestions. 

I tried running an if then check for {{comment.internal}} within the {{#issue.comments}} list, but I wasn't able to get the syntax right.

Any tips on how to check that for the private/public property while running a list of all comments like {{#issue.comments}}?  Or how to just run a public list itself?

Thanks for any further assistance on how to use the property.

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events