Returns a list of Custom Fields in the given range.
Forge and OAuth2 apps cannot access this REST resource.
string
string
string
string
string
string
string
string
string
Returned if a custom field with the given customFieldId exists and user has permission to it.
1
2
3
4
curl --request GET \
--url 'http://{baseurl}/rest/api/2/customFields' \
--user 'email@example.com:<api_token>' \
--header 'Accept: application/json'1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{
"description": "Custom field for picking groups",
"id": "10000",
"isAllProjects": false,
"isLocked": false,
"isManaged": false,
"isTrusted": true,
"issueTypeIds": [
"1",
"2"
],
"issuesWithValue": 100,
"lastValueUpdate": "2018-11-01T12:00:00Z",
"name": "New custom field",
"numericId": 10000,
"projectIds": [
10000,
10001
],
"projectsCount": 2,
"screensCount": 3,
"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"
}Deletes custom fields in bulk.
Forge and OAuth2 apps cannot access this REST resource.
string
RequiredReturned if at least one custom field was deleted
1
2
3
4
curl --request DELETE \
--url 'http://{baseurl}/rest/api/2/customFields?ids={ids}' \
--user 'email@example.com:<api_token>' \
--header 'Accept: application/json'1
2
3
4
5
6
7
8
9
{
"deletedCustomFields": [
"customfield_10000"
],
"message": "Custom fields bulk delete operation finished.",
"notDeletedCustomFields": {
"customfield_10001": "Validation for custom field deletion failed."
}
}Returns custom field's options defined in a given context composed of projects and issue types.
Forge and OAuth2 apps cannot access this REST resource.
string
Requiredstring
string
string
string
string
string
string
Returned if a custom field with the given customFieldId exists and user has permission to it.
1
2
3
4
curl --request GET \
--url 'http://{baseurl}/rest/api/2/customFields/{customFieldId}/options' \
--user 'email@example.com:<api_token>' \
--header 'Accept: application/json'1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
{
"options": [
{
"childrenIds": [
4,
5
],
"disabled": false,
"id": 3,
"self": "http://localhost:8090/jira/rest/api/2.0/customFieldOption/3",
"value": "Blue"
}
],
"total": 1
}Rate this page: