Replace issue field option
DELETE
/rest/api/3/field/{fieldKey}/option/{optionId}/issue
Issue custom field options (apps)
overrideScreenSecurity
and overrideEditableFlag
.Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request DELETE 'http://jira.local:8080/jira/rest//rest/api/3/field//option//issue'
Response Response Example
303 - Success
{
"self": "https://your-domain.atlassian.net/rest/api/3/task/1",
"id": "1",
"description": "Remove option 1 from issues matched by '*', and replace with option 3",
"status": "COMPLETE",
"result": {
"modifiedIssues": [
10001,
10010
],
"unmodifiedIssues": [
10005
],
"errors": {
"errors": {},
"errorMessages": [
"Option 2 cannot be set on issue MKY-5 as it is not in the correct scope"
],
"httpStatusCode": {
"empty": false,
"present": true
}
}
},
"elapsedRuntime": 42
}
Request
Path Params
fieldKey
stringÂ
required
fieldKey
value, do one of the following:jiraIssueFields
module. app-key can also be found in the app listing in the Atlassian Universal Plugin Manager.key
. For example, "key": "teams-add-on__team-issue-field"
optionId
integerÂ
required
Query Params
replaceWith
integerÂ
optional
jql
stringÂ
optional
overrideScreenSecurity
stringÂ
optional
overrideEditableFlag
stringÂ
optional
Responses
Modified at 2023-07-13 03:27:27