It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Auto close tasks

Hallo,
Can you  help me, 
I am trying to create rule in automation for Jira. 

When task has status "Return To Customer" for 3 business days (It is not updated more then 3 days), task will close automatically with "Rejected" status.
Here is rule details:

 WHEN Issue transitioned

FROM

Work in progress

TO

Return To Customer

 

 if issue matches JQL:

updated < -3d

THEN: Transition the issue to :

Rejected. 

 

unfortunately it is not working. As i notice ( while observing  the logs) WHen condition is working and it is looking the exact time when the transition is made. This rule  does not check "IF CONDITION" and there is note in logs like this "NO ACTIONS PERFORMED"
DO you have some solutions for me ? :(

2 answers

Hello @Ruska Sisauri

I am using the follow query that works for me:

Scheduled automation

WHEN:
status CHANGED FROM Work in progress TO Return to customer BEFORE -72h 

THEN:
Transition the issue to: Rejected

 

I have set it to check every minute for issues that has been in the status for more than 72 hours and it will then transition the issue to the status that you want.

I hope that solves your issue! :-)

Hallo Alexander. 

Thanks for respond

I want to add screens

Capture.PNG

 Could you please specify what I should Select in WHEN :New Trigger 
Because when i select "WHEN: New trigger" , I choose "issue transitioned " and there is no possibility to write "before -72h"

 

 

thanks in advance 

Suggest an answer

Log in or Sign up to answer
TAGS

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you