Skip to content

feat: derive issueLink from PR closingIssuesReferences #62

Description

@drewdrewthis

Current

Only cards sourced from a GitHub issue get issueLink populated. A card whose origin is a PR has no auto-linked issue even when the PR body contains closes #N / fixes #N.

Proposed

When a card has a prLink but no issueLink, derive issueLink from the PR's closingIssuesReferences[0]. Auto-fill only; explicit user link still wins.

Rationale

Prior art: orchard-rs does this — git-orchard-rs/crates/orchard/src/join.rs#L72-L77. The GitHub relationship is already expressed on the PR; reflecting it in the card removes manual linking.

Ref: specs/sessions/linking.feature

No activity

Activity on this issue will appear here.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requestrelevance-checkedExamined by kanban relevance audit with no close signal this cycle

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions