linLinear CLI
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 create

Example

lin template create --name "Bug report" --type issue --data '{"title":"Bug: ","priority":2}'
FlagTypeDefaultDescription
--datastring-templateData as raw JSON
--descriptionstring-template description
--dry-run, -nboolfalseprint the intended operation and variables without executing
--jsonstring-raw GraphQL input payload as JSON ('-' reads stdin); exclusive with per-field flags
--namestring-template name
--team, -tstring-team UUID (omit for workspace level)
--typestring-template type: issue, project, document

lin template delete

Delete a template (requires --confirm)

lin template delete <id>
FlagTypeDefaultDescription
--confirmstring-confirm the destructive action by repeating the resource id
--dry-run, -nboolfalseprint 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 list

lin template update

Update a template

lin template update <id>
FlagTypeDefaultDescription
--datastring-templateData as raw JSON
--descriptionstring-template description
--dry-run, -nboolfalseprint the intended operation and variables without executing
--namestring-template name

On this page