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

Marc Lucoff September 21, 2015

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
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
September 21, 2015

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