Skip to content

Add et jira create and polish Jira CLI UX - #2

Merged
seb4stien merged 3 commits into
mainfrom
feat/jira-create
Aug 10, 2026
Merged

Add et jira create and polish Jira CLI UX#2
seb4stien merged 3 commits into
mainfrom
feat/jira-create

Conversation

@seb4stien

Copy link
Copy Markdown
Owner

Summary

  • New et jira create [GITHUB_URL] command interactively creates a Jira issue: prompts for type (Bug/Story/Task), summary, self-assignment, priority, component (3-column picker), current sprint, estimate hours, and description, then shows a confirmation summary before creating.
    • Optionally pre-fills summary/description (and defaults type to Bug) from a GitHub issue/PR URL via the gh CLI, and populates Jira's "Bug link" custom field with that URL when the field exists.
  • Auto-discovers and caches the project's Agile board id (jira.board_id), preferring Scrum boards since Kanban boards don't support sprints; falls back to a fresh Scrum-board lookup (and persists the correction) if a cached board turns out not to support sprints, instead of failing with a raw Jira API error.
  • Config gains jira.project_key and jira.board_id.
  • Jira issue references (et jira log-time, et jira complete) are now clickable OSC 8 terminal hyperlinks, like et jira start already was.
  • et jira start's "move to In Progress?" and "add another workspace?" prompts now default to yes.
  • Adds CHANGELOG.md documenting notable changes since the v0.1.0 tag.

Note

This was implemented in a prior session (uncommitted work found on a stale local feat/github branch) and is submitted here as its own PR against main, independent of #1 (et ws organize). Both PRs currently add CHANGELOG.md; whichever merges second will need a small conflict resolution to fold the two "Unreleased" sections together.

Testing

  • uv run pytest: 249 passed, 90.5% coverage
  • uv run ruff check .: clean
  • uv run mypy src: clean

🤖 Generated with GitHub Copilot CLI

seb4stien and others added 2 commits August 10, 2026 18:13
- New `et jira create [GITHUB_URL]` command interactively creates a Jira
  issue: prompts for type (Bug/Story/Task), summary, self-assignment,
  priority, component (3-column picker), current sprint, estimate hours,
  and description, then shows a confirmation summary before creating.
  Optionally pre-fills summary/description (and defaults type to Bug)
  from a GitHub issue/PR URL via the `gh` CLI, and populates Jira's
  "Bug link" custom field with that URL when the field exists.
- Auto-discovers and caches the project's Agile board id
  (`jira.board_id`), preferring Scrum boards since Kanban boards don't
  support sprints; falls back to a fresh Scrum-board lookup (and
  persists the correction) if a cached board turns out not to support
  sprints, instead of failing with a raw Jira API error.
- Config gains `jira.project_key` and `jira.board_id`.
- Jira issue references (`et jira log-time`, `et jira complete`) are now
  clickable OSC 8 terminal hyperlinks, like `et jira start` already was.
- `et jira start`'s "move to In Progress?" and "add another workspace?"
  prompts now default to yes.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Documents notable changes since the v0.1.0 tag, including et jira
create and the surrounding Jira CLI UX polish.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@seb4stien

Copy link
Copy Markdown
Owner Author

@copilot resolve the merge conflicts in this pull request

…ed sections

Co-authored-by: seb4stien <4692513+seb4stien@users.noreply.github.com>

Copilot AI commented Aug 10, 2026

Copy link
Copy Markdown
Contributor

@copilot resolve the merge conflicts in this pull request

Done. Merged origin/main into this branch and resolved the CHANGELOG.md add/add conflict by combining both "Unreleased" sections into one (commit a726bad).

@seb4stien
seb4stien merged commit 459d312 into main Aug 10, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants