automate: move jira issue to another state if lying more the 2 week in the same state

Hi,

  • Can we automate to bulk move all tickets in Awaiting inputs to Rejected status at the end of every 2 week if the tickets is in Awaiting inputs status for  2 weeks
  • Can we  automate bulk closing tickets in Rejected status end of every 2 weeks if the ticket is in Rejected status for 2 weeks
  • Can we trigger automated mail to reporter if it’s in awaiting input for a week 

1 answer

For the bulk close and bulk move you could write a plugin and use the job scheduler to run it as a cron. There's a guide here. Another way to do would be to define a service in ScriptRunner that would call a groovy script every 2 weeks. There's an example here.

For the automated email, create a filter that searches for all issues that are in an "awaiting input" state (however you define that) whose status hasn't changed in 1 week and the assignee is currentUser(). Share the filter and subscribe all users to that filter with the caveat that if no issues are returned the mail shouldn't be sent. Since the filter will be run separately for each user, only users who have such an issue will get the nag mail.

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,270 views 14 20
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot