/jira-import-projects
Import additional JIRA projects post-init with smart filtering, resume, and dry-run support
> /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-import-projects
Context preview
What this command does when you run it.
Import additional JIRA projects post-init with smart filtering, resume, and dry-run support
Command definition
jira-import-projects.mddescription: Import additional JIRA projects post-init with smart filtering, resume, and dry-run support
JIRA Project Import Command
Import additional JIRA projects after initial setup with advanced filtering and merge capabilities.
Usage
# Import all active projects
sw-jira:import-projects --filter active
# Import with preset filter
sw-jira:import-projects --preset production
# Import with custom JQL
sw-jira:import-projects --jql "project NOT IN (TEST, SANDBOX)"
# Dry-run preview (no changes)
sw-jira:import-projects --dry-run
# Resume interrupted import
sw-jira:import-projects --resume
Options
- `--filter <type>` - Filter by status (active, archived, all)
- `--type <types>` - Filter by project type (software, business, service_desk)
- `--lead <email>` - Filter by project lead
- `--jql <query>` - Custom JQL filter
- `--preset <name>` - Use saved filter preset
- `--dry-run` - Preview without making changes
- `--resume` - Resume interrupted import
- `--no-progress` - Disable progress tracking
Examples
Import Active Projects Only
sw-jira:import-projects --filter active
Filters out archived projects, shows preview, prompts for confirmation, merges with existing.
Import with Production Preset
sw-jira:import-projects --preset production
Uses the "production" preset filter (active + software + excludes TEST/SANDBOX).
Custom JQL Filter
sw-jira:import-projects --jql "lead = currentUser() AND status != Archived"
Imports projects where you are the lead and not archived.
Dry-Run Preview
sw-jira:import-projects --filter active --dry-run
Shows which projects would be imported without making any changes.
Features
- **Smart Filtering**: Filter by status, type, lead, or custom JQL
- **Merge with Existing**: Automatically merges with existing projects (no duplicates)
- **Progress Tracking**: Real-time progress with ETA and cancelation support
- **Resume Support**: Resume interrupted imports with `--resume`
- **Dry-Run Mode**: Preview changes before applying
- **Filter Presets**: Use saved filter combinations
Implementation
This command:
1. Reads existing projects from `.env` (JIRA_PROJECTS) 2. Fetches available projects from JIRA API 3. Applies selected filters using FilterProcessor 4. Shows preview with project count and reduction percentage 5. Prompts for confirmation 6. Batch imports with AsyncProjectLoader (50-project limit) 7. Shows progress with ETA 8. Merges with existing projects (no duplicates) 9. Updates `.env` file atomically
Handles Ctrl+C gracefully with import state saving for resume.
Read more
description: Import additional JIRA projects post-init with smart filtering, resume, and dry-run support
JIRA Project Import Command
Import additional JIRA projects after initial setup with advanced filtering and merge capabilities.
Usage
# Import all active projects sw-jira:import-projects --filter active # Import with preset filter sw-jira:import-projects --preset production # Import with custom JQL sw-jira:import-projects --jql "project NOT IN (TEST, SANDBOX)" # Dry-run preview (no changes) sw-jira:import-projects --dry-run # Resume interrupted import sw-jira:import-projects --resume
Options
- `--filter <type>` - Filter by status (active, archived, all)
- `--type <types>` - Filter by project type (software, business, service_desk)
- `--lead <email>` - Filter by project lead
- `--jql <query>` - Custom JQL filter
- `--preset <name>` - Use saved filter preset
- `--dry-run` - Preview without making changes
- `--resume` - Resume interrupted import
- `--no-progress` - Disable progress tracking
Examples
Import Active Projects Only
sw-jira:import-projects --filter active
Filters out archived projects, shows preview, prompts for confirmation, merges with existing.
Import with Production Preset
sw-jira:import-projects --preset production
Uses the "production" preset filter (active + software + excludes TEST/SANDBOX).
Custom JQL Filter
sw-jira:import-projects --jql "lead = currentUser() AND status != Archived"
Imports projects where you are the lead and not archived.
Dry-Run Preview
sw-jira:import-projects --filter active --dry-run
Shows which projects would be imported without making any changes.
Features
- **Smart Filtering**: Filter by status, type, lead, or custom JQL
- **Merge with Existing**: Automatically merges with existing projects (no duplicates)
- **Progress Tracking**: Real-time progress with ETA and cancelation support
- **Resume Support**: Resume interrupted imports with `--resume`
- **Dry-Run Mode**: Preview changes before applying
- **Filter Presets**: Use saved filter combinations
Implementation
This command:
1. Reads existing projects from `.env` (JIRA_PROJECTS) 2. Fetches available projects from JIRA API 3. Applies selected filters using FilterProcessor 4. Shows preview with project count and reduction percentage 5. Prompts for confirmation 6. Batch imports with AsyncProjectLoader (50-project limit) 7. Shows progress with ETA 8. Merges with existing projects (no duplicates) 9. Updates `.env` file atomically
Handles Ctrl+C gracefully with import state saving for resume.
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

