P

Power Issue To Linear

Streamline your workflow with this convert, individual, github, issues. Includes structured workflows, validation checks, and reusable patterns for sync.

CommandClipticssyncv1.0.0MIT
0 views0 copies

Power Issue To Linear

Convert individual GitHub issues to Linear tasks with comprehensive field mapping, metadata preservation, and bidirectional reference linking.

When to Use This Command

Run this command when...

  • You need to convert a specific GitHub issue to a Linear task with precise control over field mapping, team assignment, and project placement
  • You want to preserve all metadata including labels, assignees, comments, and linked pull requests during the conversion
  • Your workflow requires creating Linear tasks from GitHub issues on-demand with automatic cross-referencing between platforms

Do NOT use this command when...

  • You need to migrate many issues at once -- use the bulk import command for batch operations
  • You want ongoing synchronization -- use the bidirectional invoker for continuous sync

Quick Start

# .claude/commands/power-issue-to-linear.md # Convert GitHub issue to Linear task Convert: $ARGUMENTS
# Run the command claude "power-issue-to-linear convert issue #142 to Linear task in Backend team with High priority"
Expected output:
- Linear task created with mapped title and description
- Labels converted from GitHub to Linear equivalents
- Assignee mapped to Linear team member
- Comments transferred as Linear task comments
- Cross-reference links added to both platforms

Core Concepts

ConceptDescription
Field MappingConverting GitHub issue fields to their Linear task equivalents
Metadata PreservationCarrying over labels, assignees, milestones, and comments
Priority MappingTranslating GitHub priority labels to Linear priority levels
Cross-ReferencingAdding bidirectional links between the GitHub issue and Linear task
Comment TransferCopying issue discussion threads to the new Linear task
Conversion Pipeline:

  GitHub Issue #N
       |
  [Fetch Issue Data]
  |    |    |    |
 Title Body Labels Comments
  |    |    |    |
  [Map Fields to Linear]
       |
  [Create Linear Task]
       |
  [Transfer Comments]
       |
  [Add Cross-References]
       |
  Linear Task + Linked GitHub Issue

Configuration

ParameterDefaultDescription
Linear TeamRequiredTarget Linear team for the created task
PriorityAuto-map from labelsLinear priority level (Urgent, High, Medium, Low, None)
ProjectNoneOptional Linear project assignment
Comment TransferAll commentsWhether to transfer none, recent, or all comments
Cross-ReferenceBoth platformsAdd links on GitHub issue and Linear task

Best Practices

  1. Specify the target team -- Linear requires a team assignment. Always include which team should own the converted task in your arguments
  2. Map priority labels explicitly -- if your GitHub issues use labels like "P0" or "critical", mention how they should map to Linear's priority levels
  3. Include project context -- assigning the Linear task to a project and cycle during creation saves manual organization work later
  4. Transfer comments selectively -- for issues with long discussion threads, consider transferring only the most recent or most relevant comments
  5. Verify cross-references -- after conversion, check that both the GitHub issue and Linear task contain working links to each other

Common Issues

  1. Assignee not found in Linear -- GitHub usernames do not automatically match Linear accounts. Specify the Linear user or provide a username mapping
  2. Labels do not exist in Linear -- GitHub labels must exist in the target Linear team before they can be applied. Create them first or specify label mappings
  3. Markdown formatting differences -- GitHub and Linear use slightly different Markdown extensions. Complex formatting like task lists or mermaid diagrams may need manual adjustment
Community

Reviews

Write a review

No reviews yet. Be the first to review this template!

Similar Templates