Class Issue
- Namespace
- YandexTracker.Models.Issues
- Assembly
- YandexTracker.dll
A Tracker issue. Standard fields are typed; queue-local fields and anything the API adds later stay in Fields as JSON values, preserving data outside the typed subset.
public sealed record Issue : IEquatable<Issue>
- Inheritance
-
Issue
- Implements
- Inherited Members
Properties
Assignee
The assignee; its Id is the user's uid.
[JsonPropertyName("assignee")]
public ObjectReference? Assignee { get; init; }
Property Value
CreatedAt
When the issue was created.
[JsonPropertyName("createdAt")]
public DateTimeOffset? CreatedAt { get; init; }
Property Value
CreatedBy
Who created the issue.
[JsonPropertyName("createdBy")]
public ObjectReference? CreatedBy { get; init; }
Property Value
Deadline
The deadline.
[JsonPropertyName("deadline")]
public DateOnly? Deadline { get; init; }
Property Value
Description
The description, in Yandex Flavored Markdown.
[JsonPropertyName("description")]
public string? Description { get; init; }
Property Value
End
The planned end date.
[JsonPropertyName("end")]
public DateOnly? End { get; init; }
Property Value
Estimation
The current estimate of the remaining work, as an ISO 8601 duration.
[JsonPropertyName("estimation")]
public string? Estimation { get; init; }
Property Value
Fields
Fields with no typed property: queue-local fields and fields the API adds later.
[JsonExtensionData]
public IDictionary<string, JsonElement>? Fields { get; init; }
Property Value
Id
The issue's internal id.
[JsonPropertyName("id")]
public string? Id { get; init; }
Property Value
Key
The issue key, e.g. TEST-1.
[JsonPropertyName("key")]
public string Key { get; init; }
Property Value
OriginalEstimation
The original estimate as an ISO 8601 duration; convert with ToHours(string?, decimal, decimal).
[JsonPropertyName("originalEstimation")]
public string? OriginalEstimation { get; init; }
Property Value
Parent
The parent issue, when this one is a subtask.
[JsonPropertyName("parent")]
public ObjectReference? Parent { get; init; }
Property Value
Priority
The priority (blocker, critical, normal, minor, trivial).
[JsonPropertyName("priority")]
public ObjectReference? Priority { get; init; }
Property Value
Queue
The queue the issue belongs to.
[JsonPropertyName("queue")]
public ObjectReference? Queue { get; init; }
Property Value
Resolution
The resolution of a closed issue; null while it is open.
[JsonPropertyName("resolution")]
public ObjectReference? Resolution { get; init; }
Property Value
ResolvedAt
When the issue was resolved.
[JsonPropertyName("resolvedAt")]
public DateTimeOffset? ResolvedAt { get; init; }
Property Value
Spent
The time spent, as an ISO 8601 duration.
[JsonPropertyName("spent")]
public string? Spent { get; init; }
Property Value
Start
The planned start date.
[JsonPropertyName("start")]
public DateOnly? Start { get; init; }
Property Value
Status
The current status.
[JsonPropertyName("status")]
public ObjectReference? Status { get; init; }
Property Value
StoryPoints
Story points.
[JsonPropertyName("storyPoints")]
public decimal? StoryPoints { get; init; }
Property Value
Summary
The title.
[JsonPropertyName("summary")]
public string? Summary { get; init; }
Property Value
Tags
Tags.
[JsonPropertyName("tags")]
public IReadOnlyList<string>? Tags { get; init; }
Property Value
Type
The issue type (task, bug, epic, …).
[JsonPropertyName("type")]
public ObjectReference? Type { get; init; }
Property Value
UpdatedAt
When the issue last changed; incremental sync searches by it.
[JsonPropertyName("updatedAt")]
public DateTimeOffset? UpdatedAt { get; init; }
Property Value
Version
The issue version; pass it to an update to reject edits of a stale copy.
[JsonPropertyName("version")]
public long? Version { get; init; }
Property Value
- long?