Automatically close an issue based on field value

We receive feedback from our customers which are created as tickets in Jira. I want to automatically close those tickets where feedback is good and dont need any further action. How can I achieve this ?

3 answers

Hi Ruban,

Could you elaborate a bit more on the criteria here? What is a good feedback? Is it when certain fields are filled in? If that is the case you can have a "fast-track" post-function that closes the ticket when the appropriate fields are updated.


// Svante

0 votes

Set up your workflow to allow the closing.

Then, use a listener to listen for whatever change it is you want to trigger the close.

(I can't tell you much more than that, it's not clear exactly what your trigger is here)

Ok, create a listener that listens for the "create" event, or use a post-function that can trigger it - both should have code that says "if rating == excellent, issue the close tranition"

The easiest way to do this is probably to use "fast track transition" which you can find in the "Script Runner" addon. See

Good feedback is when the field rating is 'excellent'. When a ticket is opened in Jira where the field = 'excellent' the issue should be automatically closed.

Modify your workflow to create a new transition to close issues and set that this transition can only be executed by a user "jiraservice".

Then activate Jelly and create a jelly script to search all issues matching your criteria (rating = excelent and status != closed), and execute that transition against the search result.


Suggest an answer

Log in or Sign up to answer
Community showcase
Published Jan 08, 2019 in Jira

How to Jira for designers

I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...

1,149 views 5 10
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you