Skip to content

Prompt to assign issue to self on et jira start - #12

Merged
seb4stien merged 2 commits into
mainfrom
feat/jira-start-assign-self
Sep 10, 2026
Merged

seb4stien merged 2 commits into
mainfrom
feat/jira-start-assign-self

Conversation

@seb4stien

Copy link
Copy Markdown
Owner

Summary

Adds a confirmation prompt to et jira start asking whether to assign the Jira issue to yourself, right after the existing "move to In Progress?" prompt. Applies to both the interactive picker and the direct et jira start KEY form.

  • Defaults to Yes.
  • Skipped entirely if the issue is already assigned to the current Jira user.

Changes

  • src/et/jira.py: add PUT support to the request client, assign_issue(), and an assignee_account_id field on JiraIssue populated from fetch_active_issues/fetch_issue.
  • src/et/task.py: add _maybe_assign_to_self(), wired into create_task_from_jira and create_task_from_jira_key via a new confirm_assign callback.
  • src/et/cli.py: wire up the confirm_assign prompt in jira_start.
  • Tests added/updated in test_jira.py, test_task.py, test_cli.py.
  • CHANGELOG.md and README.md updated.

Testing

  • just lint, just static, just test all pass (515 tests, 89% coverage).

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

seb4stien and others added 2 commits September 10, 2026 14:55
Adds a "Assign <KEY> to yourself?" confirmation prompt (defaulting to
yes) to et jira start, right after the existing "move to In Progress?"
prompt. Applies to both the interactive picker and et jira start KEY.
Skips the prompt entirely if the issue is already assigned to the
current Jira user.

- et.jira: add PUT support to the request client, assign_issue(),
  and an assignee_account_id field on JiraIssue populated from
  fetch_active_issues/fetch_issue.
- et.task: add _maybe_assign_to_self(), wired into
  create_task_from_jira and create_task_from_jira_key via a new
  confirm_assign callback.
- et.cli: wire up the confirm_assign prompt in jira_start.
- Update CHANGELOG.md and README.md.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@seb4stien
seb4stien merged commit 1f1ee62 into main Sep 10, 2026
3 checks 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.

1 participant