Server
Jira Data Center / Reference / REST API
GET

Get all fields, both System and Custom

Returns a list of all fields, both System and Custom

Request

This request has no parameters.

Responses

Returns a list of all fields

application/json

FieldBean
GET/api/2/field
1 2 3 4 curl --request GET \ --url 'http://{baseurl}/rest/api/2/field' \ --user 'email@example.com:<api_token>' \ --header 'Accept: application/json'
POST

Create a custom field using a definition

Creates a custom field using a definition

Request

Request bodyapplication/json

description

string

id

string

issueTypeIds

array<string>

name

string

projectIds

array<integer>

searcherKey

string

self

string

type

string

Responses

Custom field was created

application/json

FieldBean
POST/api/2/field
1 2 3 4 5 curl --request POST \ --url 'http://{baseurl}/rest/api/2/field' \ --user 'email@example.com:<api_token>' \ --header 'Accept: application/json' \ --header 'Content-Type: application/json'

Rate this page: