How can I make a required custom field be required only on a particular screen?

I have a custom field that I made required. The problem is that even if I don't assign the field to a particular screen, the Create screen still requires a value to be placed in the field. What I want to accomplish is having the required custom field assigned only to a View/Edit screen and able to create an issue while bypassing entering a value in the field as long as its not displayed on the Create screen.

1 answer

0 votes

You don't, in plain JIRA, the mandatory flag is on or off for an issue type, it's nothing to do with screens.

You can

  • do something like this with Javascript (not recommended)
  • Use and add-on (The Behaviours part of the Script Runner should do it)
  • Use validators to check the input as it moves through the workflow (but again, you'll need add-ons to provide a validator for "field is mandatory" - there are plenty of implementations, some of them free of charge - JIRA Suite Utilities is the main example for me)

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,274 views 5 10
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