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

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Automation on last comment

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

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

Thank you David! It works :)

Like David Friedrich likes this
0 votes
Answer accepted

Hi @Giorgos Savva 

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


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

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?


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
Community showcase
Published in Jira Automation

Announcing the Jira automation template library!

Hi all,  After many months of work, I am delighted to announce the launch of the Jira Automation Template Library!  The Template Library is a new website dedicated to all things Jira au...

694 views 12 20
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you