jira-sync
Bulk sync all epics and stories from the local backlog to JIRA. Use when the user says 'sync to JIRA', 'push everything to JIRA', or 'create all JIRA tickets'.
- License 许可
- MIT
- 最近更新
- 2026-05-12
- Stars
- ★ 8
- Forks
- 1
01 前言 Front Matter
- name
- jira-sync
- description
- Bulk sync all epics and stories from the local backlog to JIRA. Use when the user says 'sync to JIRA', 'push everything to JIRA', or 'create all JIRA tickets'.
03 SKILL.md 正文
JIRA — Bulk Sync
Goal
Create all epics and stories from the local backlog in JIRA in one operation. Idempotent: skips items that already have a jira_key in the backlog.
Prerequisite Check
Verify integrations.jira in config. If missing: "Run jira-connect first."
Load backlog from {planning_artifacts}/epics-stories/{project_name}-backlog.md.
Step 1: Inventory
Show what will be synced:
Sync Preview:
─────────────────────────────
Epics to create: {n} (skipping {m} already synced)
Stories to create: {n} (skipping {m} already synced)
─────────────────────────────
This will create {total} JIRA issues.
⏸️ STOP — ask: "Proceed with sync?"
Step 2: Create Epics First
For each epic WITHOUT a jira_key:
- Create using the same curl command as
jira-create-epic - Write returned JIRA key back to backlog
- Show progress:
✅ E-001 → {JIRA-KEY}
Step 3: Create Stories
For each story WITHOUT a jira_key:
- Identify its parent epic's JIRA key
- Create story using the same curl command as
jira-create-story - Link to epic
- Write returned JIRA key back to story file and backlog
- Show progress:
✅ S-001 → {JIRA-KEY}
Step 4: Summary
Sync Complete
─────────────────────────────
Epics created: {n}
Stories created: {n}
Skipped (existing): {n}
Errors: {n}
─────────────────────────────
View board: {jira_url}/projects/{project_key}/boards
If any errors, list them with the raw error message.
04 同仓库更多 Skills
jira-create-story
Create a single story ticket in JIRA from a local story file. Use when the user says 'create this story in JIRA' or 'push story to JIRA'.
jira-create-epic
Create an epic in JIRA from a planning artifact. Use when the user says 'create this epic in JIRA' or 'push epic to JIRA'.
jira-connect
Set up and verify JIRA integration. Use when the user says 'connect to JIRA', 'set up JIRA', or 'configure JIRA'.
jira-conflict-detect
Check if a story is already being worked on by another team member. Use before starting any story implementation.
gitlab-create-mr
Create a GitLab Merge Request for the current story branch. Use when the user says 'create an MR', 'open a merge request', or 'ready for review' in a GitLab project.
gitlab-create-branch
Create a GitLab feature branch for a story. Use when the user says 'create a branch', 'start a branch for story X', or 'create feature branch' in a GitLab project.