Update issue field option
PUT
/rest/api/3/field/{fieldKey}/option/{optionId}
Issue custom field options (apps)
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PUT 'http://jira.local:8080/jira/rest//rest/api/3/field//option/' \
--header 'Content-Type: application/json' \
--data-raw '{
"config": {
"attributes": [],
"scope": {
"global": {},
"projects": [],
"projects2": [
{
"attributes": [
"notSelectable"
],
"id": 1002
},
{
"attributes": [
"notSelectable"
],
"id": 1001
}
]
}
},
"id": 1,
"properties": {
"description": "The team'\''s description",
"founded": "2016-06-06",
"leader": {
"email": "lname@example.com",
"name": "Leader Name"
},
"members": 42
},
"value": "Team 1"
}'
Response Response Example
200 - Success
{"id":1,"value":"Team 1","properties":{"leader":{"name":"Leader Name","email":"lname@example.com"},"members":42,"description":"The team's description","founded":"2016-06-06"},"config":{"scope":{"projects":[],"projects2":[{"id":1002,"attributes":["notSelectable"]},{"id":1001,"attributes":["notSelectable"]}],"global":{}},"attributes":[]}}
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
Body Params application/json