Skip to end of banner
Go to start of banner

Assign issues to the previous assignee

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

Assign an issue to the previous assignee

string [] testers = usersInRole("TEST", "Product Development Tester");
assignee = testers[0];

Action

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

if(isNotNull(h[1])) {
    a = h[1];
}
else {
    a = h[3];
}

assignee = a;
  • No labels