feat(jira): add jira_get_project_components tool#873
Merged
sooperset merged 3 commits intoFeb 24, 2026
Conversation
|
This pull request has been automatically marked as stale because it has not had recent activity for 14 days. It will be closed if no further activity occurs. Please leave a comment or remove the 'stale' label if you believe this PR is still relevant. Thank you for your contributions! |
added 3 commits
February 23, 2026 14:14
- Add import and registration for get_project_components in test fixture - Add test_get_project_components_tool test function
32188f8 to
2865c48
Compare
Contributor
Author
sooperset
approved these changes
Feb 24, 2026
Owner
sooperset
left a comment
There was a problem hiding this comment.
Clean implementation following the get_project_versions pattern. I'll add the missing pattern validation in a follow-up. Thanks!
| annotations={"title": "Get Project Components", "readOnlyHint": True}, | ||
| ) | ||
| async def get_project_components( | ||
| ctx: Context, |
Owner
There was a problem hiding this comment.
(minor) Missing pattern=PROJECT_KEY_PATTERN — the adjacent get_project_versions uses it to validate keys. Without it, malformed keys like proj silently return [] instead of erroring. I'll add this in a follow-up.
2 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Add new MCP tool to retrieve all components for a Jira project.
Fixes: #872
Related: #770 (users need to discover valid component IDs for updates)
Changes
jira_get_project_componentstool insrc/mcp_atlassian/servers/jira.pytest_get_project_components_tooldocs/tools-reference.mdxwith new toolTesting
get_project_versionspatternChecklist