Edit issue
PUT
/rest/api/3/issue/{issueIdOrKey}
Issues
update
and fields
. The fields that can be edited are determined using Get edit issue metadata.update.parent.set.none
to true. Note that the description
, environment
, and any textarea
type custom fields (multi-line text fields) take Atlassian Document Format content. Single line custom fields (textfield
) accept a string and don't handle Atlassian Document Format content.overrideScreenSecurity
and overrideEditableFlag
.Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PUT 'http://jira.local:8080/jira/rest//rest/api/3/issue/' \
--header 'Content-Type: application/json' \
--data-raw '{
"fields": {
"customfield_10000": {
"content": [
{
"content": [
{
"text": "Investigation underway",
"type": "text"
}
],
"type": "paragraph"
}
],
"type": "doc",
"version": 1
},
"customfield_10010": 1,
"summary": "Completed orders still displaying in pending"
},
"historyMetadata": {
"activityDescription": "Complete order processing",
"actor": {
"avatarUrl": "http://mysystem/avatar/tony.jpg",
"displayName": "Tony",
"id": "tony",
"type": "mysystem-user",
"url": "http://mysystem/users/tony"
},
"cause": {
"id": "myevent",
"type": "mysystem-event"
},
"description": "From the order testing process",
"extraData": {
"Iteration": "10a",
"Step": "4"
},
"generator": {
"id": "mysystem-1",
"type": "mysystem-application"
},
"type": "myplugin:type"
},
"properties": [
{
"key": "key1",
"value": "Order number 10784"
},
{
"key": "key2",
"value": "Order number 10923"
}
],
"update": {
"components": [
{
"set": ""
}
],
"labels": [
{
"add": "triaged"
},
{
"remove": "blocker"
}
],
"summary": [
{
"set": "Bug in business logic"
}
],
"timetracking": [
{
"edit": {
"originalEstimate": "1w 1d",
"remainingEstimate": "4d"
}
}
]
}
}'
Response Response Example
204 - Example 1
null
Request
Path Params
issueIdOrKey
stringÂ
required
Query Params
notifyUsers
stringÂ
optional
overrideScreenSecurity
stringÂ
optional
overrideEditableFlag
stringÂ
optional
Body Params application/json
Responses
Modified at 2023-07-13 03:27:27