Hi
How do I get the list of all required or mandatory fields in JIRA using either a CLI or REST ?
Thanks !
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%';
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".
It looks like you're new here. Sign in or register to get started.