Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
def prio = ""
switch(issue.priority.name){
  case "High":
    prio = "1-kritisk"
    break;
  case "Medium":
    prio = "2-medium"
    break;
  default:
    prio = "Low"
    break;
  
}
return prio


Image RemovedImage Added


Access the variable in your Action body

...