Update Ticket Title

Updates the title of a specified ticket.

HTTP Request

PUT /api/sonar/tickets/:guid/title
Request using cURL
curl -H "Authorization: Bearer <API_KEY>" \    
     -d title="Updated title" \
     -X PUT \
     https://HOSTNAME/api/sonar/tickets/201dc306-5ef7-4d4f-b872-1fa0f4d7dc56/title
Request Parameters
KeyRequiredTypeDescriptionNote
guidOStringTicket GUID36 characters
titleOStringTicket titleMinimum 1 to maximum 255 characters

Success Response

{}

Error Responses

Required argument is missing

HTTP status code 400

{
    "error_code": "null-argument",
    "error_msg": "title should be not null"
}
Ticket identifier is not in valid GUID format

HTTP status code 400

{
    "error_code": "invalid-param-type",
    "error_msg": "guid should be guid type."
}
Invalid argument length

HTTP status code 400

{
    "error_code": "invalid-argument",
    "error_msg": "'title' must be shorter than or equal to 255 characters."
}
Ticket is not found

HTTP status code 500

{
    "error_code": "illegal-state",
    "error_msg": "ticket not found: 201dc306-5ef7-4d4f-b872-1fa0f4d7dc57"
}