@extends('layouts.app') @section('title', 'JSON Import') @section('content')
{{-- 헤더 --}}

JSON Import

JSON 파일로 프로젝트, 작업, 이슈를 일괄 등록합니다.

대시보드로
{{-- 왼쪽: Import 입력 --}}
{{-- Import 모드 선택 --}}

Import 모드

{{-- 기존 프로젝트 선택 (existing 모드) --}}
{{-- JSON 입력 --}}

JSON 입력

{{-- 파일 업로드 --}}
{{-- 액션 버튼 --}}
{{-- 오른쪽: 도움말 --}}
{{-- 결과/상태 표시 --}} {{-- JSON 구조 가이드 --}}

JSON 구조 가이드

새 프로젝트 생성

{
  "project": {
    "name": "프로젝트명 (필수)",
    "description": "설명",
    "status": "active|completed|on_hold",
    "start_date": "2025-01-01",
    "end_date": "2025-03-31"
  },
  "tasks": [
    {
      "title": "작업 제목 (필수)",
      "description": "작업 설명",
      "status": "todo|in_progress|done",
      "priority": "low|medium|high",
      "is_urgent": false,
      "due_date": "2025-01-15",
      "assignee_id": null,
      "issues": [
        {
          "title": "이슈 제목 (필수)",
          "description": "이슈 설명",
          "type": "bug|feature|improvement",
          "status": "open|in_progress|resolved|closed",
          "start_date": "2025-01-01",
          "due_date": "2025-01-15",
          "estimated_hours": 8,
          "is_urgent": false,
          "department_id": null,
          "team": "개발팀",
          "assignee_id": null,
          "assignee_name": "홍길동",
          "client": "고객사명"
        }
      ]
    }
  ]
}

기존 프로젝트에 작업 추가

{
  "tasks": [
    {
      "title": "추가할 작업",
      "priority": "high",
      "is_urgent": true,
      "issues": [...]
    }
  ]
}
{{-- 필드 설명 --}}

필드 설명

프로젝트 상태

  • active - 진행중
  • completed - 완료
  • on_hold - 보류

작업 상태

  • todo - 예정
  • in_progress - 진행중
  • done - 완료

우선순위

  • low - 낮음
  • medium - 보통
  • high - 높음

이슈 타입

  • bug - 버그
  • feature - 기능
  • improvement - 개선

이슈 상태

  • open - 대기중
  • in_progress - 처리중
  • resolved - 해결됨
  • closed - 종료

담당자/팀 (하이브리드)

  • department_id - 부서 ID (DB 연동)
  • team - 팀명 (문자열 직접 입력)
  • assignee_id - 담당자 ID (DB 연동)
  • assignee_name - 담당자명 (문자열)
  • client - 고객사명

기타 필드

  • is_urgent - 긴급 여부 (true/false)
  • estimated_hours - 예상 소요시간 (시간)
  • start_date - 시작일 (YYYY-MM-DD)
  • due_date - 마감일 (YYYY-MM-DD)
{{-- 알림 토스트 --}} @endsection @push('scripts') @endpush