Every file attached to one issue, newest first (anyone who can read the issue; D58)
list_attachmentsEvery file attached to one issue, newest first (anyone who can read the issue; D58).
Includes files referenced from the description and from comments. uploaded_by is the user id; agent uploads also carry agent_token_id.
Use this to see which files an issue has before reading or referring to them. Each item: attachment_id, path (the attachments/KJ-1/… path md bodies link to), filename, content_type, size_bytes, created_at (when it was attached), uploaded_by (user id) and agent_token_id (set when an AI agent uploaded it). To open or read a file, call get_download_url with its attachment_id. Only finished uploads are listed; an empty items means the issue has no files.
You act with exactly the rights of the user who owns this token; a project you cannot see returns not_found.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| issue_key | Yes | Issue key `{PROJECT}-{n}`, e.g. `KJ-101`. | |
| project_key | Yes | Project key, e.g. `KJ`. 2–10 chars, uppercase letters and digits, starts with a letter. |