Required or Mandatory fields

Hi

How do I get the list of all required or mandatory fields in JIRA using either a CLI or REST ?

 

Thanks !

2 answers

This widget could not be displayed.

Hi shravan,

                   I have a SQL Query which will list the custom field id's of the mandatory custom fields in JIRA

 

select FIELDIDENTIFIER from fieldlayoutitem where ISREQUIRED = 'true' AND FIELDIDENTIFIER like 'customfield%';
This widget could not be displayed.
Chris Fuller Atlassian Team Jan 05, 2016

https://developer.atlassian.com/jiradev/jira-apis/jira-rest-apis/jira-rest-api-tutorials/jira-rest-api-example-discovering-meta-data-for-creating-issues

In the second section, "Discovering issue field data", you'll notice that the fields specify whether or not they are "required".

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Tuesday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

217 views 1 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