Skip to content

Instantly share code, notes, and snippets.

@t3db0t
Created September 8, 2016 20:16
Show Gist options
  • Save t3db0t/4bd6a932918e437162d985d849bc0bc0 to your computer and use it in GitHub Desktop.
Save t3db0t/4bd6a932918e437162d985d849bc0bc0 to your computer and use it in GitHub Desktop.
Workflow mappings
switch item.Status {
case "Ready for Test":
// ready for test
state = 500000010
case "Task In Progress":
// in progress
state = 500000015
case "Selected for Review/Development":
// selected
state = 500000011
case "Task backlog":
// backlog
state = 500000014
case "Done":
// Completed
state = 500000012
case "Verified":
// Completed
state = 500000012
case "Closed":
state = 500000021
default:
// backlog
state = 500000014
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment