On create issue screen, the required fields relationship is "and",all required field is must filled,but i want to at lease one filed is required,instead of all .i want the relationship between the required fields is “or”
Hello,
Are you on Cloud or Server?
Hello,
You need an add-on for it. For example, you could use the Power Scripts add-on:
You could write a validator like this:
if (!isNotNull(#{your cusotm field name1}) || !isNotNull(#{your cusotm field name2}) ) {
return true;
}
return false, "Fill out one of the following fields: your cusotm field name1, your cusotm field name2 ";
You can find more info about validators here:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes, it can be implemented, but I do not have a ready-made script.
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.