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
Deadline
The deadline.
[JsonPropertyName("deadline")]
public DateOnly? Deadline { get; init; }
Property Value
Description
The description.
[JsonPropertyName("description")]
public string? Description { get; init; }
Property Value
End
The planned end date.
[JsonPropertyName("end")]
public DateOnly? End { get; init; }
Property Value
Fields
Queue-local fields, written as they are.
[JsonExtensionData]
public IDictionary<string, object?>? Fields { get; init; }
Property Value
OriginalEstimation
The original estimate as an ISO 8601 duration; build one with FromHours(decimal, decimal).
[JsonPropertyName("originalEstimation")]
public string? OriginalEstimation { get; init; }
Property Value
Parent
The parent issue key.
[JsonPropertyName("parent")]
public string? Parent { get; init; }
Property Value
Priority
The priority key.
[JsonPropertyName("priority")]
public string? Priority { get; init; }
Property Value
Queue
The key of the queue to create the issue in.
[JsonPropertyName("queue")]
public required string Queue { get; init; }
Property Value
Start
The planned start date.
[JsonPropertyName("start")]
public DateOnly? Start { get; init; }
Property Value
Summary
The title.
[JsonPropertyName("summary")]
public required string Summary { get; init; }
Property Value
Tags
Tags.
[JsonPropertyName("tags")]
public IReadOnlyList<string>? Tags { get; init; }
Property Value
Type
The issue type key.
[JsonPropertyName("type")]
public string? Type { get; init; }
Property Value
Unique
An idempotency key: repeating the request with the same key does not create a second issue.
[JsonPropertyName("unique")]
public string? Unique { get; init; }