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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

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,457,140
Community Members
 
Community Events
176
Community Groups

Time to close after resolution auto closed

hi 

i want the request that is in the completed or solved state to automatically switch to the closed state after 24h

 

how to ? 

timeclose.png

1 answer

Hi @Aykan Inal 

If you're looking for an automatic transition, you'd be better to use Automation - SLAs will not do this for you.

You can create Project-level Automation Rules as a Project Admin:

  • Go to your Project Settings
  • On the left-hand menu, select Automation
  • Create a new rule using the appropriate button

---

For your scenario, the rule might look like this:

  • Trigger: Scheduled
    • Run Rule Every = 1 Days (or 1 Hours)
    • Run a JQL Search... = CHECKED/TRUE
    • JQL = resolution is not EMPTY and resolved <= -1d
  • Action: Transition Issue
    • Destination Status = Closed

---

A few notes on this rule...

  • The JQL locates all Issues which have been resolved for 24 hours or more. If you want over 24 hours, use "<" instead of <="
  • You can modify the JQL as required (for example, if this is only for certain resolutions, not all of them)
  • Using the Scheduled Trigger, the rule will look for every Issue which matches the JQL and action all of them, not just one

---

Let us know if this works for you!

Ste

@Stephen Wright _Elabor8_ 
can't I do this from the SLAs menu

Hi @Aykan Inal 

Not if you want the Issue to automatically close.

SLAs measure if an action took place and show it as breached if not. For example, an SLA might be "time to first response" - ensuring an Agent responds to a customer within a set timeframe. But it does not perform any automated actions.

If you use an SLA for this you could measure that an Agent changes the Status to Closed within a given timeframe, but it would not transition itself there without manual intervention, or the Automation Rule to auto-transition it.

Ste

@Stephen Wright _Elabor8_ 
pllease share  screenshort example rule

 

or scan you explain step by step

first step :  new triger    issue creted?    after ?

Hi @Aykan Inal 

I provided an example with details in my original response above.

Ste

sorry @Stephen Wright _Elabor8_ 

i could not understandbu.png

Hi @Aykan Inal 

I've listed which Trigger and Action to use above.

So you've selected the Trigger for Issue Assigned - you need to choose the Scheduled Trigger instead.

Ste

hi @Stephen Wright _Elabor8_ 

Completed and resolved  status auto change  close   

is it true ?

 

BUBU.png

Hi @Aykan Inal 

This looks like the rule I suggested above - great work!

Have you tested it in your instance, to ensure it works as expected?

Ste

yes, I tested it, thank you very much.

However, in the past, tickets that had been solved or completed would automatically close after a while without the rule :(

Hi @Aykan Inal 

Possibly the rule explained in this help page?

If yes, it still used Automation, just the Legacy version of it. The version recommended above is the newer, more future-proofed version of Automation :)

Ste

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Site Admin
TAGS

Atlassian Community Events