티켓 중요도 수정

지정한 티켓의 중요도를 수정합니다.

HTTP 요청

PUT /api/sonar/tickets/:guid/priority
cURL 예시
curl -H "Authorization: Bearer <API_KEY>" \    
     -d priority=HIGH \
     -X PUT \
     https://HOSTNAME/api/sonar/tickets/201dc306-5ef7-4d4f-b872-1fa0f4d7dc56/priority
요청 매개변수
경로 매개변수
타입설명비고
guid문자열티켓 GUID36자
요청 본문 매개변수
필수타입설명비고
priorityO문자열중요도LOW, MEDIUM, HIGH 중 하나.

정상 응답

{}

오류 응답

필수 매개변수가 누락된 경우

HTTP 상태 코드 400 응답

{
    "error_code": "null-argument",
    "error_msg": "priority should be not null"
}
티켓 식별자가 GUID 형식이 아닌 경우

HTTP 상태 코드 400 응답

{
    "error_code": "invalid-param-type",
    "error_msg": "guid should be guid type."
}
티켓이 존재하지 않는 경우

HTTP 상태 코드 500 응답

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