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

Set automation to expire issues after 24 hours

Ann R February 8, 2024

I want my issues to expire in 24 hours since the status has changed to Approved. I have set the rule as below, but it looks like it doesn't work. Any issues with the JQL i've setup? 

issuetype in ("AAAAA") AND status = "Approved" AND status CHANGED TO "Approval Expired" BEFORE startofDay(-1)

1 answer

1 accepted

1 vote
Answer accepted
Paul Wiggers
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 8, 2024

Hello @Ann R 

Thank you for your question. JQL is only ment to retrieve certain issues, based on the query that you have entered. It cannot change the status of an issue for you.

The easiest way to set this up is by making use of an SLA.

You can create an SLA that starts when an Issue enters the status Approved and set a goal of 24hours. Please make sure that you have selected the correct calendar for this, or adjust your time goals accordingly. Otherwise the 24hours will be three standard 8-hour working days.

Screenshot 2024-02-08 094522.png


After you have created the SLA, you can create an automation that triggers on the expiry of the newly created SLA and transitions the issue to the status "Approval Expired".

Screenshot 2024-02-08 094632.png

 

Is this something you can work with?

Kind regards,

Paul

Ann R February 8, 2024

Hi @Paul Wiggers Thank you! i will give it a go. 

Ann R February 11, 2024

@Paul Wiggers - This worked. Appreciate your help with this. 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events