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
4,362,180
Community Members
 
Community Events
168
Community Groups

I would like to send the latest comment of an issue as an email using JIRA Automation

Hello, 

I would like to send the latest comment of an issue as an email using the regular JIRA Automation. I can set up the when, if and then part, but in the Send Email action I see no way how I could add the latest comment.

 

Thanks

2 answers

1 vote
Tansu Akdeniz Community Leader Mar 24, 2021

Hi @IT Department 

Please try this.

{{issue.comments.last}} 

Best regards 

Hi, 

Thank you for the suggestion, but JIRA reponds with: 

You can't use ${issue.comments.last} with this rule. Check the variable dropdown menu for a list of variables you can use with this rule.

ITOps2 I'm New Here Apr 29, 2022

Worked fine for me set like this in the Contect section:

{{comment.author.displayName}} at {{comment.updated.shortTime}} : "{{issue.comments.last}}"

Not sure about the core automation, but out app, Notification Assistant for Jira makes it easy to create notifications and templates that include the last comment.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
TAGS

Atlassian Community Events