Skip to content

Atlassian: Issue attachments schemas

7 Atlassian schemas with complete fields and constraints.

← Issue attachments operations · All schemas

Add attachment — response body — item

FieldTypePresenceDescription and constraints
$objectRootDetails about an attachment.
Additional keys: allowed
authorJSONOptional
author (anyOf 1)ModelAlternativeExpand Add comment — response body — author account Id, account Type, active, avatar Urls, display Name, email Address, key, name, self, time Zone
Details of the user who added the attachment.
Read only: true
author (anyOf 2)nullAlternative
contentJSONOptional
content (anyOf 1)stringAlternativeThe content of the attachment.
Read only: true
content (anyOf 2)nullAlternative
createdJSONOptional
created (anyOf 1)JSONAlternative
created (anyOf 1) (anyOf 1)stringAlternativeThe datetime the attachment was created.
Read only: true
created (anyOf 1) (anyOf 2)integerAlternative
created (anyOf 2)nullAlternative
filenameJSONOptional
filename (anyOf 1)stringAlternativeThe file name of the attachment.
Read only: true
filename (anyOf 2)nullAlternative
idJSONOptional
id (anyOf 1)stringAlternativeThe ID of the attachment.
Read only: true
id (anyOf 2)nullAlternative
mimeTypeJSONOptional
mimeType (anyOf 1)stringAlternativeThe MIME type of the attachment.
Read only: true
mimeType (anyOf 2)nullAlternative
selfJSONOptional
self (anyOf 1)stringAlternativeThe URL of the attachment details response.
Read only: true
self (anyOf 2)nullAlternative
sizeJSONOptional
size (anyOf 1)JSONAlternative
size (anyOf 1) (anyOf 1)integerAlternativeThe size of the attachment.
Format: int64
Read only: true
size (anyOf 1) (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
size (anyOf 2)nullAlternative
thumbnailJSONOptional
thumbnail (anyOf 1)stringAlternativeThe URL of a thumbnail representing the attachment.
Read only: true
thumbnail (anyOf 2)nullAlternative

Referenced models: Add comment — response body — author account Id, account Type, active, avatar Urls, display Name, email Address, key, name, self, time Zone

Get Jira attachment settings — response body

FieldTypePresenceDescription and constraints
$objectRootDetails of the instance's attachment settings.
enabledJSONOptional
enabled (anyOf 1)booleanAlternativeWhether the ability to add attachments is enabled.
Read only: true
enabled (anyOf 2)nullAlternative
uploadLimitJSONOptional
uploadLimit (anyOf 1)JSONAlternative
uploadLimit (anyOf 1) (anyOf 1)integerAlternativeThe maximum size of attachments permitted, in bytes.
Format: int64
Read only: true
uploadLimit (anyOf 1) (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
uploadLimit (anyOf 2)nullAlternative

Get all metadata for an expanded attachment — response body

FieldTypePresenceDescription and constraints
$objectRootMetadata for an archive (for example a zip) and its contents.
entriesJSONOptional
entries (anyOf 1)arrayAlternativeThe list of the items included in the archive.
Read only: true
entries (anyOf 1)[]ModelEach itemExpand Get all metadata for an expanded attachment — response body — entries The list of the items included in the archive item
entries (anyOf 2)nullAlternative
idJSONOptional
id (anyOf 1)JSONAlternative
id (anyOf 1) (anyOf 1)integerAlternativeThe ID of the attachment.
Format: int64
Read only: true
id (anyOf 1) (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
id (anyOf 2)nullAlternative
mediaTypeJSONOptional
mediaType (anyOf 1)stringAlternativeThe MIME type of the attachment.
Read only: true
mediaType (anyOf 2)nullAlternative
nameJSONOptional
name (anyOf 1)stringAlternativeThe name of the archive file.
Read only: true
name (anyOf 2)nullAlternative
totalEntryCountJSONOptional
totalEntryCount (anyOf 1)JSONAlternative
totalEntryCount (anyOf 1) (anyOf 1)integerAlternativeThe number of items included in the archive.
Format: int64
Read only: true
totalEntryCount (anyOf 1) (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
totalEntryCount (anyOf 2)nullAlternative

Referenced models: Get all metadata for an expanded attachment — response body — entries The list of the items included in the archive item

Get all metadata for an expanded attachment — response body — entries The list of the items included in the archive item

FieldTypePresenceDescription and constraints
$objectRootMetadata for an item in an attachment archive.
indexJSONOptional
index (anyOf 1)JSONAlternative
index (anyOf 1) (anyOf 1)integerAlternativeThe position of the item within the archive.
Format: int64
Read only: true
index (anyOf 1) (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
index (anyOf 2)nullAlternative
labelJSONOptional
label (anyOf 1)stringAlternativeThe label for the archive item.
Read only: true
label (anyOf 2)nullAlternative
mediaTypeJSONOptional
mediaType (anyOf 1)stringAlternativeThe MIME type of the archive item.
Read only: true
mediaType (anyOf 2)nullAlternative
pathJSONOptional
path (anyOf 1)stringAlternativeThe path of the archive item.
Read only: true
path (anyOf 2)nullAlternative
sizeJSONOptional
size (anyOf 1)stringAlternativeThe size of the archive item.
Read only: true
size (anyOf 2)nullAlternative

Get attachment metadata — response body

FieldTypePresenceDescription and constraints
$objectRootMetadata for an issue attachment.
authorJSONOptional
author (anyOf 1)ModelAlternativeExpand Get user — response body
Details of the user who attached the file.
Read only: true
author (anyOf 2)nullAlternative
contentJSONOptional
content (anyOf 1)stringAlternativeThe URL of the attachment.
Read only: true
content (anyOf 2)nullAlternative
createdJSONOptional
created (anyOf 1)JSONAlternative
created (anyOf 1) (anyOf 1)stringAlternativeThe datetime the attachment was created.
Read only: true
created (anyOf 1) (anyOf 2)integerAlternative
created (anyOf 2)nullAlternative
filenameJSONOptional
filename (anyOf 1)stringAlternativeThe name of the attachment file.
Read only: true
filename (anyOf 2)nullAlternative
idJSONOptional
id (anyOf 1)JSONAlternative
id (anyOf 1) (anyOf 1)integerAlternativeThe ID of the attachment.
Format: int64
Read only: true
id (anyOf 1) (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
id (anyOf 2)nullAlternative
mimeTypeJSONOptional
mimeType (anyOf 1)stringAlternativeThe MIME type of the attachment.
Read only: true
mimeType (anyOf 2)nullAlternative
propertiesJSONOptional
properties (anyOf 1)objectAlternativeAdditional properties of the attachment.
Read only: true
Additional keys: see wildcard field
properties (anyOf 1).*JSONAdditional keysRead only: true
properties (anyOf 2)nullAlternative
selfJSONOptional
self (anyOf 1)stringAlternativeThe URL of the attachment metadata details.
Format: uri
Read only: true
self (anyOf 2)nullAlternative
sizeJSONOptional
size (anyOf 1)JSONAlternative
size (anyOf 1) (anyOf 1)integerAlternativeThe size of the attachment.
Format: int64
Read only: true
size (anyOf 1) (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
size (anyOf 2)nullAlternative
thumbnailJSONOptional
thumbnail (anyOf 1)stringAlternativeThe URL of a thumbnail representing the attachment.
Read only: true
thumbnail (anyOf 2)nullAlternative

Referenced models: Get user — response body

Get contents metadata for an expanded attachment — response body

FieldTypePresenceDescription and constraints
$objectRoot
entriesJSONOptional
entries (anyOf 1)arrayAlternativeThe list of the items included in the archive.
entries (anyOf 1)[]ModelEach itemExpand Get contents metadata for an expanded attachment — response body — entries The list of the items included in the archive item
entries (anyOf 2)nullAlternative
totalEntryCountJSONOptional
totalEntryCount (anyOf 1)JSONAlternative
totalEntryCount (anyOf 1) (anyOf 1)integerAlternativeThe number of items in the archive.
Format: int32
totalEntryCount (anyOf 1) (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
totalEntryCount (anyOf 2)nullAlternative

Referenced models: Get contents metadata for an expanded attachment — response body — entries The list of the items included in the archive item

Get contents metadata for an expanded attachment — response body — entries The list of the items included in the archive item

FieldTypePresenceDescription and constraints
$objectRoot
abbreviatedNameJSONOptional
abbreviatedName (anyOf 1)stringAlternative
abbreviatedName (anyOf 2)nullAlternative
entryIndexJSONOptional
entryIndex (anyOf 1)JSONAlternative
entryIndex (anyOf 1) (anyOf 1)integerAlternativeFormat: int64
entryIndex (anyOf 1) (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
entryIndex (anyOf 2)nullAlternative
mediaTypeJSONOptional
mediaType (anyOf 1)stringAlternative
mediaType (anyOf 2)nullAlternative
nameJSONOptional
name (anyOf 1)stringAlternative
name (anyOf 2)nullAlternative
sizeJSONOptional
size (anyOf 1)JSONAlternative
size (anyOf 1) (anyOf 1)integerAlternativeFormat: int64
size (anyOf 1) (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
size (anyOf 2)nullAlternative

Report an issue with this page

Necessary

Required for sign-in, security, authorization, and remembering your choices.

Always active

Analytics

Helps us understand which product and documentation features are useful.

Performance diagnostics

Uses performance tracing and privacy-masked session replay to diagnose problems.

You can change these choices at any time from Cookie settings.