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
Published Jan 08, 2019 in Jira

How to Jira for designers

I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...

888 views 3 9
Read article

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