Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 19:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.
×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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.