I am doing a simple validation on a custom field on some linked issues using the "validation on linked issues" validator.
This is my filter: ^%{11501}>0 and ^%{11501}<=3
The value of the field can be between 1 and 25. The validation works when the field is a single digit, but if the value is more than 9, it seems to only pick up the first digit. For example, the validation is reading anything between 10 and 19 as 1 and 20-25 as 2.
Has anyone encountered this before and what is the fix?
I seem to be answering my own questions here. I have a deadline to meet so if I cannot solve the problem quickly, I post it and keep working on it. I would delete this post but it doesn't seem to be possible.
On this one, I realized I was using the string form of a numeric field in the filter. My filter should have been ^{11501}>0 and ^{11501}<=3. Duh!
Hope this helps someone.
Thank you for following up even though it may feel like you are posting in a vacuum. The question will show in internet searches and potentially help others.
I hope you get help on your next post.
Have a great Friday.
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.