feat(bitbucket): add read-only cloud issue fetch#863
Conversation
|
Hi @potiuk, I opened the next Bitbucket follow-up for #606. This PR adds read-only Bitbucket Cloud issue reads: magpie-bitbucket issue list-open
magpie-bitbucket issue get <id>It starts partial This remains partial read-only and does not add issue creation, edits, comments, assignment changes, state transitions, PR mutations, build mutations, or repository content changes.
|
1d126fb to
120df75
Compare
potiuk
left a comment
There was a problem hiding this comment.
LGTM — clean, conservative Cloud issue read that follows the established Bitbucket bridge patterns. DC correctly rejects native issue reads (surfaces as a clean exit via the entry wrapper), the capability table / docs / spec-loop notes are consistent, and it's well tested. One non-blocking inline note on the open-state filter.
|
Thanks @potiuk, that makes sense. I added |
Summary
magpie-bitbucket issue list-openandmagpie-bitbucket issue get <id>for read-only Bitbucket Cloud issue listing/fetching where the repository issue tracker is enabled.contract:trackercoverage for the Bitbucket bridge while keeping Bitbucket Data Center native issue reads explicitly unsupported and pointing linked Jira coverage to separate follow-up work.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 -qPYTHONPATH=src uv run --group dev pytest tests/test_bitbucket.py -q -k "issue"uv 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)
uv.lockwas updated by the current workspace hook/uv resolution used during validation.RFC-AI-0004 compliance
contract:change-request/Coverage: partial-read-onlybridge with partial Cloud-onlycontract:trackerreads without claiming complete backend parityLinked issues
Refs #606
Notes for reviewers
This follows the recently merged Bitbucket read-only PR/repo context commands and starts the missing tracker side of #606 conservatively.
The new commands are:
Scope is intentionally narrow:
The normalized output includes issue ID, title, state, kind, priority, reporter, assignee, timestamps, permalink, description, labels, and raw backend payloads.
This remains partial read-only. It does not add issue creation, issue edits, comments, assignment changes, state transitions, linked Jira handoff, PR mutation, build mutation, or repository content changes.