I have a dropdown field A with the following values:
1 - very low
2 - low
3 - medium
4 - high
5 - very high
I want to set the field B based on the dropdown value.
If A is 1 - very low set B=Green
If A is 2 or 3 set B = Yellow
Else set B = Red
I dont have jira automation. I'm trying to do this using JMWE and regular expressions. But I do not know how to write the groovy expression to get this outcome.
Can someone please help me out?