I recently implemented a custom field validator on a workflow transition.
my custom field items list are start, stop,restart, now when a user moves a issue to close issue state he has to select the items of custom field.
Can we make the some items of the custum field mandatory , so that if the user has to check mark all mandatory items of the custom field to close a issue?
Yes. In the same way you've done the existing mandatory fields. (I'm not sure there's actually a question here - could you explain if I've missed something?)
I am not asking to make a custom field mandatory ..... for eg i have custom filed(with checkboxes) as DOD in which i have 3 items start, stop , restart. So is it possible that i make start and stop as mandatory so that whenever a user tries to close a issue he will have to mark start and stop from the custome field options so that he is able to close the issue . if the user doesnt mark start and stop while closing it should fail giving a message that you need to mark the mandatory fields in order to close this issue
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
yeah rite i want to make items mandatory .... is there a way you know how to make it happen?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Er, that seems to say "I don't want to make the fields mandatory, I just want to make them mandatory". Which is it?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Use a validator, as you already said.
If you're writing your own, you can put whatever rules you need in it as well - not just "field must be filled", but things like "if <something is true>, then the field must be filled, otherwise let the user leave it blank"
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.