Required or Mandatory fields

Kota Sreenivasa Shravana Kumar January 4, 2016

Hi

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

 

Thanks !

2 answers

0 votes
crf
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 5, 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".

0 votes
Chander Inguva
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 5, 2016

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%';

Suggest an answer

Log in or Sign up to answer