Constructors

Properties

client: Client

Methods

  • Returns the epic for a given epic ID. This epic will only be returned if the user has permission to view it. Note: This operation does not work for epics in next-gen projects.

    Type Parameters

    Parameters

    Returns Promise<void>

  • Returns the epic for a given epic ID. This epic will only be returned if the user has permission to view it. Note: This operation does not work for epics in next-gen projects.

    Type Parameters

    Parameters

    • parameters: GetEpic
    • Optional callback: undefined

    Returns Promise<T>

  • Returns all issues that belong to the epic, for the given epic ID. This only includes issues that the user has permission to view. Issues returned from this resource include Agile fields, like sprint, closedSprints, flagged, and epic. By default, the returned issues are ordered by rank. Note: If you are querying a next-gen project, do not use this operation. Instead, search for issues that belong to an epic by using the Search for issues using JQL operation in the Jira platform REST API. Build your JQL query using the parent clause. For more information on the parent JQL field, see Advanced searching.

    Type Parameters

    • T = unknown

    Parameters

    Returns Promise<void>

  • Returns all issues that belong to the epic, for the given epic ID. This only includes issues that the user has permission to view. Issues returned from this resource include Agile fields, like sprint, closedSprints, flagged, and epic. By default, the returned issues are ordered by rank. Note: If you are querying a next-gen project, do not use this operation. Instead, search for issues that belong to an epic by using the Search for issues using JQL operation in the Jira platform REST API. Build your JQL query using the parent clause. For more information on the parent JQL field, see Advanced searching.

    Type Parameters

    • T = unknown

    Parameters

    Returns Promise<T>

  • Returns all issues that do not belong to any epic. This only includes issues that the user has permission to view. Issues returned from this resource include Agile fields, like sprint, closedSprints, flagged, and epic. By default, the returned issues are ordered by rank. Note: If you are querying a next-gen project, do not use this operation. Instead, search for issues that don't belong to an epic by using the Search for issues using JQL operation in the Jira platform REST API. Build your JQL query using the parent is empty clause. For more information on the parent JQL field, see Advanced searching.

    Type Parameters

    • T = unknown

    Parameters

    Returns Promise<void>

  • Returns all issues that do not belong to any epic. This only includes issues that the user has permission to view. Issues returned from this resource include Agile fields, like sprint, closedSprints, flagged, and epic. By default, the returned issues are ordered by rank. Note: If you are querying a next-gen project, do not use this operation. Instead, search for issues that don't belong to an epic by using the Search for issues using JQL operation in the Jira platform REST API. Build your JQL query using the parent is empty clause. For more information on the parent JQL field, see Advanced searching.

    Type Parameters

    • T = unknown

    Parameters

    Returns Promise<T>

  • Moves issues to an epic, for a given epic id. Issues can be only in a single epic at the same time. That means that already assigned issues to an epic, will not be assigned to the previous epic anymore. The user needs to have the edit issue permission for all issue they want to move and to the epic. The maximum number of issues that can be moved in one operation is 50. Note: This operation does not work for epics in next-gen projects.

    Type Parameters

    • T = void

    Parameters

    Returns Promise<void>

  • Moves issues to an epic, for a given epic id. Issues can be only in a single epic at the same time. That means that already assigned issues to an epic, will not be assigned to the previous epic anymore. The user needs to have the edit issue permission for all issue they want to move and to the epic. The maximum number of issues that can be moved in one operation is 50. Note: This operation does not work for epics in next-gen projects.

    Type Parameters

    • T = void

    Parameters

    Returns Promise<T>

  • Performs a partial update of the epic. A partial update means that fields not present in the request JSON will not be updated. Valid values for color are color_1 to color_9. Note: This operation does not work for epics in next-gen projects.

    Type Parameters

    Parameters

    Returns Promise<void>

  • Performs a partial update of the epic. A partial update means that fields not present in the request JSON will not be updated. Valid values for color are color_1 to color_9. Note: This operation does not work for epics in next-gen projects.

    Type Parameters

    Parameters

    Returns Promise<T>

  • Moves (ranks) an epic before or after a given epic.

    If rankCustomFieldId is not defined, the default rank field will be used.

    Note: This operation does not work for epics in next-gen projects.

    Type Parameters

    • T = void

    Parameters

    Returns Promise<void>

  • Moves (ranks) an epic before or after a given epic.

    If rankCustomFieldId is not defined, the default rank field will be used.

    Note: This operation does not work for epics in next-gen projects.

    Type Parameters

    • T = void

    Parameters

    • parameters: RankEpics
    • Optional callback: undefined

    Returns Promise<T>

  • Removes issues from epics. The user needs to have the edit issue permission for all issue they want to remove from epics. The maximum number of issues that can be moved in one operation is 50. Note: This operation does not work for epics in next-gen projects. Instead, update the issue using \{ fields: \{ parent: \{\} \} \}

    Type Parameters

    • T = void

    Parameters

    Returns Promise<void>

  • Removes issues from epics. The user needs to have the edit issue permission for all issue they want to remove from epics. The maximum number of issues that can be moved in one operation is 50. Note: This operation does not work for epics in next-gen projects. Instead, update the issue using \{ fields: \{ parent: \{\} \} \}

    Type Parameters

    • T = void

    Parameters

    Returns Promise<T>