I am using REST API to create issue. and I like to get all the fields of JIRA issue so I can map our defect tracking system fields to JIRA fields and create JIRA issues
In the Create Issue JSON object, how do I get all the required fields for the JIRA issue?
for example: string data = "{\"fields\":{\"project\":{\"key\":\"CQT\"},\"summary\":\"Sample issue\",\"description\":\"Creating an issue via REST API\",\"issuetype\":{\"name\":\"Bug\"}}}";
I can tell, project, summary, description, issuetype are the fields for Issue.
How do I get the rest of fields of Jira Issue?
Community moderators have prevented the ability to post new answers.
Use the createmeta API: https://docs.atlassian.com/jira/REST/latest/#d2e1079
This will give you all the fields, along with its metadata.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.