Skip to content

jira issue attachment add

  • Usage: jira issue attachment add KEY... [PATH...] [flags]

Upload one or more local files to one or more issues. Use positional paths for quick uploads or repeated --file flags when paths contain shell-sensitive characters.

Before any HTTP request, the command checks every path, file type, and size. --dry-run performs that local preflight and prints the inferred files without uploading anything.

Input

--file <PATH>…

Path to attach (repeatable)

Accepts a file.

Safety

--dry-run

Preview without uploading

Execution

-p --parallelism <N>

Maximum concurrent requests (1-16)

Default: 1

Examples

jira issue attachment add PROJ-123 ./report.pdf # (1)!
jira issue attachment add PROJ-123 --file ./report.pdf --file ./logs.txt # (2)!
jira issue attachment add PROJ-123 ./report.pdf --dry-run # (3)!
  1. Attach a file to an issue
  2. Attach several files via repeated --file
  3. Preview local file checks without uploading