Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

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

If ticket is not processed by the assignee for 7 days,ticket should go back to the previous assignee

Hi All

We have one scenario where user may not know that ticket has been assigned to him. So i want to have one option in workflow like if the user is not handling the ticket for 7 days, then the ticket should return or come to the previous assignee. We can have notifictaion or filter option where mails can be triggered(we donot need this) . But i want ticket to be  automatically assigned to the previous assignee.

can anybody help me ?



1 answer

0 votes


You would need an app for it. There are multiple apps available: Power Scripts, ScriptRunner.

If you want to use the Power Scripts app, then you could write a job with a code like this:

string[] issueKeys = selectIssues("project = prj and not status changed after -7d");

for (string k in issueKeys) {

   string [] h = fieldHistory(k, "assignee");

   string a; 

   if(isNotNull(h[1])) {

    a = h[1];

  }else {

    a = h[3];


    k.assignee = a;


Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Jira Core

How to manage many similar workflows?

I have multiple projects that use variations of the same base workflow. The variations depend on the requirements of the project or issue type. The variations mostly come in the form of new statuses ...

3,873 views 11 5
Join discussion

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