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:Ā 

Set a condition that differentiates whether a comment was generated by email or written directly

David Friedrich
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.
October 7, 2024

Jira Automations: Is there a way to set a condition in a rule that differentiates whether a comment was generated by email or written directly in the ticket?

2 answers

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

3 votes
Answer accepted
David Friedrich
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.
October 7, 2024

Found the solution myself:

image.png

Only comments created by email contain the property

sd.comment.email.email.list
Jack Brickey
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.
October 7, 2024

Awesome @David Friedrich @thanks for sharing!

Like • John Funk likes this
John Funk
Community Champion
October 9, 2024

Well done, sir!

0 votes
Jack Brickey
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.
October 7, 2024

Hi @David Friedrich , I do not believe so but maybe you could explain your use case as there may be a different way to reach your goal.

David Friedrich
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.
October 7, 2024

Hi @Jack Brickey , thanks for your quick response.

Usually if a public comment was written by a customer the status should change. If the comment was written by an agent the status should NOT change.

Works perfectly.

However, from time to time an agent forwards a received email (usually received from a customer) to Jira to add it as a new comment in an existing ticket. In this case the status SHOULD change although the initiator is an agent. 

 

Thank you!

Like • Susan Waldrip likes this
Jack Brickey
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.
October 7, 2024

Got it, thanks!

I know it isn't ideal but what about a process change that requires the agent to insert some unique text in the email that could then be checked by an automation condition?

Like • # people like this
David Friedrich
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.
October 7, 2024

I understand what you're getting at.

It wouldn't be ideal, as the agents would have to be informed/trained first. It could also be forgotten. But technically it would certainly work somehow.

Thank you!

DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events