Attachment Added
Webhook payload reference for the attachments.issues.store event, triggered when a file is attached to a task.
Triggered when a file is attached to a task.
- Event:
attachments.issues.store - Category: Tasks
- Triggers: Uploading a file to a task in the task details panel
Payload
The payload contains the full attachment resource via AttachmentResource:
{
"id": 789,
"uuid": "attachment-uuid-789",
"resource": {
"type": "task",
"uuid": "abc123-def456-ghi789"
},
"description": null,
"download": {
"url": "https://s3.amazonaws.com/bucket/file.pdf?signed=...",
"internal": "https://services.gitscrum.com/attachments/attachment-uuid-789",
"expiration": "2026-02-06T15:30:00+00:00"
},
"filename": "design-spec.pdf",
"mimetype": "application/pdf",
"size": 245760,
"folder_id": null,
"folder": null,
"show_in_carousel": false,
"is_mine": true,
"user": {
"id": 1,
"uuid": "user-uuid-123",
"name": "Jane Smith",
"username": "janesmith",
"avatar": "https://avatar.url/jane.jpg",
"headline": "Lead Developer",
"location": "Porto, Portugal",
"timezone_name": "Europe/Lisbon",
"language": "en",
"created_at": {
"date_for_humans": "1 year ago",
"iso8601": "2025-01-15T10:00:00+00:00",
"timestamp": 1736935200
}
},
"task": null,
"comments": 0,
"project": {
"slug": "web-platform",
"name": "Web Platform",
"logo": "https://logo.url/project.png",
"visibility": {
"is_private": 1,
"title": "Private"
},
"recurring": true,
"owner": { ... }
},
"created_at": {
"date_for_humans": "Just now",
"iso8601": "2026-02-06T14:30:00+00:00",
"timestamp": 1738852200
}
}Field Reference
| Field | Type | Description |
|---|---|---|
id | integer | Attachment ID |
uuid | string | Attachment UUID |
resource.type | string | Parent resource type ("task") |
resource.uuid | string | Parent task UUID |
description | string or null | Attachment description |
download.url | string | Signed S3 download URL (temporary) |
download.internal | string | Internal GitScrum download URL |
download.expiration | string | URL expiration datetime |
filename | string | Original filename |
mimetype | string | MIME type |
size | integer | File size in bytes |
folder_id | integer or null | Folder ID (if organized in folders) |
folder | object or null | Folder details: id, uuid, name, path |
showincarousel | boolean | Whether the attachment shows in the image carousel |
user | object | User who uploaded the file |
comments | integer or null | Number of comments on the attachment |
project | object | Project details |
created_at | object | Upload timestamp |
Notes
- The
download.urlis a signed S3 URL with an expiration time. It may expire before your system processes it. - Use
download.internalfor a more stable download URL. - The
sizefield is in bytes.
Related
- Attachment Removed —
attachments.issues.destroy - Comment Created —
comments.issues.store