Add list-issues command and MCP tool to query user's assigned issues#8
Add list-issues command and MCP tool to query user's assigned issues#8
Conversation
Co-authored-by: alexec <1142830+alexec@users.noreply.github.com>
Co-authored-by: alexec <1142830+alexec@users.noreply.github.com>
|
@copilot exclude closed issues. |
Co-authored-by: alexec <1142830+alexec@users.noreply.github.com>
Updated in commit 018e93a. The JQL query now includes Example output now excludes resolved/closed issues: Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
|
@copilot I'd like to show the sprint too. This will help me understand which are in the current sprint. |
Co-authored-by: alexec <1142830+alexec@users.noreply.github.com>
Added in commit ac3f805. The output now includes a sprint column showing which sprint each issue belongs to. Example output: Issues not assigned to a sprint show "-" in the sprint column. The implementation checks both the standard sprint field and the common custom field (customfield_10020) to maximize compatibility across different Jira configurations. Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
|
@copilot please remove the epic. It is wrong to assume a custom field is the epic. We'll come back to this. |
… days Co-authored-by: alexec <1142830+alexec@users.noreply.github.com>
Updated in commit 5b2f360. Made the following changes:
Example output: Only shows unresolved issues updated in the last 14 days, sorted by most recent first. Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
|
@copilot update branch. |
|
@copilot Remove the sprint column. Add list-issues to the MCP server. In the output, if there are more than 50 issues, state that only 50 issues are show. |
Co-authored-by: alexec <1142830+alexec@users.noreply.github.com>
Updated in commit c61b562. Made the following changes:
Example output: If there are 50 or more issues: The MCP server now exposes |
|
@copilot I think we need to say "Found X issues in the last 14 days". |
Co-authored-by: alexec <1142830+alexec@users.noreply.github.com>
Updated in commit 13f2461. The output now clarifies the 14-day time filter. Example output: When there are no issues: When showing maximum results: |
Adds
jira list-issuescommand and MCP server tool to retrieve open issues assigned to the current user that have been updated in the last 14 days.Changes Made
listIssues()function that queriesassignee = currentUser() AND resolution = Unresolved AND updated >= -14d ORDER BY updated DESCvia JQL, returns up to 50 issues in tabular format (Key, Status, Summary)list_issuestool to the MCP server for programmatic accessExample Output
$ jira list-issues Found 2 issue(s) in the last 14 days: PROJ-456 To Do Fix login page styling PROJ-123 In Progress Implement user authenticationWhen there are 50 or more issues:
$ jira list-issues Found 50 issue(s) in the last 14 days (showing first 50 only): PROJ-456 To Do Fix login page styling ...When there are no issues:
$ jira list-issues No issues assigned to you in the last 14 daysTesting
The command excludes closed/resolved issues by filtering for
resolution = Unresolvedand only shows issues updated in the last 14 days. The same functionality is available via the MCP server'slist_issuestool.Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.