Hi, I want to get the mandatory fields from my JIRA project. For example -
I have multiple projects in JIRA, so for creating issues in them some have some fields mandatory. For example- apart from title,description, reporter and assignee, if I have the field ‘components’ mandatory for a particular project then is there an api to get all the mandatory fields for a project?
So that the user knows that when he she wants to create an issue in the project then using that api all the mandatory fields are fetched first so that that issue is created.
Hello,
you might find what you want using this path: https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issues/#api-rest-api-3-issue-createmeta-projectidorkey-issuetypes-issuetypeid-get
In the field object, you’ll find if it is required or not.
Hey thanks a lot !!! for your help
One more help please can I add filters to this api like suppose for an issue type i only need the id and name for it and not other details.