...
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 |
Access the variable in your Action body
...
...
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 |
...