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

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
Ravi Sagar Community Leader Dec 09, 2020

Hi @Giorgos Savva 

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

Ravi

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

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

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!

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

New to Jira Automation - goodbye Cron (sort of), hello new project created trigger, new additions to

Hey Everyone! Simeon from the Automation team here. I'm delighted to share some new features and improvements that we are shipping to Jira automation (Cloud only). Firstly, @Sam Harding&nbsp...

2,790 views 10 23
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