Issue with groovy script. Need some help to fix them

Manikandan K November 9, 2017

Requirement 

From a script field to get the value and store in scripted custom field

Script:

script.jpg

 

1 answer

1 vote
Joshua Yamdogo @ Adaptavist
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 14, 2017

Hi,

Your script looks correct from what I can tell. I believe the WebSudo error simply means your session has expired. You'll need to just log out of JIRA and log back in and try to run it again.

Regards,

Josh

Alexey Matveev
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 14, 2017

Or you can just click Script Console and you will be able to get WebSudo back after providing your password.

Joshua Yamdogo @ Adaptavist
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 14, 2017

@Alexey Matveev Good point :)

Suggest an answer

Log in or Sign up to answer