Forums

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

Check Comment User

Mayki Gonçalves
Contributor
August 3, 2023

Hello Good afternoon.

Could someone help me with a question?

I need to make an automation where it should only run when a user X makes this public comment.

what would be the variable that brings this value?

1 answer

0 votes
Kai Becker
Community Champion
August 3, 2023

Hi @Mayki Gonçalves 

thanks for your question.

You should be able to use the issue commented trigger and interact with the {{comment}} smart value.

{{comment.author}} gives you the user {{comment.author.displayName}} would give you the name to compare.

{{comment.internal}} will return true or false depending on the JSM comment type.

 

Hope this helps.

Mayki Gonçalves
Contributor
August 3, 2023

hello becker

cool thank you very much. But would that be how I would have to declare it?

name.png

Kai Becker
Community Champion
August 3, 2023

Hi Mayki,

that the right way, yes. But if you would like to compare the value with an email address, I would recommend

{{comment.author.emailAddress}}

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events