Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Auto Transition rule

Deleted user January 5, 2021

Hi all. So I've just started with a new company and I'm trying to help organize their existing Jira instance. what i would like to do is this...

I would like to set up a trigger that will auto transition a ticket to "Closed" if it has been in the "Resolved" state for more than a set period of time. Either that, or have all "Resolved" tickets auto transition to "Closed" at the beginning/end of the month. 

I figure that the latter would be an easier rule to create, but I'm not sure how to go about it. I was able to do this at my previous company, but that version of Jira was heavily modified and run internally. Any and all help on the matter would be GREATLY appreciated!

1 answer

1 accepted

0 votes
Answer accepted
Dirk Ronsmans
Community Champion
January 5, 2021

Hi @[deleted]  and welcome!

There is actually a best practice for that. It includes an SLA so you can define a calendar with only business days to count and an automation rule.

You can find all the details here:

https://support.atlassian.com/jira-service-management-cloud/docs/auto-close-incidents-after-they-are-resolved/

If however you really want it to be at a fixed day (first/last day of the month) you'll have to create an automation rule with a JQL to find all the right issues. I'm less a fan of that as it would mean some issues remain open longer or shorter than others and this kind of rule you would like to keep standardised.

Deleted user January 5, 2021

Hi Dirk,

Thanks so much for the quick response. I don't see that we have an SLA in the Project Settings. Is that something that I would need to talk to our rep about?

Dirk Ronsmans
Community Champion
January 5, 2021

Jikes, SLA would be a JSD/JSM feature :)

On JSW (Software) you should however be able to do the same just with an automation rule.

You can create a scheduled trigger and set it up with a JQL similar as:

Updated <= -5d and Status = Resolved

Meaning the issue is resolved and not updated in 5 days.

Like Deleted user likes this
Deleted user January 5, 2021

Perfect! That did it! Thanks so much!!

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events