Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,298,379
Community Members
 
Community Events
165
Community Groups

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

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 Atlassian Automation

Jira Automation: Sum Up Story Points Roundup (Initiatives -> Epics -> Story/Tasks -> Subtasks)

Hi Everyone, In this roundup we combine all the jira automation rules to sum up story points across different issue types. We start from the lowest level, summing up story points from sub-tasks t...

1,848 views 2 7
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