Jira 이슈 해결 사이클. 'WRBO-N 처리해', 'Jira 이슈 해결', '이슈 읽고 수정해' 등 Jira 이슈 기반 작업 시 반드시 사용. 이슈 읽기 → 코드 분석/수정 → 커밋 → Jira에 해결 댓글 작성 + 유사 이슈 검토 + 상태 변경까지 end-to-end 실행.
Jira API로 이슈 상세 조회:
curl -s -u "{JIRA_EMAIL}:{JIRA_API_TOKEN}" \
"https://whirik.atlassian.net/rest/api/3/issue/{이슈키}?fields=summary,description,comment,attachment,status,priority"
추출할 정보:
이슈 내용(제목, 설명, 페이지 URL)을 분석하여 프론트/백엔드를 판별하고 담당자를 할당한다.
분류 기준:
| 키워드/패턴 | 분류 | 담당자 |
|---|---|---|
| UI, 화면, 버튼, 표시, 레이아웃, 컬럼, 필터, 소팅 | 프론트 |
| 조창현 |
| 페이지 URL만 있고 서버 에러 없음 | 프론트 | 조창현 |
| API 에러, 500, 403, DB, 권한, 서버 | 백엔드 | 손계원 |
| request_id, 로그 에러 | 백엔드 | 손계원 |
| 프론트+백엔드 모두 필요 | 백엔드 | 손계원 (프론트 작업은 별도 요청) |
Jira 담당자 ID:
712020:4408e3ac-e473-442c-8c29-e5e2c8b6e281712020:da49cb99-bfb1-42e6-aabe-ed400d083d32할당 API:
curl -s -X PUT -u "{email}:{token}" -H "Content-Type: application/json" \
-d '{"accountId":"{담당자_accountId}"}' \
"https://whirik.atlassian.net/rest/api/3/issue/{이슈키}/assignee"
curl -s -X POST -u "{email}:{token}" -H "Content-Type: application/json" \
-d '{"transition":{"id":"21"}}' \
"https://whirik.atlassian.net/rest/api/3/issue/{이슈키}/transitions"
전이 ID:
수정 완료 후 Jira에 댓글을 남긴다. 댓글 구조:
[Claude] 해결 완료
커밋: {커밋 메시지 제목}
브랜치: deploy
릴리즈: v{버전} (해당 시)
수정 내용:
- {변경 파일 1}: {변경 설명}
- {변경 파일 2}: {변경 설명}
해결 방법:
{간단한 해결 방법 설명 2~3줄}
API 호출:
curl -s -X POST -u "{email}:{token}" -H "Content-Type: application/json" \
-d '{
"body": {
"type": "doc", "version": 1,
"content": [
{"type": "heading", "attrs": {"level": 3},
"content": [{"type": "text", "text": "[Claude] 해결 완료"}]},
{"type": "paragraph",
"content": [{"type": "text", "text": "{해결 내용}"}]}
]
}
}' \
"https://whirik.atlassian.net/rest/api/3/issue/{이슈키}/comment"
같은 프로젝트에서 유사한 이슈가 있는지 JQL로 검색:
curl -s -u "{email}:{token}" \
"https://whirik.atlassian.net/rest/api/3/search/jql?jql=project=WRBO+AND+text~\"{키워드}\"+ORDER+BY+created+DESC&maxResults=5&fields=summary,status"
유사 이슈가 있으면 추가 댓글:
[Claude] 유사 이슈 검토
관련 가능성 있는 이슈:
- WRBO-N: {제목} (상태: {상태}) — {관련성 설명}
- WRBO-M: {제목} (상태: {상태}) — {관련성 설명}
동일 원인인 경우 함께 해결되었을 수 있습니다.
curl -s -X POST -u "{email}:{token}" -H "Content-Type: application/json" \
-d '{"transition":{"id":"31"}}' \
"https://whirik.atlassian.net/rest/api/3/issue/{이슈키}/transitions"