Hi All,
Happy new year to all
Could you please let me know how I can do a validator check on a custom field on workflow transition? Can I do it by script runner?
If so, how do I write a validator chack? In my case custom field name is "Data field" and it should be in the below format,
[0-9]{4}-[A-Z0-9]{8}
ie, starting with any four digit and then symbol "-" then 8 characters (combination of number and letters).
Please suggest.
Thanks,
Sanu P Soman
Any suggestions? cfValues['Data field'] ==~ /\d{4}\-\w{8}/ ??
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.