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


  • 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 Sign up to answer
Community showcase
Posted Sep 18, 2018 in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

26,084 views 2 7
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