Hello everyone!
We are trying to make a validator with this definition:
I used:
issue.customfield_10500.length==0 to check if there is some information (customfiled_10500 is the name of development field and we don't know why) but the result for a isssue without development info is "false"
If I try something like issue.customfield_10500["commits"].length we get an error.
Any idea?
The question is if that field is actually 0 or null though...
Thanks Jimi! It seems that this is no t the problem. I tried to check "null", "empty", 0, "0" ... with no luck.
So, I created a custom field that is filled when a commit is created and with this basic field, I think that I can do everything we need.
Regards
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.
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.