Table of Contents

Class IssueDraft

Namespace
YandexTracker.Models.Issues
Assembly
YandexTracker.dll

A new issue. The queue and the title are required; the other fields are those of Tracker's issue form.

public sealed record IssueDraft : IEquatable<IssueDraft>
Inheritance
IssueDraft
Implements
Inherited Members

Properties

Assignee

The assignee's login or uid.

[JsonPropertyName("assignee")]
public string? Assignee { get; init; }

Property Value

string

Deadline

The deadline.

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

Property Value

DateOnly?

Description

The description.

[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?

Fields

Queue-local fields, written as they are.

[JsonExtensionData]
public IDictionary<string, object?>? Fields { get; init; }

Property Value

IDictionary<string, object>

OriginalEstimation

The original estimate as an ISO 8601 duration; build one with FromHours(decimal, decimal).

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

Property Value

string

Parent

The parent issue key.

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

Property Value

string

Priority

The priority key.

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

Property Value

string

Queue

The key of the queue to create the issue in.

[JsonPropertyName("queue")]
public required string Queue { get; init; }

Property Value

string

Start

The planned start date.

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

Property Value

DateOnly?

Summary

The title.

[JsonPropertyName("summary")]
public required 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 key.

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

Property Value

string

Unique

An idempotency key: repeating the request with the same key does not create a second issue.

[JsonPropertyName("unique")]
public string? Unique { get; init; }

Property Value

string