Skip to content

Commit db38511

Browse files
oceanc80claude
andcommitted
turn the gh2jira commands into slash commands
- Add /jira:clone-from-github command for cloning GitHub issues to Jira - Add /jira:reconcile-github command for reconciling state between platforms - Add /jira:setup-gh2jira command for guided installation and configuration - Remove hardcoded user-specific paths from all commands - Add links to gh2jira repository for reference - Provide comprehensive setup walkthrough for tools, tokens, and config files The setup command guides users through: - Installing Go and gh2jira - Creating GitHub and Jira Personal Access Tokens - Configuring tokenstore.yaml with credentials - Setting up profiles.yaml for project shortcuts - Creating workflows.yaml for state mapping - Adding gh2jira to PATH 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
1 parent abd54a3 commit db38511

File tree

5 files changed

+1513
-0
lines changed

5 files changed

+1513
-0
lines changed

PLUGINS.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,9 +74,12 @@ See [plugins/hello-world/README.md](plugins/hello-world/README.md) for detailed
7474
A plugin to automate tasks with Jira
7575

7676
**Commands:**
77+
- **`/jira:clone-from-github` `<github-issue-numbers> [--github-project <org/repo>] [--jira-project <key>] [--dryrun]`** - Clone GitHub issues to Jira with proper formatting and linking
7778
- **`/jira:create` `<type> [project-key] <summary> [--component <name>] [--version <version>] [--parent <key>]`** - Create Jira issues (story, epic, feature, task, bug) with proper formatting
7879
- **`/jira:generate-test-plan` `[JIRA issue key] [GitHub PR URLs]`** - Generate test steps for a JIRA issue
7980
- **`/jira:grooming` `[project-filter] [time-period] [--component component-name] [--label label-name]`** - Analyze new bugs and cards added over a time period and generate grooming meeting agenda
81+
- **`/jira:reconcile-github` `[--github-project <org/repo>] [--jira-project <key>] [--profile <name>] [--porcelain] [--output json|yaml]`** - Reconcile state mismatches between GitHub and Jira issues
82+
- **`/jira:setup-gh2jira`** - Install and configure the gh2jira utility with all required tools and credentials
8083
- **`/jira:solve`** - Analyze a JIRA issue and create a pull request to solve it.
8184
- **`/jira:status-rollup` `issue-id [--start-date YYYY-MM-DD] [--end-date YYYY-MM-DD]`** - Generate a status rollup comment for any JIRA issue based on all child issues and a given date range
8285

docs/data.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,12 @@
6161
"description": "A plugin to automate tasks with Jira",
6262
"version": "0.0.1",
6363
"commands": [
64+
{
65+
"name": "clone-from-github",
66+
"description": "Clone GitHub issues to Jira with proper formatting and linking",
67+
"synopsis": "/jira:clone-from-github <issue-number> [issue-number...] [options]",
68+
"argument_hint": "<github-issue-numbers> [--github-project <org/repo>] [--jira-project <key>] [--dryrun]"
69+
},
6470
{
6571
"name": "create",
6672
"description": "Create Jira issues (story, epic, feature, task, bug) with proper formatting",
@@ -79,6 +85,18 @@
7985
"synopsis": "/jira:grooming [project-filter] [time-period] [--component component-name] [--label label-name]",
8086
"argument_hint": "[project-filter] [time-period] [--component component-name] [--label label-name]"
8187
},
88+
{
89+
"name": "reconcile-github",
90+
"description": "Reconcile state mismatches between GitHub and Jira issues",
91+
"synopsis": "/jira:reconcile-github [options]",
92+
"argument_hint": "[--github-project <org/repo>] [--jira-project <key>] [--profile <name>] [--porcelain] [--output json|yaml]"
93+
},
94+
{
95+
"name": "setup-gh2jira",
96+
"description": "Install and configure the gh2jira utility with all required tools and credentials",
97+
"synopsis": "/jira:setup-gh2jira",
98+
"argument_hint": ""
99+
},
82100
{
83101
"name": "solve",
84102
"description": "Analyze a JIRA issue and create a pull request to solve it.",

0 commit comments

Comments
 (0)