Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Validation Not Working

LaryPeters July 26, 2018

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?

1 answer

1 accepted

0 votes
Answer accepted
LaryPeters July 27, 2018

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.

AnnWorley
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 27, 2018

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.

Suggest an answer

Log in or Sign up to answer