Skip to content

Conversation

@alexec
Copy link
Contributor

@alexec alexec commented Nov 23, 2025

  • Add -f flag support for update-issue-status to set custom fields during transitions
  • Add filters to list-issues: -a (assignee), -t (type), -p (project)
  • Move FieldFlag type to internal/flag package
  • Improve issue listing output with type and better formatting
  • Use DoTransitionWithPayloadWithContext for all transitions

- Add -f flag support for update-issue-status to set custom fields during transitions
- Add filters to list-issues: -a (assignee), -t (type), -p (project)
- Move FieldFlag type to internal/flag package
- Improve issue listing output with type and better formatting
- Use DoTransitionWithPayloadWithContext for all transitions
- Update getIssueHandler to include Type field
- Use DoTransitionWithPayloadWithContext in updateIssueStatusHandler
- Use CreateWithContext in createIssueHandler
- Add filter support to listIssuesHandler (assignee, issue_type, project)
- Update listIssuesHandler output format to match main.go
- Add BoardType filter to addIssueToSprintHandler
- Update tool definitions to include filter parameters
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR enhances the Jira CLI with flexible field flags and filtering capabilities. It adds support for setting custom fields during status transitions and provides granular filtering options for listing issues.

Key changes:

  • Introduced -f field=value flag for update-issue-status command to set custom fields during transitions
  • Added filtering flags (-a, -t, -p) to list-issues command for assignee, type, and project filtering
  • Refactored FieldFlag type into a dedicated internal/flag package

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 4 comments.

File Description
internal/flag/field_flag.go New package containing FieldFlag type for parsing field=value pairs
main.go Updated update-issue-status and list-issues commands with flag support, improved formatting, and enhanced error handling

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

alexec and others added 4 commits November 22, 2025 17:13
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@alexec alexec marked this pull request as ready for review November 23, 2025 05:00
@alexec alexec merged commit c4e9fc9 into main Nov 23, 2025
1 check passed
@alexec alexec deleted the feat/enhance-issue-commands branch November 23, 2025 05:00
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