feat(bitbucket): add read-only cloud issue attachments fetch#909
Open
KatalKavya96 wants to merge 3 commits into
Open
feat(bitbucket): add read-only cloud issue attachments fetch#909KatalKavya96 wants to merge 3 commits into
KatalKavya96 wants to merge 3 commits into
Conversation
Contributor
Author
|
Hi @potiuk, I opened the next Bitbucket follow-up for #606. This adds read-only Cloud issue attachment fetching: magpie-bitbucket issue attachments <id>It keeps the same partial Targeted pytest, full Bitbucket pytest, ruff, mypy, and |
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.
Summary
magpie-bitbucket issue attachments <id>for read-only Bitbucket Cloud issue attachment fetching where the repository issue tracker is enabled.contract:trackercoverage after Cloud issue list/get/comments with attachment context, while keeping Bitbucket Data Center native issue attachments explicitly unsupported with linked Jira handoff guidance.Type of change
.claude/skills/<name>/) — eval fixtures updated belowtools/<system>/*.md)tools/*/withpyproject.toml)docs/,README.md,CONTRIBUTING.md)projects/_template/)prek, workflows, validators)Test plan
prek run --all-filespassesPYTHONPATH=src uv run --group dev pytest tests/test_bitbucket.py -q -k "issue_attachments or issue_attachment"PYTHONPATH=src uv run --group dev pytest tests/test_bitbucket.py -quv run --group dev ruff check src tests --fixuv run --group dev ruff format src testsuv run --group dev mypy src tests(
PYTHONPATH=tools/skill-evals/src python3 -m skill_evals.runner tools/skill-evals/evals/<skill>/)(a regression test for the bug fixed / the behaviour added — see CONTRIBUTING.md)
git diff --checkpassesRFC-AI-0004 compliance
contract:change-request/ partialcontract:trackerbridge without claiming complete backend parityLinked issues
Refs #606
Notes for reviewers
This follows the recently merged Bitbucket Cloud issue list/get and issue comments PRs, adding the next conservative tracker-side read.
The new command is:
Scope is intentionally narrow:
The normalized output includes issue ID, attachment ID, name/filename, size, uploader, timestamps, download/permalink links, and raw backend payloads.
This remains partial read-only. It does not add attachment upload, deletion, issue edits, comment mutation, assignment changes, state transitions, linked Jira handoff, PR mutation, build mutation, or repository content changes.