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

How do I auto change the status of a ticket after a set time via Jira Automation ?

I want to change the status of issues from "Testing" to "Done" after 5 mins of that ticket being in the testing status. 

This is the workflow that I have prepared in Jira Automation. 

Screenshot 2023-10-31 130301.png

 

The JQL I have mentioned here is 

status = "Testing" AND status changed TO "Testing" BEFORE -5m

Also when I validate this query and check the issues,  get the correct issues filtered out.

Screenshot 2023-10-31 130824.png

I am getting the correct 2 issues filtered. 
Now I want them to transition to the done status after 5mins of them being added to testing. It's not happening via automation. 

1 answer

0 votes
Adrien Low _ServiceRocket_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Oct 31, 2023

Hello @Geo Mukkath ,

At this point of time, automation does not provide a trigger for when after a certain time has elapsed. 

In this case, a workaround you can consider is setting up a seperate automation with a Scheduled trigger which runs every 15 minutes, half an hour or at whatever interval that you're comfortable with your JQL.

This automation would then check for any issues that has been in the Testing status for more than 5 minutes and then transitioning them to Done:-Screenshot 2023-10-31 162124.png

Hope this helps.

Regards.

Suggest an answer

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

Atlassian Community Events