Skip to content

Instantly share code, notes, and snippets.

@cmcdevitt
Created September 30, 2014 01:46
Show Gist options
  • Select an option

  • Save cmcdevitt/f26c8ed968af3fd76c11 to your computer and use it in GitHub Desktop.

Select an option

Save cmcdevitt/f26c8ed968af3fd76c11 to your computer and use it in GitHub Desktop.
Notification Script
//If change to a 3 page else if it's a 3 and reassigned
if ((current.priority.changesTo('3')) ) {
gs.log("Changesto");
true;
}else if( (current.priority == '3') && current.assignment_group.changes() ){
gs.log("3andGroupChane");
true;
}else{
gs.log("Nope!");
false;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment