---
title: Jira comments & worklogs
description: Comments, worklogs, watchers, and changelogs on Jira issues.
---

### Get Comments

Comment list on an issue — author, timestamp, body.

> **Policy**
>
> The issue's project must be in your scope.

| parameter | type | required | description |
|---|---|---|---|
| `key` | `string` | yes | issue key |
| `limit` | `number` | no | 1–100, default `50` |

***

### Get Changelog

Field-change history — who changed status/fields and when. Covers
transitions, edits, reassignments.

| parameter | type | required | description |
|---|---|---|---|
| `key` | `string` | yes | issue key |
| `limit` | `number` | no | 1–100, default `50` |

***

### Add Comment

> **Write tool**
>
> Write-gated; issue's project must be in your scope.

| parameter | type | required | description |
|---|---|---|---|
| `key` | `string` | yes | issue key |
| `body` | `string` | yes | comment text (plain) |
| `visibility` | `string` | no | JSON, e.g. `{"type":"group","value":"jira-users"}` |

```json
{ "key": "SUP-123", "body": "Triaged: High, assigned to alice." }
```

***

### Edit Comment

Edit an existing comment.

> **Write tool**
>
> Write-gated; issue's project must be in your scope.

| parameter | type | required | description |
|---|---|---|---|
| `key` | `string` | yes | issue key |
| `commentId` | `string` | yes | comment ID — see `jira_get_comments` |
| `body` | `string` | yes | new comment text |
| `visibility` | `string` | no | JSON, e.g. `{"type":"group","value":"jira-users"}` |

***

### Get Worklogs

Worklog entries on an issue — author, time spent, started.

> **Policy**
>
> The issue's project must be in your scope.

| parameter | type | required | description |
|---|---|---|---|
| `key` | `string` | yes | issue key |
| `limit` | `number` | no | 1–1000, default `100` |

***

### Add Worklog

Log time on an issue.

> **Write tool**
>
> Write-gated; issue's project must be in your scope.

| parameter | type | required | description |
|---|---|---|---|
| `key` | `string` | yes | issue key |
| `timeSpent` | `string` | yes | Jira format: `1h 30m`, `1d`, `30m`, `4h` |
| `comment` | `string` | no | worklog comment |
| `started` | `string` | no | ISO start time — default now |
| `remainingEstimate` | `string` | no | e.g. `2h` |
| `originalEstimate` | `string` | no | e.g. `1d` |

```json
{ "key": "SUP-123", "timeSpent": "1h 30m", "comment": "Root cause found" }
```

***

### Get Issue Watchers

Watchers on an issue.

> **Policy**
>
> The issue's project must be in your scope.

| parameter | type | required | description |
|---|---|---|---|
| `key` | `string` | yes | issue key |

***

### Add / Remove Issue Watcher

> **Write tools**
>
> Write-gated; issue's project must be in your scope. DC uses **usernames**
> (not account IDs — that's Cloud).

| parameter | type | required | description |
|---|---|---|---|
| `key` | `string` | yes | issue key |
| `username` | `string` | yes | Atlassian username |

***

### Get User Profile

Look up any Jira user by username — display name, email, active flag,
timezone.

| parameter | type | required | description |
|---|---|---|---|
| `username` | `string` | yes | Atlassian username — see `jira_search_assignable_users` |

```json
{ "username": "alice" }
```
