Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Any documents of fields' schema for create issue and createmeta API?

haoyu900914 March 17, 2022

Is there a document lists all the field schema for create issue API and also the schema for the custom fields? 

There are 3 types of field 1. Jira field, which like ‘summary’ / ‘description’,

2. field like sprint and epic, belong to the custom field but is not real custom fields, and jira has agile server API to fetch the info.

3. real custom field which people can create in the Jira dashboard.

Screen Shot 2022-03-17 at 4.11.47 PM.png

Question:

For 1. does the example include all the Jira fields types?  

For 2. except sprint and epic, is their other field belonging to the custom field but Jira provide an API for searching the fields option?

For 3. Any document about custom field return schema, and the schema for set the value when create a ticket

 

Asking this because how to save the custom field when creating an issue is so different.
For sprint, we need to have { customfield-key:  sprintId}
For epic, we need to have {customfield-key:  epicKey}
For radio we need to have {customfield-key: { value: ‘gray’}}, I'm not sure if it's different for other custom fields. And I didn't find any documents about this.

And return value for fetch createmeta schema is also different. Some of it has allowedValues, some have an autoCompleteUrl, some others like sprint and epic return none of those. Is there any other corner case I didn't notice yet?

 

 

  

0 answers

Suggest an answer

Log in or Sign up to answer