Issue Tracking
Shipwright integrates with issue trackers to provide bidirectional sync between pipelines and your project management tool. When a pipeline completes a stage, the tracker is updated automatically. When issues are created or updated in the tracker, they can trigger pipeline runs.
Supported Trackers
Section titled “Supported Trackers”| Tracker | Status | Features |
|---|---|---|
| Linear | Full support | Bidirectional sync, status updates, stage comments |
| Jira | Full support | Bidirectional sync, status transitions, stage comments |
| GitHub Issues | Built-in | Always available, no configuration needed |
Architecture
Section titled “Architecture”Shipwright uses a router pattern for tracker integration:
Pipeline → sw-tracker.sh (router) → sw-tracker-github.sh → sw-tracker-linear.sh → sw-tracker-jira.shThe router reads ~/.shipwright/tracker-config.json to determine which provider to use, then delegates to the provider-specific script.
Configuration
Section titled “Configuration”Initial Setup
Section titled “Initial Setup”# Configure Linearshipwright linear init
# Configure Jirashipwright jira initConfiguration File
Section titled “Configuration File”The tracker configuration lives at ~/.shipwright/tracker-config.json:
{ "provider": "linear", "linear": { "api_key": "lin_api_...", "team_id": "TEAM-ID", "project_id": "PROJECT-ID" }}For Jira:
{ "provider": "jira", "jira": { "base_url": "https://yourcompany.atlassian.net", "email": "you@company.com", "api_token": "...", "project_key": "PROJ" }}Pipeline Integration
Section titled “Pipeline Integration”The pipeline automatically notifies the tracker at key points:
| Event | When | What Gets Updated |
|---|---|---|
| Stage complete | After each stage finishes | Stage name, duration, status |
| Stage failed | When a stage fails | Error context, failed stage |
| PR created | After PR stage | PR URL linked to issue |
| Pipeline complete | On successful completion | Issue status moved to “Done” |
| Pipeline failed | On final failure | Issue gets failure summary |
Daemon Integration
Section titled “Daemon Integration”The daemon also integrates with the tracker:
| Event | Description |
|---|---|
| Job spawned | Issue marked as “In Progress” |
| Job completed | Issue marked as “Done” with PR link |
| Job failed | Issue updated with failure details |
Commands
Section titled “Commands”# Check current tracker configurationshipwright tracker status
# Manual sync (usually automatic)shipwright tracker notify stage_complete <issue> "<stage>|<duration>|<description>"
# Linear-specific commandsshipwright linear init # Configure Linearshipwright linear sync <issue> # Manual sync
# Jira-specific commandsshipwright jira init # Configure Jirashipwright jira sync <issue> # Manual syncDisabling Tracker Integration
Section titled “Disabling Tracker Integration”If you only want GitHub Issues (the default), simply don’t configure a tracker. The pipeline always posts progress comments to GitHub Issues regardless of tracker configuration.