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

    Class IssueWorklogs

    Index

    Constructors

    Methods

    • Moves a list of worklogs from one issue to another. This is an experimental API with several limitations:

      • You can't move more than 5000 worklogs at once.
      • You can't move worklogs containing an attachment.
      • You can't move worklogs restricted by project roles.
      • No notifications will be sent for moved worklogs.
      • No webhooks or events will be sent for moved worklogs.
      • No issue history will be recorded for moved worklogs.

      Time tracking must be enabled in Jira, otherwise this operation returns an error. For more information, see Configuring time tracking.

      Permissions required:

      Type Parameters

      • T = void

      Parameters

      Returns Promise<void>

    • Moves a list of worklogs from one issue to another. This is an experimental API with several limitations:

      • You can't move more than 5000 worklogs at once.
      • You can't move worklogs containing an attachment.
      • You can't move worklogs restricted by project roles.
      • No notifications will be sent for moved worklogs.
      • No webhooks or events will be sent for moved worklogs.
      • No issue history will be recorded for moved worklogs.

      Time tracking must be enabled in Jira, otherwise this operation returns an error. For more information, see Configuring time tracking.

      Permissions required:

      Type Parameters

      • T = void

      Parameters

      Returns Promise<T>

    • Returns a list of IDs and update timestamps for worklogs updated after a date and time.

      This resource is paginated, with a limit of 1000 worklogs per page. Each page lists worklogs from oldest to youngest. If the number of items in the date range exceeds 1000, until indicates the timestamp of the youngest item on the page. Also, nextPage provides the URL for the next page of worklogs. The lastPage parameter is set to true on the last page of worklogs.

      This resource does not return worklogs updated during the minute preceding the request.

      Permissions required: Permission to access Jira, however, worklogs are only returned where either of the following is true:

      • The worklog is set as Viewable by All Users.
      • The user is a member of a project role or group with permission to view the worklog.

      Type Parameters

      Parameters

      Returns Promise<void>

    • Returns a list of IDs and update timestamps for worklogs updated after a date and time.

      This resource is paginated, with a limit of 1000 worklogs per page. Each page lists worklogs from oldest to youngest. If the number of items in the date range exceeds 1000, until indicates the timestamp of the youngest item on the page. Also, nextPage provides the URL for the next page of worklogs. The lastPage parameter is set to true on the last page of worklogs.

      This resource does not return worklogs updated during the minute preceding the request.

      Permissions required: Permission to access Jira, however, worklogs are only returned where either of the following is true:

      • The worklog is set as Viewable by All Users.
      • The user is a member of a project role or group with permission to view the worklog.

      Type Parameters

      Parameters

      Returns Promise<T>