Table of Contents

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

ObjectReference

CreatedAt

When the issue was created.

[JsonPropertyName("createdAt")]
public DateTimeOffset? CreatedAt { get; init; }

Property Value

DateTimeOffset?

CreatedBy

Who created the issue.

[JsonPropertyName("createdBy")]
public ObjectReference? CreatedBy { get; init; }

Property Value

ObjectReference

Deadline

The deadline.

[JsonPropertyName("deadline")]
public DateOnly? Deadline { get; init; }

Property Value

DateOnly?

Description

The description, in Yandex Flavored Markdown.

[JsonPropertyName("description")]
public string? Description { get; init; }

Property Value

string

End

The planned end date.

[JsonPropertyName("end")]
public DateOnly? End { get; init; }

Property Value

DateOnly?

Estimation

The current estimate of the remaining work, as an ISO 8601 duration.

[JsonPropertyName("estimation")]
public string? Estimation { get; init; }

Property Value

string

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

IDictionary<string, JsonElement>

Id

The issue's internal id.

[JsonPropertyName("id")]
public string? Id { get; init; }

Property Value

string

Key

The issue key, e.g. TEST-1.

[JsonPropertyName("key")]
public string Key { get; init; }

Property Value

string

OriginalEstimation

The original estimate as an ISO 8601 duration; convert with ToHours(string?, decimal, decimal).

[JsonPropertyName("originalEstimation")]
public string? OriginalEstimation { get; init; }

Property Value

string

Parent

The parent issue, when this one is a subtask.

[JsonPropertyName("parent")]
public ObjectReference? Parent { get; init; }

Property Value

ObjectReference

Priority

The priority (blocker, critical, normal, minor, trivial).

[JsonPropertyName("priority")]
public ObjectReference? Priority { get; init; }

Property Value

ObjectReference

Queue

The queue the issue belongs to.

[JsonPropertyName("queue")]
public ObjectReference? Queue { get; init; }

Property Value

ObjectReference

Resolution

The resolution of a closed issue; null while it is open.

[JsonPropertyName("resolution")]
public ObjectReference? Resolution { get; init; }

Property Value

ObjectReference

ResolvedAt

When the issue was resolved.

[JsonPropertyName("resolvedAt")]
public DateTimeOffset? ResolvedAt { get; init; }

Property Value

DateTimeOffset?

Spent

The time spent, as an ISO 8601 duration.

[JsonPropertyName("spent")]
public string? Spent { get; init; }

Property Value

string

Start

The planned start date.

[JsonPropertyName("start")]
public DateOnly? Start { get; init; }

Property Value

DateOnly?

Status

The current status.

[JsonPropertyName("status")]
public ObjectReference? Status { get; init; }

Property Value

ObjectReference

StoryPoints

Story points.

[JsonPropertyName("storyPoints")]
public decimal? StoryPoints { get; init; }

Property Value

decimal?

Summary

The title.

[JsonPropertyName("summary")]
public string? Summary { get; init; }

Property Value

string

Tags

Tags.

[JsonPropertyName("tags")]
public IReadOnlyList<string>? Tags { get; init; }

Property Value

IReadOnlyList<string>

Type

The issue type (task, bug, epic, …).

[JsonPropertyName("type")]
public ObjectReference? Type { get; init; }

Property Value

ObjectReference

UpdatedAt

When the issue last changed; incremental sync searches by it.

[JsonPropertyName("updatedAt")]
public DateTimeOffset? UpdatedAt { get; init; }

Property Value

DateTimeOffset?

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?