---
schema: rendered-html/v1
title: "JsonForArticleAddAttachment | Developer Portal for YouTrack and Hub Documentation"
source_url: https://www.jetbrains.com/help/youtrack/devportal/v1-JsonForArticleAddAttachment.html
generated_at: 2026-06-11T15:17:30.949998+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
- JavaScript Workflow Quick Start Guide
- Create a Workflow
- Edit a Workflow
- Workflow Rule Types
- Transactions
- Use Cases for Workflows
- Web-based Workflow Editor
- Using an External Code Editor
- Default Workflows
- Custom Workflow Repository
- JavaScript Workflow Reference
- Rule-specific Properties
- Context
- Requirements
- Using the Workflow API
- Building Integrations with Slack
- Using REST API Methods in JavaScript Workflows
- Working with Dates and Times
- Working with Periods
- Localized Workflow Messages
- Troubleshooting Workflows
- Remote Debugger
- YouTrack Workflow API
- Change Log
- date-time
- entities
- AbstractVcsItem
- Agile
- AppGlobalStorage
- Article
- ArticleAttachment
- ArticleComment
- BaseArticle
- BaseArticleAttachment
- BaseArticleComment
- BaseComment
- BaseEntity
- BaseWorkItem
- Build
- BundleElementCondition
- BundleProjectCustomField
- Calendar
- Calendar24x7
- ChangesProcessor
- Channel
- EnumField
- FeedbackForm
- Field
- FieldBasedBundleValuesCondition
- FieldBasedUserValuesCondition
- FieldBasedValuesCondition
- Fields
- Gantt
- GroupProjectCustomField
- Issue
- IssueAttachment
- IssueComment
- IssueLinkPrototype
- IssueTag
- IssueWorkItem
- Iterator
- [JsonForArticleAddAttachment](v1-JsonForArticleAddAttachment.html)
- [JsonForArticleAddComment](jetbrains__com__help__youtrack__devportal__v1-jsonforarticleaddcomment.md)
- [JsonForArticleConstructor](jetbrains__com__help__youtrack__devportal__v1-jsonforarticleconstructor.md)
- [JsonForIssueAddAttachment](jetbrains__com__help__youtrack__devportal__v1-jsonforissueaddattachment.md)
- [JsonForIssueAddComment](jetbrains__com__help__youtrack__devportal__v1-jsonforissueaddcomment.md)
- [JsonForIssueAddWorkItem](jetbrains__com__help__youtrack__devportal__v1-jsonforissueaddworkitem.md)
- [JsonForIssueCommentAddAttachment](jetbrains__com__help__youtrack__devportal__v1-jsonforissuecommentaddattachment.md)
- [JsonForIssueConstructor](jetbrains__com__help__youtrack__devportal__v1-jsonforissueconstructor.md)
- [JsonForUserNotify](jetbrains__com__help__youtrack__devportal__v1-jsonforusernotify.md)
- [MailboxChannel](jetbrains__com__help__youtrack__devportal__v1-mailboxchannel.md)
- [OwnedField](jetbrains__com__help__youtrack__devportal__v1-ownedfield.md)
- PeriodProjectCustomField
- PersistentFile
- Project
- ProjectCustomField
- ProjectTeam
- ProjectType
- ProjectVersion
- PullRequest
- PullRequestState
- Requirement
- Requirements
- SavedQuery
- Set
- SimpleCalendar
- SimpleProjectCustomField
- Sprint
- State
- Tag
- TextProjectCustomField
- User
- UserAttributes
- UserCondition
- UserGroup
- UserProjectCustomField
- UserType
- VcsChange
- VcsServer
- WatchFolder
- WorkItemAttributeValue
- WorkItemAttributes
- WorkItemProjectAttribute
- WorkItemType
- http
- license
- notifications
- search
- strings
- workflow
- YouTrack Import Scripts
- YouTrack Form API
- YouTrack REST API
- Hub REST API

1. YouTrack Workflows
2. JavaScript Workflow Reference
3. YouTrack Workflow API
4. entities
5. [JsonForArticleAddAttachment](#0)

# JsonForArticleAddAttachment﻿

Last modified: 07 May 2026

## Properties﻿

| Name | Type | Description |
| --- | --- | --- |
| charset | String | The charset of the file. Only applicable to text files. |
| content | InputStream, String | The content of the file in binary or base64 form. |
| mimeType | String | The MIME type of the file. |
| name | String | The name of the file. |

- [JsonForArticleAddAttachment](/help/youtrack/devportal/v1-JsonForArticleAddAttachment.html)
- [Properties](/help/youtrack/devportal/v1-JsonForArticleAddAttachment.html#properties)

Iterator[JsonForArticleAddComment](jetbrains__com__help__youtrack__devportal__v1-jsonforarticleaddcomment.md)

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

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