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
Posted Oct 16, 2018 in Jira

Looking for anyone who made the switch to Data Center

The Jira Marketing team is putting together an ebook on migrating to Data Center. We're looking for pro tips on how you staffed your project team and organized your Proof of Concept. Share yo...

77 views 0 3
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