Commands
lin template
Manage issue, project and document templates
Manage issue, project and document templates
lin template create
Create a template (templateData as raw JSON)
lin template createExample
lin template create --name "Bug report" --type issue --data '{"title":"Bug: ","priority":2}'| Flag | Type | Default | Description |
|---|---|---|---|
--data | string | - | templateData as raw JSON |
--description | string | - | template description |
--dry-run, -n | bool | false | print the intended operation and variables without executing |
--json | string | - | raw GraphQL input payload as JSON ('-' reads stdin); exclusive with per-field flags |
--name | string | - | template name |
--team, -t | string | - | team UUID (omit for workspace level) |
--type | string | - | template type: issue, project, document |
lin template delete
Delete a template (requires --confirm)
lin template delete <id>| Flag | Type | Default | Description |
|---|---|---|---|
--confirm | string | - | confirm the destructive action by repeating the resource id |
--dry-run, -n | bool | false | print the intended operation and variables without executing |
lin template get
Show one template including its templateData
lin template get <id>lin template list
List templates (workspace and team scoped)
lin template listlin template update
Update a template
lin template update <id>| Flag | Type | Default | Description |
|---|---|---|---|
--data | string | - | templateData as raw JSON |
--description | string | - | template description |
--dry-run, -n | bool | false | print the intended operation and variables without executing |
--name | string | - | template name |