Returns a list of all fields, both System and Custom
Forge and OAuth2 apps cannot access this REST resource.
This request has no parameters.
Returns a list of all fields
1
2
3
4
curl --request GET \
--url 'http://{baseurl}/rest/api/2/field' \
--user 'email@example.com:<api_token>' \
--header 'Accept: application/json'1
2
3
4
5
6
7
8
9
10
11
12
{
"clauseNames": [
"[description]"
],
"custom": false,
"id": "description",
"name": "Description",
"navigable": true,
"orderable": true,
"schema": {},
"searchable": true
}Creates a custom field using a definition
Forge and OAuth2 apps cannot access this REST resource.
string
string
array<string>
string
array<integer>
string
string
string
Custom field was created
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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' \
--data '{
"description": "Custom field for picking groups",
"id": "10000",
"issueTypeIds": [
"1",
"2"
],
"name": "New custom field",
"projectIds": [
10000,
10001
],
"searcherKey": "com.atlassian.jira.plugin.system.customfieldtypes:grouppickersearcher",
"self": "http://localhost:8090/jira/rest/api/2.0/customField/10000",
"type": "com.atlassian.jira.plugin.system.customfieldtypes:grouppicker"
}'1
2
3
4
5
6
7
8
9
10
11
12
{
"clauseNames": [
"[description]"
],
"custom": false,
"id": "description",
"name": "Description",
"navigable": true,
"orderable": true,
"schema": {},
"searchable": true
}Rate this page: