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

How to auto resolve previously created ticket using automation?


I am receiving two emails that I am using Jira Automation to create a ticket from. The first email, lets me know that there is a data issue, and a Jira ticket is created to document the event. I then receive a second email, letting me know the event has been resolved, and I'd like to have the automation rule update the status of the first ticket, but right now the rule I have is creating an entirely new issue rather than closing out the initial issue. 


Rule 1 creates a ticket #XYZ when the vendor emails about issue #XYZ


Rule 2 is meant to trigger the resolution of ticket #XYZ when the vendor emails that the initial issue #XYZ has been resolved


1 answer

1 vote
Fabian Lim Community Leader Nov 09, 2021

Hi @Simon Proudfoot

Welcome to the community.  Please share your rules in details and we can take a look at how we can assist. (screenshots would be ideal).


@Fabian Lim I've added screenshots.

Fabian Lim Community Leader Nov 10, 2021

Hi @Simon Proudfoot

You may have to review the email ticket creation vs comments configuration first. Look at the jira handlers section. When a user replies to an email that has the issue key it adds it as a comment. Otherwise it creates a new ticket.


Also check whether rule 2 has executed in the audit log.

Hey there Simon,

To backup Fabian here, the first step is to ensure that your email handler adds a comment rather than creates a new issue.

Automation will only work on issue events rather than emails directly.

Once you've got your email handler adding comments you can set up your rule to be:

  1. Trigger on Comment
  2. Condition: Advanced condition
    1. {{issue.comment.body}}
    3. Text you want
  3. Action: Transition issue to done
Like Fabian Lim likes this

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Jira Service Management

Next level incident management in Jira Service Management

Hello Atlassian Community! We’re thrilled to announce some exciting changes to incident management in Jira Service Management Cloud, in order to give your teams extra muscle during incidents, and ...

1,582 views 20 12
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