Required fields

Hi everyone,

i am trying to create a required custom field (lets call it test field) for a particular transition screen to display when closing an issue (transitioning from completed to closed). i go through the usual roots of going to field configurations and then selecting "required" for that particular field, NOTE: I have only selected one screen for this particular field to appear on (close issue scren).

However when i try to create an issue, the notice "'test field' is required" appears, although i have not even assigned this field to the create issue screen, only the close issue screen. the field does not even appear on the create issue screen, yet this error still appears.

Is this a bug, or am i just being stupid and missing somthing obvious? Thanks in advance

1 answer

1 accepted

1 vote

Yes, you're missing the way Jira works.

The "field is mandatory" flag has nothing to do with screens. If a field is mandatory, you must fill it in. So it has to be on the create screen, because your users need to fill it in. That's it.

To make fields mandatory later in the lifecycle of the issues, you use validators on the workflow transitions (like "can't complete the close transition without something in the "root cause" field")

For this case, you should make the field optional, then use a validator on the complete -> closed transition.

ah, i see. But there are only two options on the validators for the completed --> closed transition, which are permission validator and user permission validator. How do you customise a validator?

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Monday in Jira Software

How large do you think Jira Software can grow?

Hi Atlassian Community! My name is Shana, and I’m on the Jira Software team. One of the many reasons this Community exists is to connect you to others on similar product journeys or with comparabl...

639 views 6 12
Read article

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