I have a script that works in Jira 4.2 and groovy version 1.7.13
!(cfValues['Requested start date']!=cfValues['Requested end date']&&!(cfValues['Requested daytime'].equals("Whole day")))
Requested start and end date are date pickers (no time), requested daytime is a radio button field with options morning, afternoon and whole day.
Now i want to have the same script, but in groovy version 1.7.3-1 (and jira 4.2)
The exact same script doesn't work.
when i do
println cfValues['Requested daytime']?.value
println cfValues['Requested daytime']?.getValue()
it both gives me 'null'
println cfValues[10053] (req dt's id) also gives null
Does the 1.7.3-1 version know how to take care of radio button fields?
Upgrading to 1.7.13 (or higher) is not an option (unless there's no other choice)