@esm-js/jira.js
Version:
A comprehensive JavaScript/TypeScript library designed for both Node.JS and browsers, facilitating seamless interaction with the Atlassian Jira API.
31 lines (29 loc) • 1.07 kB
text/typescript
import type { JsonNode } from './jsonNode';
/** Details about a task. */
export interface TaskProgressNode {
/** The description of the task. */
description?: string;
/** The execution time of the task, in milliseconds. */
elapsedRuntime: number;
/** A timestamp recording when the task was finished. */
finished?: number;
/** The ID of the task. */
id: string;
/** A timestamp recording when the task progress was last updated. */
lastUpdate: number;
/** Information about the progress of the task. */
message?: string;
/** The progress of the task, as a percentage complete. */
progress: number;
result?: JsonNode;
/** The URL of the task. */
self: string;
/** A timestamp recording when the task was started. */
started?: number;
/** The status of the task. */
status: 'ENQUEUED' | 'RUNNING' | 'COMPLETE' | 'FAILED' | 'CANCEL_REQUESTED' | 'CANCELLED' | 'DEAD' | string;
/** A timestamp recording when the task was submitted. */
submitted: number;
/** The ID of the user who submitted the task. */
submittedBy: number;
}