Key fields from the linked issue.

interface Fields {
    aggregatetimespent: null | number;
    assignee: Version2.Version2Models.UserDetails;
    attachment: Version2.Version2Models.Attachment[];
    comment: {
        comments: Version2.Version2Models.Comment[];
        maxResults: number;
        self: string;
        startAt: number;
        total: number;
    };
    components: Version2.Version2Models.ProjectComponent[];
    created: string;
    creator: Version2.Version2Models.User;
    description?: string;
    duedate: null | string;
    environment: null | Version2.Version2Models.RichText;
    fixVersions: Version2.Version2Models.FixVersion[];
    issuelinks: Version2.Version2Models.IssueLink[];
    issuerestriction?: {
        issuerestrictions: any;
        shouldDisplay: boolean;
    };
    issuetype: Version2.Version2Models.IssueTypeDetails;
    labels: string[];
    lastViewed: null | string;
    parent?: Version2.Version2Models.Issue;
    priority: Version2.Version2Models.Priority;
    reporter: Version2.Version2Models.User;
    resolution: null | Version2.Version2Models.Resolution;
    resolutiondate: null | string;
    status: Version2.Version2Models.StatusDetails;
    statuscategorychangedate?: string;
    subtasks: Version2.Version2Models.Issue[];
    summary: string;
    timeoriginalestimate?: any;
    timespent: null | number;
    timetracking: Version2.Version2Models.TimeTrackingDetails;
    updated: string;
    votes: Version2.Version2Models.Votes & {
        voters: never;
    };
    watches: Version2.Version2Models.Watchers;
    worklog: {
        maxResults: number;
        startAt: number;
        total: number;
        worklogs: Version2.Version2Models.Worklog[];
    };
    workratio: number;
    [key: string]: any;
}

Indexable

[key: string]: any

Properties

aggregatetimespent: null | number

The estimate of how much longer working on the issue will take, in seconds.

The assignee of the linked issue.

The list of issue attachments.

comment: {
    comments: Version2.Version2Models.Comment[];
    maxResults: number;
    self: string;
    startAt: number;
    total: number;
}

The list of issue comment.

Type declaration

The list of project components the issue belongs to.

created: string

The creation time of the issue.

The user who created the issue

description?: string

The issue description.

duedate: null | string

The time the issue is due.

environment: null | Version2.Version2Models.RichText

The value of the environment field.

The list of versions where the issue was fixed.

The list of issue links.

issuerestriction?: {
    issuerestrictions: any;
    shouldDisplay: boolean;
}

Type declaration

  • issuerestrictions: any
  • shouldDisplay: boolean

The type of the linked issue.

labels: string[]

The list of labels associated with the issue.

lastViewed: null | string

The issue parent.

The priority of the linked issue.

The reporter of the issue.

The resolution of the issue.

resolutiondate: null | string

The time the issue was resolved at.

The status of the linked issue.

statuscategorychangedate?: string

The list of subtasks.

summary: string

The summary description of the linked issue.

timeoriginalestimate?: any
timespent: null | number

The time that was spent working on the issue, in seconds.

The time tracking of the linked issue.

updated: string

The time when the issue was last updated at.

votes: Version2.Version2Models.Votes & {
    voters: never;
}

The number of voters of the issue. Returns an error if voting is disabled.

Type declaration

  • voters: never

The number of watchers of the issue. Returns an error if watching is disabled.

worklog: {
    maxResults: number;
    startAt: number;
    total: number;
    worklogs: Version2.Version2Models.Worklog[];
}

Type declaration

workratio: number