Jira.js - Jira Cloud API library
    Preparing search index...

    Interface Issue

    Details about an issue.

    interface Issue {
        changelog?: {
            histories?: {
                author?: {
                    accountId?: string;
                    accountType?: string;
                    active?: boolean;
                    avatarUrls?: AgileModels.AvatarUrls;
                    displayName?: string;
                    emailAddress?: string;
                    self?: string;
                    timeZone?: string;
                };
                created?: string;
                historyMetadata?: {
                    activityDescription?: string;
                    activityDescriptionKey?: string;
                    actor?: {
                        avatarUrl?: string;
                        displayName?: string;
                        displayNameKey?: string;
                        id?: string;
                        type?: string;
                        url?: string;
                    };
                    cause?: {
                        avatarUrl?: string;
                        displayName?: string;
                        displayNameKey?: string;
                        id?: string;
                        type?: string;
                        url?: string;
                    };
                    description?: string;
                    descriptionKey?: string;
                    emailDescription?: string;
                    emailDescriptionKey?: string;
                    extraData?: {};
                    generator?: {
                        avatarUrl?: string;
                        displayName?: string;
                        displayNameKey?: string;
                        id?: string;
                        type?: string;
                        url?: string;
                    };
                    type?: string;
                };
                id?: string;
                items?: {
                    field?: string;
                    fieldId?: string;
                    fieldtype?: string;
                    from?: string;
                    fromString?: string;
                    to?: string;
                    toString?: string;
                }[];
            }[];
            maxResults?: number;
            startAt?: number;
            total?: number;
        };
        editmeta?: { fields?: {} };
        expand?: string;
        fields?: AgileModels.Fields;
        fieldsToInclude?: {
            actuallyIncluded?: string[];
            excluded?: string[];
            included?: string[];
        };
        id?: string;
        key?: string;
        names?: {};
        operations?: AgileModels.Operations;
        properties?: {};
        renderedFields?: {};
        schema?: {};
        self?: string;
        transitions?: {
            expand?: string;
            fields?: {};
            hasScreen?: boolean;
            id?: string;
            isAvailable?: boolean;
            isConditional?: boolean;
            isGlobal?: boolean;
            isInitial?: boolean;
            looped?: boolean;
            name?: string;
            to?: {
                description?: string;
                iconUrl?: string;
                id?: string;
                name?: string;
                scope?: AgileModels.Scope;
                self?: string;
                statusCategory?: AgileModels.StatusCategory;
            };
        }[];
        versionedRepresentations?: {};
    }
    Index

    Properties

    changelog?: {
        histories?: {
            author?: {
                accountId?: string;
                accountType?: string;
                active?: boolean;
                avatarUrls?: AgileModels.AvatarUrls;
                displayName?: string;
                emailAddress?: string;
                self?: string;
                timeZone?: string;
            };
            created?: string;
            historyMetadata?: {
                activityDescription?: string;
                activityDescriptionKey?: string;
                actor?: {
                    avatarUrl?: string;
                    displayName?: string;
                    displayNameKey?: string;
                    id?: string;
                    type?: string;
                    url?: string;
                };
                cause?: {
                    avatarUrl?: string;
                    displayName?: string;
                    displayNameKey?: string;
                    id?: string;
                    type?: string;
                    url?: string;
                };
                description?: string;
                descriptionKey?: string;
                emailDescription?: string;
                emailDescriptionKey?: string;
                extraData?: {};
                generator?: {
                    avatarUrl?: string;
                    displayName?: string;
                    displayNameKey?: string;
                    id?: string;
                    type?: string;
                    url?: string;
                };
                type?: string;
            };
            id?: string;
            items?: {
                field?: string;
                fieldId?: string;
                fieldtype?: string;
                from?: string;
                fromString?: string;
                to?: string;
                toString?: string;
            }[];
        }[];
        maxResults?: number;
        startAt?: number;
        total?: number;
    }

    A page of changelogs.

    Type declaration

    • Optionalhistories?: {
          author?: {
              accountId?: string;
              accountType?: string;
              active?: boolean;
              avatarUrls?: AgileModels.AvatarUrls;
              displayName?: string;
              emailAddress?: string;
              self?: string;
              timeZone?: string;
          };
          created?: string;
          historyMetadata?: {
              activityDescription?: string;
              activityDescriptionKey?: string;
              actor?: {
                  avatarUrl?: string;
                  displayName?: string;
                  displayNameKey?: string;
                  id?: string;
                  type?: string;
                  url?: string;
              };
              cause?: {
                  avatarUrl?: string;
                  displayName?: string;
                  displayNameKey?: string;
                  id?: string;
                  type?: string;
                  url?: string;
              };
              description?: string;
              descriptionKey?: string;
              emailDescription?: string;
              emailDescriptionKey?: string;
              extraData?: {};
              generator?: {
                  avatarUrl?: string;
                  displayName?: string;
                  displayNameKey?: string;
                  id?: string;
                  type?: string;
                  url?: string;
              };
              type?: string;
          };
          id?: string;
          items?: {
              field?: string;
              fieldId?: string;
              fieldtype?: string;
              from?: string;
              fromString?: string;
              to?: string;
              toString?: string;
          }[];
      }[]

      The list of changelogs.

    • OptionalmaxResults?: number

      The maximum number of results that could be on the page.

    • OptionalstartAt?: number

      The index of the first item returned on the page.

    • Optionaltotal?: number

      The number of results on the page.

    editmeta?: { fields?: {} }

    A list of editable field details.

    expand?: string

    Expand options that include additional issue details in the response.

    fieldsToInclude?: {
        actuallyIncluded?: string[];
        excluded?: string[];
        included?: string[];
    }
    id?: string

    The ID of the issue.

    key?: string

    The key of the issue.

    names?: {}

    The ID and name of each field present on the issue.

    operations?: AgileModels.Operations
    properties?: {}

    Details of the issue properties identified in the request.

    renderedFields?: {}

    The rendered value of each field present on the issue.

    schema?: {}

    The schema describing each field present on the issue.

    self?: string

    The URL of the issue details.

    transitions?: {
        expand?: string;
        fields?: {};
        hasScreen?: boolean;
        id?: string;
        isAvailable?: boolean;
        isConditional?: boolean;
        isGlobal?: boolean;
        isInitial?: boolean;
        looped?: boolean;
        name?: string;
        to?: {
            description?: string;
            iconUrl?: string;
            id?: string;
            name?: string;
            scope?: AgileModels.Scope;
            self?: string;
            statusCategory?: AgileModels.StatusCategory;
        };
    }[]

    The transitions that can be performed on the issue.

    Type declaration

    • Optionalexpand?: string

      Expand options that include additional transition details in the response.

    • Optionalfields?: {}

      Details of the fields associated with the issue transition screen. Use this information to populate fields and update in a transition request.

    • OptionalhasScreen?: boolean

      Whether there is a screen associated with the issue transition.

    • Optionalid?: string

      The ID of the issue transition. Required when specifying a transition to undertake.

    • OptionalisAvailable?: boolean

      Whether the transition is available to be performed.

    • OptionalisConditional?: boolean

      Whether the issue has to meet criteria before the issue transition is applied.

    • OptionalisGlobal?: boolean

      Whether the issue transition is global, that is, the transition is applied to issues regardless of their status.

    • OptionalisInitial?: boolean

      Whether this is the initial issue transition for the workflow.

    • Optionallooped?: boolean
    • Optionalname?: string

      The name of the issue transition.

    • Optionalto?: {
          description?: string;
          iconUrl?: string;
          id?: string;
          name?: string;
          scope?: AgileModels.Scope;
          self?: string;
          statusCategory?: AgileModels.StatusCategory;
      }

      A status.

      • Optionaldescription?: string

        The description of the status.

      • OptionaliconUrl?: string

        The URL of the icon used to represent the status.

      • Optionalid?: string

        The ID of the status.

      • Optionalname?: string

        The name of the status.

      • Optionalscope?: AgileModels.Scope

        The projects the item is associated with. Indicated for items associated with next-gen projects.

      • Optionalself?: string

        The URL of the status.

      • OptionalstatusCategory?: AgileModels.StatusCategory

        A status category.

    versionedRepresentations?: {}

    The versions of each field on the issue.