---
title: "Comment on a Jira issue"
description: "Adds your comment to the issue in Jira, as you."
canonical_url: https://docs.markdrop.in/api/jira/comment-on-a-jira-issue
last_updated: 2026-11-20
site: "Markdrop Docs"
index: https://docs.markdrop.in/llms.txt
---

# Comment on a Jira issue

`POST https://api.markdrop.in/api/v1/jira/issue/{key}/comment`

Adds your comment to the issue in Jira, as you.

- **Authentication:** API token required: `Authorization: Bearer mdk_…`.
- **Rate limit:** 30 per minute per IP address.
- **Guide:** [Jira in pages](https://docs.markdrop.in/collaboration/jira-in-pages)

## Path parameters

- `key` (string, required)

## Request body

`application/json`, required.

- `site` (string): Matches `^[A-Za-z0-9:/._-]{3,200}$`.
- `slug` (string): Matches `^[A-Za-z0-9_-]{1,64}$`.
- `body` (string, required): 1–5,000 characters.

## Responses

- `200`: OK.
- `401`: No token, or the token is revoked or mistyped.
- `422`: The request didn't validate. `detail` lists each problem, with where it is (`loc`) and why (`msg`).
- `429`: Too many requests from your IP address. Wait the seconds in `Retry-After`.

## Examples

**curl**

```bash
curl -X POST https://api.markdrop.in/api/v1/jira/issue/KEY/comment \
  -H "Authorization: Bearer $MARKDROP_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"body":"BODY"}'
```

**JavaScript**

```javascript
const res = await fetch("https://api.markdrop.in/api/v1/jira/issue/KEY/comment", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.MARKDROP_TOKEN}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    "body": "BODY"
  }),
});
const data = await res.json();
```

**Python**

```python
import os

import requests

r = requests.post(
    "https://api.markdrop.in/api/v1/jira/issue/KEY/comment",
    headers={"Authorization": f"Bearer {os.environ['MARKDROP_TOKEN']}"},
    json={"body": "BODY"},
)
r.raise_for_status()
print(r.json())
```
