Making custom field items mandatory or optional applied as validator to a transition

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?

1 answer

1 accepted

0 votes

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

yeah rite i want to make items mandatory .... is there a way you know how to make it happen?

Er, that seems to say "I don't want to make the fields mandatory, I just want to make them mandatory". Which is it?

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"

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,950 views 12 18
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot