JIRA REST API: Create Issues via API, required fields

Hi, can somebody help me to find out how can I get a list of all required fields for creating an issue?

There's https://example.atlassian.net/rest/api/2/field API that returns a list of fields, but we can not see there what fields are required for a specific project, for example for a project, the "components" are required, for another - no?

 

Is there a possibility to check the required fields to create an issue?

Thank you!

1 answer

There are some tutorials on the developer site which deal with exactly your question:

JIRA REST API Example - Create Issue 

and

JIRA REST API Example - Discovering meta-data for creating issues 

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Thursday in Jira

5 ways you can make the most of Jira Software and Bitbucket Cloud

As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...

64 views 0 5
Read article

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