/jira-push
Push local progress to Jira (like git push). Updates epic/story with task completion and comments.
> /plugin marketplace add anton-abyzov/specweave > /plugin install sw@specweave
How it fires
How this command gets triggered: by you, by Claude, or both.
- Fires itselfClaude auto-loads it when your prompt matches the work.
- You can call itInvoke it directly when you want it.
- Slash command
/jira-push
Context preview
What this command does when you run it.
Push local progress to Jira (like git push). Updates epic/story with task completion and comments.
Command definition
jira-push.mddescription: Push local progress to Jira (like git push). Updates epic/story with task completion and comments.
Jira Push Command
**Usage**: `sw-jira:push [increment-id]`
**Purpose**: Push local progress to Jira (like `git push`)
---
Quick Start
# Push current/active increment
sw-jira:push
# Push specific increment
sw-jira:push 0005
---
What Gets Pushed
| Field | Source | |-------|--------| | **Progress** | Calculated from tasks.md (X/Y tasks, Z%) | | **Comment** | Auto-generated with completed tasks list | | **Status** | Transition if threshold crossed | | **Custom Fields** | Completion % if field exists |
---
Command Behavior
When user runs this command:
1. Check Permission Gate
const config = JSON.parse(await fs.readFile('.specweave/config.json', 'utf-8'));
const canUpdateExternal = config?.sync?.settings?.canUpdateExternalItems ?? false;
if (!canUpdateExternal) {
console.log(`
Permission Denied: Jira writes disabled
To enable: Set sync.settings.canUpdateExternalItems = true
Or use read-only: sw-jira:pull ${incrementId}
`);
return;
}2. Calculate Progress
const tasksContent = await fs.readFile(
`.specweave/increments/${incrementId}/tasks.md`, 'utf-8'
);
const totalTasks = (tasksContent.match(/### T-\d+/g) || []).length;
const completedTasks = (tasksContent.match(/\[x\] completed/gi) || []).length;
const percentage = Math.round((completedTasks / totalTasks) * 100);3. Invoke Push Sync
Use Skill tool: Skill({ skill: "sw-jira:jira-sync", args: "Push progress to Jira for increment {increment-id}.
Issue: {jiraIssueKey}
Progress: {completedTasks}/{totalTasks} ({percentage}%)
Steps:
1. Format progress comment with task list
2. POST comment to Jira issue
3. Update custom fields if available
4. Transition status if threshold crossed:
- 100% completed -> Done (if canUpdateStatus)
5. Update sync timestamp in metadata
6. Display push summary"4. Display Result
Pushed to Jira
Issue: PROJ-123
Project: My Project
Progress: 6/10 tasks (60%)
Comment posted:
"Progress Update: 60% complete
Recently completed:
- T-005: Add payment validation
- T-006: Implement refund flow"
Fields updated:
Completion: 60%
URL: https://mycompany.atlassian.net/browse/PROJ-123
---
Permission Requirements
| Permission | Required | Purpose | |------------|----------|---------| | `canUpdateExternalItems` | **true** | Write to Jira | | `canUpdateStatus` | optional | Transition issue status |
---
Examples
Example 1: Simple Push
User: sw-jira:push
Claude:
Pushing to Jira...
Increment: 0005-payment-integration
Issue: PROJ-123
Progress: 8/10 tasks (80%)
Comment posted.
Push complete!
Example 2: 100% Complete
User: sw-jira:push 0005
Claude:
Pushing to Jira...
Progress: 10/10 tasks (100%)
Comment posted:
"All tasks complete!"
Status transitioned:
In Progress -> Done (canUpdateStatus = true)
Ready to close: sw:done 0005
---
Related Commands
| Command | Purpose | |---------|---------| | `sw-jira:pull` | Pull changes from Jira | | `sw-jira:sync` | Two-way sync (pull + push) | | `sw-jira:import-boards` | Import Jira boards |
Read more
description: Push local progress to Jira (like git push). Updates epic/story with task completion and comments.
Jira Push Command
**Usage**: `sw-jira:push [increment-id]`
**Purpose**: Push local progress to Jira (like `git push`)
---
Quick Start
# Push current/active increment sw-jira:push # Push specific increment sw-jira:push 0005
---
What Gets Pushed
| Field | Source | |-------|--------| | **Progress** | Calculated from tasks.md (X/Y tasks, Z%) | | **Comment** | Auto-generated with completed tasks list | | **Status** | Transition if threshold crossed | | **Custom Fields** | Completion % if field exists |
---
Command Behavior
When user runs this command:
1. Check Permission Gate
const config = JSON.parse(await fs.readFile('.specweave/config.json', 'utf-8'));
const canUpdateExternal = config?.sync?.settings?.canUpdateExternalItems ?? false;
if (!canUpdateExternal) {
console.log(`
Permission Denied: Jira writes disabled
To enable: Set sync.settings.canUpdateExternalItems = true
Or use read-only: sw-jira:pull ${incrementId}
`);
return;
}2. Calculate Progress
const tasksContent = await fs.readFile(
`.specweave/increments/${incrementId}/tasks.md`, 'utf-8'
);
const totalTasks = (tasksContent.match(/### T-\d+/g) || []).length;
const completedTasks = (tasksContent.match(/\[x\] completed/gi) || []).length;
const percentage = Math.round((completedTasks / totalTasks) * 100);3. Invoke Push Sync
Use Skill tool: Skill({ skill: "sw-jira:jira-sync", args: "Push progress to Jira for increment {increment-id}.
Issue: {jiraIssueKey}
Progress: {completedTasks}/{totalTasks} ({percentage}%)
Steps:
1. Format progress comment with task list
2. POST comment to Jira issue
3. Update custom fields if available
4. Transition status if threshold crossed:
- 100% completed -> Done (if canUpdateStatus)
5. Update sync timestamp in metadata
6. Display push summary"4. Display Result
Pushed to Jira Issue: PROJ-123 Project: My Project Progress: 6/10 tasks (60%) Comment posted: "Progress Update: 60% complete Recently completed: - T-005: Add payment validation - T-006: Implement refund flow" Fields updated: Completion: 60% URL: https://mycompany.atlassian.net/browse/PROJ-123
---
Permission Requirements
| Permission | Required | Purpose | |------------|----------|---------| | `canUpdateExternalItems` | **true** | Write to Jira | | `canUpdateStatus` | optional | Transition issue status |
---
Examples
Example 1: Simple Push
User: sw-jira:push Claude: Pushing to Jira... Increment: 0005-payment-integration Issue: PROJ-123 Progress: 8/10 tasks (80%) Comment posted. Push complete!
Example 2: 100% Complete
User: sw-jira:push 0005 Claude: Pushing to Jira... Progress: 10/10 tasks (100%) Comment posted: "All tasks complete!" Status transitioned: In Progress -> Done (canUpdateStatus = true) Ready to close: sw:done 0005
---
Related Commands
| Command | Purpose | |---------|---------| | `sw-jira:pull` | Pull changes from Jira | | `sw-jira:sync` | Two-way sync (pull + push) | | `sw-jira:import-boards` | Import Jira boards |
Spec-first AI development: describe a feature → AI creates spec + plan + tasks, builds autonomously, syncs to GitHub/JIRA. Domain-expert skills for PM, Architect, Frontend, QA learn your patterns permanently. Claude Code, Codex, Cursor, Copilot & more.
Repo: anton-abyzov/specweave
Other commands on specweave.
- /abandon
Abandon an incomplete increment (requirements changed, obsolete)
Open command - /ado-cleanup-duplicates
Clean up duplicate Azure DevOps work items for a Feature. Finds work items with duplicate titles and closes all except the first created item.
Open command - /ado-clone
Clone Azure DevOps repositories to local workspace. Use after init if cloning was skipped, or to add repos later.
Open command - /ado-close
Close Azure DevOps work item when increment complete
Open command - /ado-create
Create Azure DevOps work item from SpecWeave increment
Open command - /ado-import-areas
Import Azure DevOps area paths from a project and map them to SpecWeave projects. Creates 2-level directory structure with area path-based organization.
Open command

