Skip to end of banner
Go to start of banner

Set approver in Jira Service Desk

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 »

We've encountered an issue exporting this macro. Please try exporting this page again later.

Call this script from a workflow transition action to set the approver based on the value of a custom field.

Using a SIL alias is the best practice for accessing custom field data. In the script below, the SIL alias is represented by the keyword “fruit”. For more information, go to the custom fields aliases documentation.

if(fruit == "Apple") {
    customfield_10700 = "jmuse";
}
else if(fruit == "Orange") {
    customfield_10700 = "efoulkes";
}
else if(fruit == "Peach") {
    customfield_10700 = "jwang";
}
  • No labels