Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/jira/src/version3/parameters/deleteWorklog.ts>DeleteWorklog

A JavaScript/TypeScript wrapper for the JIRA Cloud, Service Desk and Agile REST API
Latest
interface DeleteWorklog
import { type DeleteWorklog } from "https://deno.land/x/jira@v3.0.2/src/version3/parameters/deleteWorklog.ts";

Properties

issueIdOrKey: string

The ID or key of the issue.

id: string

The ID of the worklog.

optional
notifyUsers: boolean

Whether users watching the issue are notified by email.

optional
adjustEstimate:
| "new"
| "leave"
| "manual"
| "auto"
| string

Defines how to update the issue's time estimate, the options are:

  • new Sets the estimate to a specific value, defined in newEstimate.
  • leave Leaves the estimate unchanged.
  • manual Increases the estimate by amount specified in increaseBy.
  • auto Reduces the estimate by the value of timeSpent in the worklog.
optional
newEstimate: string

The value to set as the issue's remaining time estimate, as days (#d), hours (#h), or minutes (#m or #). For example, 2d. Required when adjustEstimate is new.

optional
increaseBy: string

The amount to increase the issue's remaining estimate by, as days (#d), hours (#h), or minutes (#m or #). For example, 2d. Required when adjustEstimate is manual.

optional
overrideEditableFlag: boolean

Whether the work log entry should be added to the issue even if the issue is not editable, because jira.issue.editable set to false or missing. For example, the issue is closed. Connect and Forge app users with admin permission can use this flag.