Forums

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

Jira Automation

Scott Howard Forbes August 16, 2021

I am trying to create a rule that when an sub-task, project, etc is transitioned from "in-progress" to "pending verification" if no activity then it will transition to Done.  The issue I am having is I want it to wait a set amount of time (7 days) in the example below I am using 1 minute in test.  As you may see it runs the rule after approximately 30 seconds.  How do I ensure it will wait until the time set to trigger the action?

 

Snag_15ce72b0.png

2 answers

1 accepted

1 vote
Answer accepted
Brittany Wispell
Community Champion
August 16, 2021

Hey @Scott Howard Forbes 

Welcome to the community! 

Have you tried doing it on a schedule? It can check any tickets on a specific day say Monday's and Friday's where the it goes through and checks when the tickets were last updated and close out any that meet the JQL requirements you posted. 

schedule_image.PNG

I'll keep working on trying to get it to work the way you want from your above image. 

Let me know if you have any other questions. 

-Brittany

1 vote
Bill Sheboy
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.
August 17, 2021

Hi @Scott Howard Forbes -- Welcome to the Atlassian Community!

The two things you note seem to be contradictory:

  • trigger the rule when it is transitioned, AND
  • you want a period of inactivity before taking an action

As @Brittany Wispell notes, this may be better supported with a scheduled trigger, perhaps on JQL checking for a lack of updates in a time interval.

Would you please describe the problem you are trying to solve?  Knowing that will provide context for the community to offer ideas.  Thanks!

Best regards,
Bill

Scott Howard Forbes August 17, 2021

Thank you @Brittany Wispell  and @Bill Sheboy for replying to my question.  I will take a look at the scheduler to see if that satisfies the intent.  If I can run the scheduler and then have it JQL check for no updates for a week on "Pending Verification" issues that may work.

Bill, the issue we are having is Teams are placing sub tasks, projects, and bugs to "Pending verification" which then sit there never being verified by another party.  I want to set up a rule that will close the tickets should this happen after a week of no updates to the item in "Pending Verification"

Like Bill Sheboy likes this
Bill Sheboy
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.
August 17, 2021

Thanks for clarifying, Scott.  The scheduled-trigger rule looks like it could help.

Something else to consider: why are stakeholders not verifying those issues when they are ready?  Are they too busy, do they find it unnecessary, have they moved on to other concerns, etc.?  Having some quick chats with them may lead the team to improve your processes and understanding.  Thanks!

Scott Howard Forbes October 20, 2021

Fully agree with this Bill.  Building this prompted me to see how many issues we have like this and seeing who the repeat offenders are.  A good way to do a little analysis and have important conversations.

Like Bill Sheboy likes this

Suggest an answer

Log in or Sign up to answer