Hi Guys,
Need your help in JMWE plugin.
I am trying to apply a validator on transition screen which blocks transition when assignee = customfieldvalue(user picker). if Assignee not equals to user picker custom field value then transition will happen otherwise it gives an error. I have JMWE plugin. I tried to add Field Has Been Modified Validator and it works for me , but it's doesn't have option to add error message.
Then i tried to add Scripted validator using following script but it's giving error in every scenario. Kindly suggest
if(issue.get("assignee") == issue.get("customfield_14840")){
"You cannot move forward since the Assignee and QA Contact are same"
}
Hi @Vikrant Yadav ,
you need to use a Scripted (Groovy) Validator with this script:
issue.get("assignee") != issue.get("customfield_14840")
and input your error message in the Error message field.
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.