← 전체로 돌아가기
프로젝트 메모 api -home-son-prj-printer

프린터 앱 Jira 연동

프린터 앱, Jira 서브태스크 연동 범위 정리.

jiraapi-integrationproject-managementsubtask

프린터 앱 Jira 연동

왜 유저, 서브태스크 라이프사이클 프린터 앱에서 관리 원함. 에픽/태스크는 Jira에서 직접 관리함.

범위 영수증 출력 -> Jira 서브태스크 생성 앱에서 '완료' -> Jira status 연동 (Jira REST API PATCH transition 씀) 에픽, 태스크는 앱 관여 없이 Jira에서 직접 처리함.

어떻게 적용 향후 기능 설계 시 (DB 컬럼, API, UI) jira_key TEXT 필드, sync status flag 훅 고려. 인증은 유저별 Jira API token 저장 필요.

여기서 배울 것

  1. 앱에서 Jira 서브태스크만 관리, 메인 태스크는 Jira에 둠.
  2. Jira status 연동은 REST API PATCH transition으로 처리함.
  3. DB에 `jira_key` 필드, sync flag 추가 고려.
  4. 유저별 Jira API token으로 인증 처리.
원본 파일 보기 (.claude/projects/-home-son-prj-printer/memory/project_jira_integration.md)
---
name: Jira integration plan
description: Planned Jira integration scope for the printer app
type: project
---

Planned Jira integration for the printer app.

**Why:** User wants subtask lifecycle managed through the printer app, while epics/tasks stay in Jira directly.

**Scope:**
- Subtask creation: printing a receipt creates a Jira subtask
- Subtask done: marking done on this page syncs status back to Jira (e.g. via Jira REST API PATCH transition)
- Epics and tasks: managed directly in Jira, not through this app

**How to apply:** When designing future features (new DB columns, API endpoints, UI changes), consider leaving hooks for a Jira issue key field (e.g. `jira_key TEXT`) on print_jobs, and a sync status flag. Auth will likely need a Jira API token stored per user.