Make a field required ONLY when Closing/Resolving the issue

In the documentation for Jira it says:

(info) Please note:

  • Fields that are hidden cannot be set to required.
  • If you make a fieldRequired, ensure that the field is present on yourCreate Issue screen(s).

Does this mean that we cannot make a field requierd to fill in when only we close or resolve the issue? We do not want this field to be mandatory when we create an issue in that project.

1 answer

1 accepted

0 vote

Correct. Jira's mandatory fields are mandatory throughout the lifecycle of an issue.

One of the very earliest plugins I've ever seen was written to provide a "validator" that fixes this problem. You put a validator on a transition to check that certain things are done before allowing the transition to run. You can probably guess that the plugin I saw was "check that a field has been filled in".

There are several implementations of this. I tend to use the one in the Jira Suite Utilities

Thanks for the tip!

I will absolutely try this on :)

Unfortunately this does not seem to work for us :/

Even though we have added the Validator that as the Requiered field, it does not seem to be requiered at all.

Never mind, found one "Close Issue" step in the workflow that didnt have that validator :)

How can I find out the status of this: (I don't want to use a validator)

  • Be aware that there is a feature request (JRA-5783) to make a field required for only one transition. If you are interested, please watch that issue for status updates.

Why don't you want to use the one method that is explicitly designed for handling this case?

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 ...

3,323 views 14 20
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