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 Leaders.
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

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

Found the solution myself:

image.png

Only comments created by email contain the property

sd.comment.email.email.list
Jack Brickey
Community Champion
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
Community Champion
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 Leaders.
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
Community Champion
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 Leaders.
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!

Suggest an answer

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

Atlassian Community Events