Agent skill
ticket-delete-comment
Delete a comment from a Jira ticket. Use when the user wants to remove a comment they previously added or clean up outdated comments.
Install this agent skill to your Project
npx add-skill https://github.com/rlcurrall/aide/tree/main/skills/ticket-delete-comment
SKILL.md
Delete Ticket Comment
Delete a comment from a Jira ticket by its comment ID.
When to Use
- User wants to remove a comment they previously added
- User wants to clean up test or draft comments
- User wants to remove outdated or incorrect information
How to Execute
Run:
aide jira delete-comment TICKET-KEY COMMENT-ID [--format text|json|markdown]
Arguments
| Argument | Required | Description |
|---|---|---|
TICKET-KEY |
Yes | Jira ticket key (e.g., PROJ-123) |
COMMENT-ID |
Yes | ID of the comment to delete |
Flags
| Flag | Description |
|---|---|
--format |
Output format: text, json, markdown |
Finding Comment IDs
To find the comment ID you want to delete, first list comments:
aide jira comments PROJ-123 --format json
Each comment in the output will have an id field.
Output Includes
- Confirmation of deletion
- Ticket key
- Deleted comment ID
Common Patterns
# Delete a specific comment
aide jira delete-comment PROJ-123 10001
# Delete with JSON output (useful for scripting)
aide jira delete-comment PROJ-123 10001 --format json
Use Cases
| Purpose | Example |
|---|---|
| Remove test comment | Clean up after testing |
| Remove duplicate | Accidentally posted same comment twice |
| Remove outdated info | Information is no longer accurate |
| Clean up draft | Remove incomplete or draft comment |
Important Notes
- Deletion is permanent and cannot be undone
- You can only delete comments you have permission to delete
- The comment ID is required (use
aide jira commentsto find it)
Next Steps
After deleting a comment:
- Use ticket-comments skill to verify deletion
- Use ticket-comment skill to add a new comment if needed
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
release
Create a new software release by bumping version numbers, committing changes, creating git tags, and pushing to remote. Use when creating a release, bumping versions, or publishing a new version.
ticket-attach
Manage Jira ticket attachments. Use when the user wants to list, upload, download, or delete attachments on a ticket.
pr-comments
Load PR comments and feedback for code review. Use when the user wants to see reviewer feedback, check for unresolved comments, understand what changes are requested, or review discussion on a PR.
pr-list
List pull requests from the repository. Use when the user wants to see open PRs, find PRs to review, check their own PRs, or browse PR history.
ticket-update
Update fields on an existing Jira ticket. Use when the user wants to modify a ticket's summary, description, assignee, priority, labels, or custom fields.
pr-create
Create a new pull request. Use when the user wants to open a PR, submit code for review, create a draft PR, or push changes for merge.
Didn't find tool you were looking for?