Internal
Create a new instance of the service.
Returns a paginated list of configurations for a custom field of a type created by a Forge app.
The result can be filtered by one of these criteria:
id
.fieldContextId
.issueId
.projectKeyOrId
and issueTypeId
.Otherwise, all configurations are returned.
Permissions required: Administer Jira global permission. Jira permissions are not required for the Forge app that provided the custom field type.
Optional
fieldThe list of field context IDs. To include multiple field contexts, separate IDs
with an ampersand: fieldContextId=10000&fieldContextId=10001
. Can't be
provided with id
, issueId
, projectKeyOrId
, or issueTypeId
.
The ID or key of the custom field, for example customfield_10000
.
Optional
id?: number[]The list of configuration IDs. To include multiple configurations, separate IDs
with an ampersand: id=10000&id=10001
. Can't be provided with
fieldContextId
, issueId
, projectKeyOrId
, or issueTypeId
.
Optional
issueThe ID of the issue to filter results by. If the issue doesn't exist, an empty
list is returned. Can't be provided with projectKeyOrId
, or issueTypeId
.
Optional
issueThe ID of the issue type to filter results by. Must be provided with
projectKeyOrId
. Can't be provided with issueId
.
Optional
maxThe maximum number of items to return per page.
Optional
projectThe ID or key of the project to filter results by. Must be provided with
issueTypeId
. Can't be provided with issueId
.
Optional
startThe index of the first item to return in a page of results (page offset).
Returned if the request is successful.
example:
{
"isLast": true,
"maxResults": 1000,
"startAt": 0,
"total": 2,
"values": [
{
"id": "10000",
"fieldContextId": "10010"
},
{
"id": "10001",
"fieldContextId": "10011",
"configuration": {
"minValue": 0,
"maxValue": 10000
},
"schema": {
"properties": {
"amount": {
"type": "number"
},
"currency": {
"type": "string"
}
},
"required": [
"amount",
"currency"
]
}
}
]
}
Returns a paginated list of configurations for list of custom fields of a type created by a Forge app.
The result can be filtered by one of these criteria:
id
.fieldContextId
.issueId
.projectKeyOrId
and issueTypeId
.Otherwise, all configurations for the provided list of custom fields are returned.
Permissions required: Administer Jira global permission. Jira permissions are not required for the Forge app that provided the custom field type.
Optional
fieldThe list of field context IDs. To include multiple field contexts, separate IDs
with an ampersand: fieldContextId=10000&fieldContextId=10001
. Can't be
provided with id
, issueId
, projectKeyOrId
, or issueTypeId
.
Optional
id?: number[]The list of configuration IDs. To include multiple configurations, separate IDs
with an ampersand: id=10000&id=10001
. Can't be provided with
fieldContextId
, issueId
, projectKeyOrId
, or issueTypeId
.
Optional
issueThe ID of the issue to filter results by. If the issue doesn't exist, an empty
list is returned. Can't be provided with projectKeyOrId
, or issueTypeId
.
Optional
issueThe ID of the issue type to filter results by. Must be provided with
projectKeyOrId
. Can't be provided with issueId
.
Optional
maxThe maximum number of items to return per page.
Optional
projectThe ID or key of the project to filter results by. Must be provided with
issueTypeId
. Can't be provided with issueId
.
Optional
startThe index of the first item to return in a page of results (page offset).
Returned if the request is successful.
example:
{
"isLast": true,
"maxResults": 1000,
"startAt": 0,
"total": 2,
"values": [
{
"customFieldId": "customfield_10035",
"fieldContextId": "10010",
"id": "10000"
},
{
"configuration": {
"maxValue": 10000,
"minValue": 0
},
"customFieldId": "customfield_10036",
"fieldContextId": "10011",
"id": "10001",
"schema": {
"properties": {
"amount": {
"type": "number"
},
"currency": {
"type": "string"
}
},
"required": [
"amount",
"currency"
]
}
}
]
}
Update the configuration for contexts of a custom field of a type created by a Forge app.
Permissions required: Administer Jira global permission. Jira permissions are not required for the Forge app that created the custom field type.
The ID or key of the custom field, for example customfield_10000
.
Returned if the request is successful.
Protected
Static
initialize
This resource represents configurations stored against a custom field context by a Forge app. Configurations are information used by the Forge app at runtime to determine how to handle or process the data in a custom field in a given context. Use this resource to set and read configurations.
See
https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-custom-field-configuration-apps-