Skip to content

[Feat/#603] " 세부 과제 다수 담당자 설정 API 500 에러 수정 및 스웨거 업데이트 " - #604

Merged
JungMINI-developer merged 1 commit into
developfrom
feature/issue-603
Aug 10, 2026
Merged

JungMINI-developer merged 1 commit into
developfrom
feature/issue-603

Conversation

@junu999

@junu999 junu999 commented Aug 10, 2026 •

Copy link
Copy Markdown
Collaborator

📌 관련 이슈번호

📌 PR 유형

어떤 변경 사항이 있나요?

  • 새 기능 추가
  • 버그 수정
  • 리팩토링

📌 PR 요약

세부 과제 담당자를 다수로 설정할 때 발생하던 500 에러 해결, 과제 상세 조회 API의 스웨거를 다수 담당자 배열 구조에 맞게 최신화.

📌 작업 세부 내용

  1. 500 에러 원인 해결: task.service.js의 setSubTaskAssignee 메서드 내 알림 생성 로직에서 잘못 참조된 변수 오타 및 미선언 변수 참조 문제 해결.
  2. Swagger 문서 최신화: swagger.yml의 과제 상세 조회 API 응답 예시에서 기존 단일 담당자 필드를 제거하고, assignees 배열 구조로 문서 업데이트.

📸 스크린샷 (선택)

image image

🔗 참고 자료

Summary by CodeRabbit

  • 버그 수정

    • 세부 과제의 담당자가 변경되면 지정된 모든 담당자에게 알림이 생성되도록 개선했습니다.
    • 담당자가 없거나 알림 및 마감일이 설정되지 않은 경우 불필요한 알림이 생성되지 않습니다.
  • 문서

    • 과제 상세 조회 결과에서 세부 과제 담당자 정보가 단일 값이 아닌 여러 담당자를 지원하는 배열 형식으로 업데이트되었습니다.
    • 담당자가 없는 세부 과제도 빈 배열로 일관되게 표시됩니다.

@junu999
junu999 requested a review from songwol38 August 10, 2026 08:44
@junu999 junu999 self-assigned this Aug 10, 2026
@junu999 junu999 linked an issue Aug 10, 2026 that may be closed by this pull request
@coderabbitai

coderabbitai Bot commented Aug 10, 2026 •

Copy link
Copy Markdown

Review Change Stack

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Free

Run ID: ae434403-65d0-4ebb-8ffd-5c23db8d40b9

📥 Commits

Reviewing files that changed from the base of the PR and between 0f018f8 and 26dfe4c.

📒 Files selected for processing (2)
  • src/services/task.service.js
  • src/swagger/swagger.yml

📝 Walkthrough

Walkthrough

담당자 변경 시 변경된 전체 담당자에게 알림을 생성하도록 로직을 수정했습니다. 과제 상세 조회 응답 예시는 단일 담당자 필드 대신 assignees 배열을 사용합니다.

Changes

담당자 변경 처리

Layer / File(s) Summary
전체 담당자 알림 처리
src/services/task.service.js
담당자 목록이 비어 있지 않고 알림 및 마감일이 설정된 경우, 변경된 전체 담당자 할당 목록을 순회해 알림을 생성합니다.
다중 담당자 응답 예시
src/swagger/swagger.yml
과제 상세 조회 응답 예시에서 단일 담당자 필드를 제거하고, 담당자 정보가 포함된 assignees 배열을 사용합니다. 빈 배열과 다중 담당자 배열 예시를 포함합니다.

Estimated code review effort: 2 (Simple) | ~10 minutes


Note

🎁 Summarized by CodeRabbit Free

Your organization is on the Free plan. CodeRabbit will generate a high-level summary and a walkthrough for each pull request. For a comprehensive line-by-line review, please upgrade your subscription to CodeRabbit Pro by visiting https://app.coderabbit.ai/login.

Comment @coderabbitai help to get the list of available commands.

@JungMINI-developer
JungMINI-developer merged commit eb1b33a into develop Aug 10, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feat] 세부 과제 다중 담당자 할당

2 participants