Class IssueReferenceResponse
One reference from an issue to where it came from, or to the ticket it is.
public record IssueReferenceResponse : IEquatable<IssueReferenceResponse>
- Inheritance
-
IssueReferenceResponse
- Implements
- Inherited Members
Properties
Kind
The source system, lower-cased — github, backlog, code, jira,
trello, session.
public required string Kind { get; init; }
Property Value
Remarks
An open string, not an enum, unlike IssueLinkKind, RoadmapBand and IssueEffort — those are closed because the roadmap format defines them. Source kinds are an extensibility point, and an enum here would force a Toolkit release every time a new tracker appeared.
Label
Display text, or empty to render Value instead.
public required string Label { get; init; }
Property Value
Role
Whether this is a stale-tolerant hint or a key. See IssueReferenceRole.
public required IssueReferenceRole Role { get; init; }
Property Value
Url
A link to the reference, or empty when it has none. Optional by design — a code comment and a backlog row genuinely have no URL, so requiring one would push callers into inventing them.
public required string Url { get; init; }
Property Value
Value
What the reference points at within that system — Toolkit#172, backlog.md,
LanguageController.cs:52. Carries the meaning: Url is a convenience.
public required string Value { get; init; }