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

JSON Import

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

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

Import 모드

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

JSON 입력

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

JSON 구조 가이드

새 프로젝트 생성

{
  "project": {
    "name": "SAM 시스템 개발",
    "description": "프로젝트 설명입니다",
    "status": "active",
    "start_date": "2025-01-01",
    "end_date": "2025-03-31"
  },
  "tasks": [
    {
      "title": "API 개발",
      "description": "REST API 엔드포인트 구현",
      "status": "in_progress",
      "priority": "high",
      "is_urgent": false,
      "due_date": "2025-01-15",
      "assignee_id": null,
      "assignee_name": "김개발",
      "issues": [
        {
          "title": "사용자 인증 구현",
          "description": "JWT 기반 인증 시스템",
          "type": "feature",
          "status": "open",
          "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": [...]
    }
  ]
}

기존 작업에 이슈 추가

{
  "issues": [
    {
      "title": "Phase 1: 견적관리",
      "description": "공수: 1.75일",
      "type": "feature",
      "status": "open",
      "start_date": "2024-11-27",
      "due_date": "2024-11-28",
      "estimated_hours": 14,
      "team": "개발팀"
    },
    {
      "title": "Phase 2: 기준정보-견적수식",
      "description": "공수: 0.3일",
      "type": "feature",
      "status": "open",
      "start_date": "2024-11-28",
      "due_date": "2024-12-01"
    }
  ]
}
{{-- 필드 설명 --}}

필드 설명

프로젝트 상태

  • 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