Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Automation on last comment

Giorgos Savva December 9, 2020

Hi team,

I activated the following automation:

1. If comment ~ This can be closed

2. Then transition to DONE

 

What I need is to change the 'comment' to 'last comment'. The reason is that if the ticket reopens at a later stage, then the automation reads the comment again and closes it again.

 

Thank you in advance.

3 answers

2 accepted

0 votes
Answer accepted
Ravi Sagar _Sparxsys_
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.
December 9, 2020

Hi @Giorgos Savva 

You can access the last comment using {{issue.comments.last}}

Ravi

Giorgos Savva December 9, 2020

Thanks Ravi! It works also. Maybe it is a bit safer this way!

0 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.
December 9, 2020

Thanks for the infos. I created this rule with jira cloud automations and it worked. Reopened issue will not close on any other comment:

2020-12-09 10_22_23-Clipboard.png2020-12-09 10_23_18-Window.png

Giorgos Savva December 9, 2020

Thank you David! It works :)

Like David Friedrich likes this
0 votes
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.
December 9, 2020

Hi Giorgos,

happy to help, but i'd need more intel here ;-).

Are you using Server/Data Center or Cloud?

Is your question about the integrated service desk automations or project automations provided by automation for jira app?

Thanks!

Giorgos Savva December 9, 2020

Hi David. I am sing Jira Cloud and project automations.

Like David Friedrich likes this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events