# Jira Worklog Delete

> Permanently deletes a Jira worklog entry. Use for "delete that worklog", "remove the time I logged on PAY-123 by mistake". This is a destructive write operation gated behind explicit user confirmation.

- Skill: `arfar-x/jira-worklog-delete` (Agent Skill)
- Install (CLI): `npx skillmds@latest add arfar-x/jira-worklog-delete`
- Raw SKILL.md: https://api.skillmd.com/api/skills/arfar-x/jira-worklog-delete/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: arfar-x (https://skillmd.com/u/arfar-x)
- Updated: 2026-09-21
- Page: https://skillmd.com/skills/arfar-x/jira-worklog-delete

---


# Jira: Worklog Delete

**Write, gated, destructive.** Run from this skill's directory:

```bash
python3 ../jira/scripts/jira_tool.py worklog_delete --issue_key PAY-123 --worklog_id 28459 --confirm
```

(First-time setup, once per environment: `pip install -r ../jira/requirements.txt`.)

`--issue_key` and `--worklog_id` are required. Find `--worklog_id` via
the `jira-issue-summary` skill's `worklogs[].id`, or the id a prior
`jira-worklog` call returned. **This cannot be undone** -- there is no
restore.

This refuses to execute unless run with `--confirm` (enforced in code,
not just prompted). Unless `JIRA_AUTO_CONFIRM_WRITES=true` is set:

1. State exactly which worklog you're about to permanently delete
   (issue, duration, description, date if known) and wait for the
   user's explicit yes.
2. Only then re-run the same command with `--confirm` appended.
3. If the result has `"requires_confirmation": true`, treat that as the
   tool declining to act -- relay `pending_action` to the user and ask,
   don't retry with `--confirm` on your own.

If you only need to fix a wrong duration/description/date rather than
remove the entry entirely, use `jira-worklog-edit` instead.

If the result contains `"error"`, tell the user what went wrong in
plain language instead of retrying silently or fabricating a result.

Not sure whether the request is a new log, a fix to an existing entry,
or a deletion? Use `jira-log` instead -- it routes to whichever of
`jira-worklog`/`jira-worklog-edit`/`jira-worklog-delete` fits.

See `../jira/README.md` for architecture details and the full
environment-variable table.

