InternalCreate a new instance of the service.
Associate projects to field association schemes.
Permissions required: Administer Jira global permission.
Request for associating field schemes to projects.
status: 200, mediaType: application/json
Returned if the association was successful.
example:
{ "results": [ { "projectId": 10001, "schemeId": 10000, "success": true }, { "projectId": 10002, "schemeId": 10001, "success": true } ] }
* status: 204, mediaType: application/json
The request completed successfully. No additional content will be sent in the response.
* status: 207, mediaType: application/json
Returned if the association was partially successful.
example:
{ "results": [ { "projectId": 10001, "schemeId": 10000, "success": true }, { "error": "Project #10001 doesn't exist", "projectId": 10002, "schemeId": 10001, "success": false } ] }
Endpoint for creating a new field association scheme.
Permissions required: Administer Jira global permission.
The request containing the name and description of the field association scheme
Returned if the creation was successful.
example:
{
"description": "Field association scheme description",
"id": 10000,
"links": {
"associations": "{BASE_API_URL}/rest/api/2/config/fieldschemes/9/associations",
"projects": "{BASE_API_URL}/rest/api/2/config/fieldschemes/9/projects"
},
"name": "Field association scheme name"
}
Delete a specified field association scheme
Permissions required: Administer Jira global permission.
The ID of the field association scheme to delete.
Returned if the field association scheme deletion was successful.
example:
{
"deleted": true,
"id": "10000"
}
Endpoint for fetching a field association scheme by its ID
Permissions required: Administer Jira global permission.
The scheme id to fetch
Returned if a field association scheme matches the given scheme ID
example:
{
"description": "This is a field association scheme",
"id": "123",
"isDefault": false,
"links": {
"associations": "rest/api/3/config/fieldschemes/10000/associations",
"projects": "rest/api/3/config/fieldschemes/10000/projects"
},
"name": "Scheme"
}
Retrieve field association parameters on a field association scheme
Permissions required: Administer Jira global permission.
the ID of the field
the ID of the field association scheme to retrieve parameters for
Returned if the parameters fetched were successful.
example:
{
"fieldId": "customfield_10000",
"parameters": {
"description": "Teams field",
"isRequired": true
},
"workTypeParameters": [
{
"description": "Teams field",
"isRequired": false,
"workTypeId": 10010
}
]
}
REST endpoint for retrieving a paginated list of field association schemes with optional filtering.
This endpoint allows clients to fetch field association schemes with optional filtering by project IDs and text queries. The response includes scheme details with navigation links and filter metadata when applicable.
Filtering Behavior:
Permissions required: Administer Jira global permission.
OptionalmaxMaximum number of items to return per page (default: 50, max: 100)
Optionalproject(optional) List of project IDs to filter schemes by. If not provided, schemes from all projects are returned.
Optionalquery?: string(optional) Text filter for scheme name or description matching (case-insensitive). If not provided, no text filtering is applied.
OptionalstartZero-based index of the first item to return (default: 0)
Pagianted list of field association schemes
example:
{
"description": "Field Association Scheme test description",
"id": 1000,
"isDefault": false,
"links": {
"associations": "rest/api/3/config/fieldschemes/10000/associations",
"projects": "rest/api/3/config/fieldschemes/10000/projects"
},
"matchedFilters": {
"projectIds": [
10001,
10002
],
"query": "query"
},
"name": "Field Association Scheme test name"
}
Get projects with field association schemes. This will be a temporary API but useful when transitioning from the legacy field configuration APIs to the new ones.
Permissions required: Administer Jira global permission.
OptionalmaxThe maximum number of projects to return per page, maximum allowed value is 100.
List of project ids to filter the results by.
OptionalstartThe starting index of the returned projects. Base index: 0.
Returns the list of project with field association schemes.
example:
{
"isLast": true,
"maxResults": 3,
"startAt": 0,
"total": 3,
"values": [
{
"projectId": 10000,
"schemeId": 1
},
{
"projectId": 10001,
"schemeId": 1
},
{
"projectId": 10002,
"schemeId": 2
}
]
}
Remove field association parameters overrides for work types.
Permissions required: Administer Jira global permission.
status: 204, mediaType: application/json
The request completed successfully. No additional content will be sent in the response.
status: 207, mediaType: application/json
Returned if the removal was partially successful.
example:
{ "results": [ { "error": { "code": "FIELD_IS_NOT_ASSOCIATED", "message": "The field 'customfield_10000' is not associated with the scheme '10000'." }, "fieldId": "customfield_10000", "schemeId": 10000, "success": false, "workTypeIds": [ 1, 2 ] }, { "fieldId": "description", "schemeId": 10001, "success": true, "workTypeIds": [ 3 ] } ] }
Remove fields associated with field association schemes.
Permissions required: Administer Jira global permission.
The request containing the schemes and fields to be removed.
Request item for removing field associations.
status: 200, mediaType: application/json
Returned if the field association update was successful.
example:
{ "results": [ { "fieldId": "customfield_10000", "schemeId": 10000, "success": true }, { "fieldId": "customfield_10001", "schemeId": 10002, "success": true } ] }
* status: 204, mediaType: application/json
The request completed successfully. No additional content will be sent in the response.
* status: 207, mediaType: application/json
Returned if the field association update was partially successful.
example:
{ "results": [ { "fieldId": "customfield_10000", "schemeId": 10000, "success": true }, { "error": "Scheme 10001 doesn't exist", "fieldId": "customfield_10001", "schemeId": 10001, "success": false } ] }
Search for fields belonging to a given field association scheme.
Permissions required: Administer Jira global permission.
OptionalfieldThe field IDs to filter by, if empty then all fields belonging to a field association scheme will be returned
The scheme ID to search for child fields
OptionalmaxThe maximum number of fields to return per page, maximum allowed value is 100.
OptionalstartThe starting index of the returned fields. Base index: 0.
Returns the matching fields, at the specified page of the results.
example:
{
"allowedOperations": [
"REMOVE",
"CHANGE_REQUIRED",
"CHANGE_DESCRIPTION"
],
"fieldId": "customfield_10000",
"parameters": {
"description": "text",
"isRequired": true
},
"restrictedToWorkTypes": [
"1",
"2"
],
"workTypeParameters": [
{
"description": "text",
"isRequired": true,
"workTypeId": "1"
},
{
"description": "textarea",
"isRequired": false,
"workTypeId": "2"
}
]
}
REST Endpoint for searching for projects belonging to a given field association scheme
Permissions required: Administer Jira global permission.
The scheme id to search for associated projects
OptionalmaxThe maximum number of projects to return per page, maximum allowed value is 100.
OptionalprojectThe project Ids to filter by, if empty then all projects belonging to a field association scheme will be returned
OptionalstartThe starting index of the returned projects. Base index: 0.
Returns a paginated list of projects associated with the field association scheme, matching the specified filter criteria.
Endpoint for updating an existing field association scheme.
Permissions required: Administer Jira global permission.
The request containing the desired updates to the field association scheme
Returned if the update was successful.
example:
{
"description": "Field association scheme description",
"id": 10000,
"links": {
"associations": "{BASE_API_URL}/rest/api/2/config/fieldschemes/9/associations",
"projects": "{BASE_API_URL}/rest/api/2/config/fieldschemes/9/projects"
},
"name": "Field association scheme name"
}
Update field association item parameters in field association schemes.
Permissions required: Administer Jira global permission.
The request containing the field association scheme id and the parameters to update.
{
"customfield_10000": [
{
"parameters": {
"description": "Field description",
"isRequired": true
},
"schemeIds": [
10000,
10001
],
"workTypeParameters": [
{
"description": "Description for Bug",
"isRequired": false,
"workTypeId": 10002
}
]
}
],
"customfield_10001": [
{
"schemeIds": [
10001
],
"workTypeParameters": [
{
"description": "Description for Bug",
"isRequired": false,
"workTypeId": 10002
},
{
"description": "Description for Task",
"isRequired": true,
"workTypeId": 10003
}
]
}
]
}
status: 200, mediaType: application/json
Returned if the field parameter update was successful.
example:
{ "results": [ { "fieldId": "customfield_10000", "schemeId": 10000, "success": true }, { "fieldId": "customfield_10001", "schemeId": 10002, "success": true, "workTypeId": 10001 } ] }
* status: 204, mediaType: application/json
The request completed successfully. No additional content will be sent in the response.
* status: 207, mediaType: application/json
Returned if the field parameter update was partially successful.
example:
{ "results": [ { "fieldId": "customfield_10000", "schemeId": 10000, "success": true }, { "error": "Scheme 10001 doesn't exist", "fieldId": "customfield_10001", "schemeId": 10001, "success": false, "workTypeId": 10001 } ] }
Update fields associated with field association schemes.
Permissions required: Administer Jira global permission.
The request containing the schemes and work types to associate each field with.
status: 200, mediaType: application/json
Returned if the field association update was successful.
example:
{ "results": [ { "fieldId": "customfield_10000", "schemeId": 10000, "success": true, "workTypeIds": [ 1, 2 ] }, { "fieldId": "customfield_10001", "schemeId": 10002, "success": true, "workTypeIds": [] } ] }
* status: 204, mediaType: application/json
The request completed successfully. No additional content will be sent in the response.
* status: 207, mediaType: application/json
Returned if the field association update was partially successful.
example:
{ "results": [ { "fieldId": "customfield_10000", "schemeId": 10000, "success": true, "workTypeIds": [ 1 ] }, { "error": "Scheme 10001 doesn't exist", "fieldId": "customfield_10001", "schemeId": 10001, "success": false, "workTypeIds": [ 2 ] } ] }
Protected Staticinitialize
This resource represents field schemes which are replacing field configuration schemes to control field associations. They are currently in beta and only available to customers who have opted-in to the beta program. For more information see RFC-103: Jira Field Configuration Overhaul: Admin Experience and API Changes
See
https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-field-schemes