Hi All,
I want to do regular expression validator check on one of the custom label field through script runner plugin. I'm following below steps,
but this is not working for me. Please suggest what modification need to do?
Thanks,
Sanu P Soman
For labels custom fields try this:
cfValues['Labels Custom field']*.label.every { it ==~ /\d{4}\-\w{8}/ }
Thanks a lot Jamie :-)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Below code is working for 255 character text custom field but not working for custom label field. Please suggest any additional settings need to do for this? cfValues['Text Custom 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.
Any suggestions?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.