Required custom field only on one screen


  1. Create custom field (required, number)
  2. Field associated only on "Resolution screen"

When I create task, I get an error that the field is blank, but this field not found on this screen.

What to do?

3 answers

1 accepted

3 votes
Accepted answer

Hi there.

Once you set the field to be required then jira would required this field to be filled on any transition in the workflow. Putting this field up only on one screen makes it invisible to the user on the rest of the screens yet it is still required to have any value. So the problem is, as a user you can't set the value on the invisible field :)

The best way is to use a FieldsRequired validator from Jira Suite Utilites plug-in. Set the field to be non-required gobally, and o the particular screen when you want it to be visible, enable the field and set the validator to require this field only in this transition.

Validators can be set when you go to workflow, edit it, click on the particular transition, click validators, click "Add" and choose FieldsRequired. Remember to publish the worflow draft afterwards! :)

If anybody's answer helped you to solve your problem, please be sure to click "accept" button on the particualr answer :)

I already tried to use Jira Suite Utilites plug-in. And I create new workflow, edit "resolve" transition - added validator. This is worked fine. But i can not made this changes in default workflow and made Draft for default workflow.

I should change workflow schemas for all projects? (more 30 projects)

Or I can add custom workflow to Default Workflow Scheme?

Thanks for the answer anyway! :)

As far as I know, you cannot set custom worflow to be system's default (but I might be wrong).

If that's true than yes, it may require to change workflow schemes for all projects.

0 votes
Yew Teck En Atlassian Team Dec 17, 2012

The field required validator from JIRA Suite Utilities would help you to achieve the first option. It would check the validation during the workflow transition.

As for second option, you either need to add the field to the screen when you create it or go to the screen option in JIRA administration then add it manually.

For error :

field require validator is configured on create issue transition due to this it is showing error message

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Jan 08, 2019 in Jira

How to Jira for designers

I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...

1,018 views 4 9
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