Skip to content

feat(lifecycle): add work item linking to PR create and update#1

Merged
grimlor merged 1 commit intomainfrom
feat/link-work-items-to-pr
Apr 13, 2026
Merged

feat(lifecycle): add work item linking to PR create and update#1
grimlor merged 1 commit intomainfrom
feat/link-work-items-to-pr

Conversation

@grimlor
Copy link
Copy Markdown
Owner

@grimlor grimlor commented Apr 13, 2026

Add link_work_items_to_pr() using WIT API ArtifactLink relations with vstfs:///Git/PullRequestId URI format. Add work_item_ids parameter to create_pull_request() and update_pull_request().

  • Add TeamProjectReference stub and project attr to GitRepository
  • 8 new BDD tests across 3 test classes (452 total, 100% coverage)

Refs: #37493485

Pull Request

Summary

<- What does this PR change and why? -->

Changes

<- Bullet list of changes, or describe the approach taken -->

Testing

  • All existing tests pass (uv run task check)
  • New behavior is covered by tests with BDD docstrings
  • Coverage target maintained

Checklist

  • from __future__ import annotations at top of every new module
  • pyright passes in strict mode
  • ruff lint + format passes
  • Commit messages follow conventional commits

Related Issues

<- Closes #123 -->

Add `link_work_items_to_pr()` using WIT API ArtifactLink relations
with vstfs:///Git/PullRequestId URI format. Add `work_item_ids`
parameter to `create_pull_request()` and `update_pull_request()`.

- Add TeamProjectReference stub and project attr to GitRepository
- 8 new BDD tests across 3 test classes (452 total, 100% coverage)

Refs: #37493485
@grimlor grimlor merged commit fa55fd7 into main Apr 13, 2026
3 checks passed
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.

1 participant