Hi ,
I am encountering an issue with the new Jira user account ID format in the ScriptRunner behavior. The code works perfectly fine with the older account IDs that do not contain ':' or '-' signs. However, it fails to function with the new user account Id format. Could you please advise on how this can be fixed?
if(JiraUserAccountId=="9878 : dd758383d-3r45-005d-0094-3abdhfldklfda")
{
logger.error("user found!")
//set field as optional
getFieldById("parent").setRequired(false);
}
Thank you,
Susheela Kushwaha