The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

Automated report where last comment was by reporter

Mark Cartwright
Contributor
August 5, 2021

Hello,

I'm looking for some help to automate a mail that will send a list of tickets where the last comment was made by the reporter.

The contents of the mail are fine, it's the logic of the queries I'm struggling with.

Does anyone have any suggestions please?

Many thanks,
Mark

2 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

2 votes
Gareth Cantrell
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
August 5, 2021

Hi @Mark Cartwright 

Jira does not support these types of query out the box. 

If you’re using Jira Data Center or Server and have ScriptRunner installed, it has a custom JQL function that does just this (lastComment() ).

There is no equivalent on Jira Cloud to my knowledge. 

2 votes
Gaurav
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
August 5, 2021

Hello @Mark Cartwright 

For this, you can create an automation with the condition as shown in the below screenshot.

{{issue.comments.author.displayName}} equals {{issue.reporter.displayName}}

OR

{{comments.author.displayName}} equals {{reporter.displayName}}

For more details on smart values, please refer to the Atlassian documentation here.

Please accept the answer if this helps solve your query else respond and allow others to share input.

Comment Author.JPG

TAGS
AUG Leaders

Atlassian Community Events