Hi Team,
I have a simple groovy script to get the selection values & based on that perform certain actions in scriptrunner behaviour.
If anyone looking for the answer, the integer values work as well withough any change, my bad I was looking at wrong place, the problem was with the action part & not with selection returning wrong value. Below is perfectly fine way to capture even integers.
Hi @Vishal
I am not sure but could you please try any of the below?
integer compare:
if (Selection == 502)
string compare:
if (Selection.toString() == "502") {
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Tuncay Senturk _Snapbytes_
thanks for your reply but the problem was with the action & not with the camparing.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.