dev/import-tool/docs/huly/README.md
The unified format represents workspace data in a hierarchical folder structure where:
settings.yaml is reserved and should not be used for spaces configurationclass property in frontmatter will be skippedSee the complete working example in the example workspace.
workspace/
├── Documentation/
│ ├── Getting Started.md # Standalone document
│ ├── User Guide.md # Document with children
│ ├── User Guide/ # Child documents folder
│ │ ├── Installation.md
│ │ └── Configuration.md
│ └── files/ # Attachments
│ └── architecture.png
├── Documentation.yaml # Space configuration
├── Project Alpha/
│ ├── 1.Project Setup.md # Issue with subtasks
│ ├── 1.Project Setup/ # Subtasks folder
│ │ ├── 2.Configure CI.md
│ │ └── 3.Setup Tests.md
│ ├── 4.Update Docs.md # Standalone issue
│ └── files/
│ └── diagram.png # Can be referenced in markdown content
└── Project Alpha.yaml # Project configuration
├── QMS Documents/ # QMS documentation
│ ├── [SOP-001] Document Control.md # Document template
│ ├── [SOP-001] Document Control/ # Template implementations
│ │ └── [SOP-002] Document Review.md # Controlled document
│ └── [WI-001] Document Template Usage.md # Standalone controlled document
└── QMS Documents.yaml # QMS space configuration
Example: Project Alpha.yaml:
class: tracker:class:Project # Required
title: Project Alpha # Required
identifier: ALPHA # Required, max 5 uppercase letters/numbers, must start with a letter
private: false # Optional, default: false
autoJoin: true # Optional, default: true
owners: # Optional, list of email addresses
- [email protected]
members: # Optional, list of email addresses
- [email protected]
description: string # Optional
defaultIssueStatus: Todo # Optional
Example: 1.Project Setup.md:
---
class: tracker:class:Issue # Required
title: Project Setup # Required
status: In Progress # Required
priority: High # Optional
assignee: John Smith # Optional
estimation: 8 # Optional, in hours
remainingTime: 4 # Optional, in hours
---
Task description in Markdown...
ALPHA and issue 1.Setup Project.md, the issue ID will be ALPHA-1Issue status values:
BacklogTodoIn ProgressDoneCanceledIssue priority values:
LowMediumHighUrgentExample: Documentation.yaml:
class: document:class:Teamspace # Required
title: Documentation # Required
private: false # Optional, default: false
autoJoin: true # Optional, default: true
owners: # Optional, list of email addresses
- [email protected]
members: # Optional, list of email addresses
- [email protected]
description: string # Optional
Example: Getting Started.md:
---
class: document:class:Document # Required
title: Getting Started Guide # Required
---
# Content in Markdown format
QMS Document Space: QMS Documents.yaml:
class: documents:class:OrgSpace # Required
title: QMS Documents # Required
private: false # Optional, default: false
owners: # Optional, list of email addresses
- [email protected]
members: # Optional, list of email addresses
- [email protected]
description: string # Optional
qualified: [email protected] # Optional, qualified user
manager: [email protected] # Optional, QMS manager
qara: [email protected] # Optional, QA/RA specialist
Example: [SOP-001] Document Control.md:
---
class: documents:mixin:DocumentTemplate # Required
title: SOP Template # Required
docPrefix: SOP # Required, document code prefix
category: documents:category:Procedures # Required
author: John Smith # Required
owner: Jane Wilson # Required
abstract: Template description # Optional
reviewers: # Optional
- [email protected]
approvers: # Optional
- [email protected]
coAuthors: # Optional
- [email protected]
---
Template content in Markdown...
Example: [SOP-002] Document Review.md:
---
class: documents:class:ControlledDocument # Required
title: Document Review Procedure # Required
template: [SOP-001] Document Control.md # Required, path to template
author: John Smith # Required
owner: Jane Wilson # Required
abstract: Document description # Optional
reviewers: # Optional
- [email protected]
approvers: # Optional
- [email protected]
coAuthors: # Optional
- [email protected]
changeControl: # Optional
description: Initial document creation
reason: Need for standardized process
impact: Improved document control
---
Document content in Markdown...
[CODE] Any File Name.mdSOP-99)TMPL-seqNumber, where seqNumber is the sequence number of the template in the spacedocker run \
-e FRONT_URL="https://huly.app" \
-v /path/to/workspace:/data \
hardcoreeng/import-tool:latest \
-- bundle.js import /data \
--user [email protected] \
--password yourpassword \
--workspace workspace-id
Draft status