---
schema: rendered-html/v1
title: "IssueAttachment | Developer Portal for YouTrack and Hub Documentation"
source_url: https://www.jetbrains.com/help/youtrack/devportal/api-entity-IssueAttachment.html
generated_at: 2026-06-11T14:49:54.328642+00:00
---

Feedback

Thanks for your feedback!

Was this page helpful?

YesNo

Developer Portal for YouTrack and Hub

- Developer Portal
- Apps
- MCP Tools
- YouTrack Workflows
- YouTrack Import Scripts
- YouTrack Form API
- YouTrack REST API
- Get Started with REST API
- REST API Reference
- Entities
- AccessScope
- ActivityCategory
- ActivityCursorPage
- ActivityItem
- Agile
- AgileColumn
- AgileSharingSettings
- AgileStatus
- AppearanceSettings
- ArticleAttachment
- ArticleComment
- AssignedRole
- BackupError
- BackupFile
- BackupStatus
- BaseArticle
- BaseWorkItem
- Bundle
- BundleElement
- ChangesProcessor
- ColorCoding
- ColumnSettings
- CommandList
- CommandVisibility
- CustomField
- CustomFieldCondition
- CustomFieldDefaults
- DatabaseAttributeValue
- DatabaseBackupSettings
- DateFormatDescriptor
- DuplicateVote
- DurationValue
- EmailSettings
- Event
- ExternalArticle
- ExternalIssue
- FieldStyle
- FieldType
- FilterField
- GeneralUserProfile
- [GlobalSettings](jetbrains__com__help__youtrack__devportal__api-entity-globalsettings.md)
- [GlobalTimeTrackingSettings](jetbrains__com__help__youtrack__devportal__api-entity-globaltimetrackingsettings.md)
- [Issue](jetbrains__com__help__youtrack__devportal__api-entity-issue.md)
- [IssueAttachment](api-entity-IssueAttachment.html)
- IssueComment
- IssueCountResponse
- IssueCustomField
- IssueFolder
- IssueKey
- IssueLink
- IssueLinkType
- IssueTimeTracking
- IssueVoters
- IssueWatcher
- IssueWatchers
- License
- LocaleDescriptor
- LocaleSettings
- Logo
- NotificationSettings
- NotificationsUserProfile
- OnlineUsers
- Organization
- ParsedCommand
- PeriodFieldFormat
- PeriodValue
- Permission
- ProjectColor
- ProjectCustomField
- ProjectTimeTrackingSettings
- PullRequest
- PullRequestChange
- PullRequestState
- Reaction
- RestCorsSettings
- Role
- SearchSuggestions
- Sprint
- SprintsSettings
- StorageEntry
- Suggestion
- SwimlaneSettings
- SwimlaneValue
- SystemSettings
- TagSharingSettings
- Telemetry
- TextFieldValue
- TimeTrackingUserProfile
- TimeZoneDescriptor
- User
- UserGroup
- UserProfiles
- UserType
- VcsChange
- VcsServer
- Visibility
- WIPLimit
- WatchFolderSharingSettings
- WorkItemAttribute
- WorkItemAttributePrototype
- WorkItemAttributeValue
- WorkItemProjectAttribute
- WorkItemType
- WorkTimeSettings
- Resources
- REST API Use Cases
- REST API Troubleshooting
- Color Indices List
- Hub REST API

1. YouTrack REST API
2. REST API Reference
3. Entities
4. [IssueAttachment](#0)

# IssueAttachment﻿

Last modified: 23 May 2025

Represents a file that is attached to an issue or a comment.

## Related Resources﻿

Below you can find the list of resources that let you work with this entity.

- Issue Attachments

## Attributes﻿

This table describes attributes of the `IssueAttachment` entity.

- To receive an attribute in the response from the server, specify it explicitly in the `fields` request parameter.
- To update an attribute, provide it in the body of a POST request.

| Field | Type | Description |
| --- | --- | --- |
| id | String | The ID of the attachment. `Read-only`. |
| name | String | The name of the file. |
| author | User | The user who attached the file to the issue. `Read-only`. `Can be null`. |
| created | Long | The timestamp in milliseconds indicating the moment when the attachment was created. Stored as a unix timestamp at UTC. `Read-only`. |
| updated | Long | The timestamp in milliseconds indicating the last update of the attachment. Stored as a unix timestamp at UTC. `Read-only`. |
| size | Long | The size of the attached file in bytes. `Read-only`. |
| extension | String | The extension that defines the file type. `Read-only`. `Can be null`. |
| charset | String | Charset of the file. `Read-only`. `Can be null`. |
| mimeType | String | Mime type of the file. `Read-only`. `Can be null`. |
| metaData | String | The dimensions of an image file. For an image file, the value is `rw=&rh=`. For a non-image file, the value is empty. `Read-only`. `Can be null`. |
| draft | Boolean | If true, attachment is not yet published, otherwise false. `Read-only`. |
| removed | Boolean | If true, then attachment is considered to be removed. `Read-only`. |
| base64Content | String | The Data URI that represents the attachment with the following syntax:  ``` data:[<media type>][;base64],<data> ```  For example:  ``` "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg==" ```  `Can be null`. |
| url | String | URL of the file. `Read-only`. `Can be null`. |
| visibility | Visibility | Access setting of the attachment. `Can be null`. |
| issue | [Issue](jetbrains__com__help__youtrack__devportal__api-entity-issue.md) | The issue that the file is attached to. `Read-only`. `Can be null`. |
| comment | IssueComment | The comment that the file is attached to. Returns `null`, if the file was attached directly to the issue. `Read-only`. |
| thumbnailURL | String | URL of the attachment thumbnail. `Read-only`. `Can be null`. |

- [IssueAttachment](/help/youtrack/devportal/api-entity-IssueAttachment.html)
- [Related Resources](/help/youtrack/devportal/api-entity-IssueAttachment.html#-sfgv2a_3)
- [Attributes](/help/youtrack/devportal/api-entity-IssueAttachment.html#-sfgv2a_4)

[Issue](jetbrains__com__help__youtrack__devportal__api-entity-issue.md)IssueComment

- Privacy & Security
- Terms Of Use
- Trademarks
- Legal

Copyright © 2000–2026 JetBrains s.r.o.
