Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How to use {{comment.internal}} on Automation for JIRA

I want to use

{{comment.internal}}

while using Automation for JIRA in order to only send an email if a comment is external. However I tried using the compare condition parameter within the add on and that is throwing an error as it resolves to:

{{comment.internal}} = false

false = false 

Not sure how I can test whether it's true or false before firing an email event. 

Could someone point me in the right direction? I'm stuck! :)

Thanks,

Hollie

3 answers

2 accepted

4 votes
Answer accepted

Hey there Hollie,

What you have there should work. Are you using the compare condition? You'll want to have it look something like:

Project_automation_-_Your_Company_JIRA.png

Hope that helps! If not can you post a screenshot of your config?

Cheers,

Mark C

Hi Mark, 

It comes back and says it doesn't match even when I put an external comment on the ticket. The Audit log shows this: 

 

Action details:

JQL condition

The following issues passed:IT-1292

Compare condition

The following issues did not match the condition:IT-1292

 

My screenshot looks exactly like yours does above :( 

 

 comparecondition.JPG

 

automation.jpg

Thanks,

Hollie

I had a space in front of the first {{ - removed that and it worked like a charm!

3 votes
Answer accepted

I had a space in front of the first {{ - removed that and it worked like a charm!

Why isn't this an out-of-the-box option for comment-based triggers?

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Apps & Integrations

Marketplace Partner Spotlight: Fine Software

Happy New Year, everybody! What better way to kick off 2022 than with a new Marketplace Partner Spotlight ✨ This month, we're getting to know Daniel Franz, co-founder of Fine Software. Fine Software ...

413 views 2 15
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you