---
title: "RequestCommentAttachmentsByIdOrKey (JIRA Service Desk)"
description: "Request Comment Attachments by ID or Key"
language: en
source_language: en
translation_state: complete
canonical: https://documentation.invantive.eu/en/datamodels/jiraservicedesk/JIRA.Service.RequestCommentAttachmentsByIdOrKey
original: https://documentation.invantive.eu/en/datamodels/jiraservicedesk/JIRA.Service.RequestCommentAttachmentsByIdOrKey
updated: 2026-12-04T08:51:39Z
license: https://documentation.invantive.eu/en/
---

# RequestCommentAttachmentsByIdOrKey: JIRA Service Desk Request Comment Attachments by ID or Key

`read only` `REST`

- Catalog: `JIRA`
- Schema: `Service`
- Primary Keys: `id`
- Label: Request Comment Attachments by ID or Key

Can only retrieve data.

## API Source

- Endpoint: `/request/{issueIdOrKey}?expand=requestType,serviceDesk,action,comment,attachment`

## Parameters

| Name | Data Type | Required | Default | Documentation |
|---|---|:---:|---|---|
| `issueIdOrKey` | `varchar2` | [x] |  | The ID or key to be retrieved. |

## Table Columns

The columns of the table `RequestCommentAttachmentsByIdOrKey` are shown below. Each column has an SQL data type. A new non-null value must be provided for every required column at all times during insert and update.

| Name | Data Type | Label | Required | Marks | Documentation |
|---|---|---|:---:|---|---|
| `author_accountId` | `varchar2` |  | [ ] |  | The account ID of the user, which uniquely identifies the user across all Atlassian products. For example, 5b10ac8d82e05b22cc7d4ef5. Required in requests. An account ID with value unknown is returned when there is missing data for a user, which only happens for deleted users. We recommend you treat this value as an error case if you need to access more information about the user. |
| `author_accountType` | `varchar2` |  | [ ] |  | The user account type. Can take the following values: atlassian regular Atlassian user account, app system account used for Connect applications and OAuth to represent external systems, customer Jira Service Desk account representing an external service desk |
| `author_active` | `char` |  | [ ] |  | Indicates whether the user is active. |
| `author_displayName` | `varchar2` |  | [ ] |  | The display name of the user. Depending on the user’s privacy setting, this may return an alternative value. |
| `author_emailAddress` | `varchar2` |  | [ ] |  | The email address of the user. Depending on the user’s privacy setting, this may be returned as null. |
| `author_key` | `varchar2` |  | [ ] |  | This property is no longer available and will be removed from the documentation soon |
| `author_locale` | `varchar2` |  | [ ] |  | The locale of the user. Depending on the user’s privacy setting, this may be returned as null. |
| `author_name` | `varchar2` |  | [ ] |  | This property is no longer available and will be removed from the documentation soon. |
| `author_timeZone` | `varchar2` |  | [ ] |  | The time zone specified in the user's profile. Depending on the user’s privacy setting, this may be returned as null. |
| `comment_author_accountId` | `varchar2` |  | [ ] |  | The account ID of the user, which uniquely identifies the user across all Atlassian products. For example, 5b10ac8d82e05b22cc7d4ef5. Required in requests. An account ID with value unknown is returned when there is missing data for a user, which only happens for deleted users. We recommend you treat this value as an error case if you need to access more information about the user. |
| `comment_author_accountType` | `varchar2` |  | [ ] |  | The user account type. Can take the following values: atlassian regular Atlassian user account, app system account used for Connect applications and OAuth to represent external systems, customer Jira Service Desk account representing an external service desk |
| `comment_author_active` | `char` |  | [ ] |  | Indicates whether the user is active. |
| `comment_author_displayName` | `varchar2` |  | [ ] |  | The display name of the user. Depending on the user’s privacy setting, this may return an alternative value. |
| `comment_author_emailAddress` | `varchar2` |  | [ ] |  | The email address of the user. Depending on the user’s privacy setting, this may be returned as null. |
| `comment_author_key` | `varchar2` |  | [ ] |  | This property is no longer available and will be removed from the documentation soon |
| `comment_author_locale` | `varchar2` |  | [ ] |  | The locale of the user. Depending on the user’s privacy setting, this may be returned as null. |
| `comment_author_name` | `varchar2` |  | [ ] |  | This property is no longer available and will be removed from the documentation soon. |
| `comment_author_timeZone` | `varchar2` |  | [ ] |  | The time zone specified in the user's profile. Depending on the user’s privacy setting, this may be returned as null. |
| `comment_body` | `varchar2` |  | [ ] |  | Content of the comment. |
| `comment_created` | `datetime` |  | [ ] |  | Date the attachment was added. |
| `comment_id` | `varchar2` |  | [ ] |  | ID of the comment. |
| `comment_public` | `char` |  | [ ] |  | Indicates whether the comment is public (true) or private/internal (false). |
| `comment_renderedBody_html` | `varchar2` |  | [ ] |  | HTML representation. |
| `created` | `datetime` |  | [ ] |  | Date the attachment was added. |
| `filename` | `varchar2` |  | [ ] |  | Filename of the item attached. |
| `mimeType` | `varchar2` |  | [ ] |  | MIME type of the attachment. |
| `request_actions_addAttachment_allowed` | `char` |  | [ ] |  | Indicates whether the user can undertake the action (true) or not (false). |
| `request_actions_addComment_allowed` | `char` |  | [ ] |  | Indicates whether the user can undertake the action (true) or not (false). |
| `request_actions_addParticipant_allowed` | `char` |  | [ ] |  | Indicates whether the user can undertake the action (true) or not (false). |
| `request_actions_removeParticipant_allowed` | `char` |  | [ ] |  | Indicates whether the user can undertake the action (true) or not (false). |
| `request_createdDate` | `datetime` |  | [ ] |  | Date on which the request was created. |
| `request_currentStatus_status` | `varchar2` |  | [ ] |  | Name of the status condition. |
| `request_currentStatus_statusCategory` | `varchar2` |  | [ ] |  | Status category the status belongs to. Valid values: UNDEFINED, NEW, INDETERMINATE, DONE. |
| `request_currentStatus_statusDate` | `datetime` |  | [ ] |  | Date on which the status was attained. |
| `request_issueId` | `varchar2` |  | [ ] |  | ID of the request, as the peer issue ID. |
| `request_issueKey` | `varchar2` |  | [ ] |  | Key of the request, as the peer issue key. |
| `request_reporter_accountId` | `varchar2` |  | [ ] |  | The account ID of the user, which uniquely identifies the user across all Atlassian products. For example, 5b10ac8d82e05b22cc7d4ef5. Required in requests. An account ID with value unknown is returned when there is missing data for a user, which only happens for deleted users. We recommend you treat this value as an error case if you need to access more information about the user. |
| `request_reporter_accountType` | `varchar2` |  | [ ] |  | The user account type. Can take the following values: atlassian regular Atlassian user account, app system account used for Connect applications and OAuth to represent external systems, customer Jira Service Desk account representing an external service desk |
| `request_reporter_active` | `char` |  | [ ] |  | Indicates whether the user is active. |
| `request_reporter_displayName` | `varchar2` |  | [ ] |  | The display name of the user. Depending on the user’s privacy setting, this may return an alternative value. |
| `request_reporter_emailAddress` | `varchar2` |  | [ ] |  | The email address of the user. Depending on the user’s privacy setting, this may be returned as null. |
| `request_reporter_key` | `varchar2` |  | [ ] |  | This property is no longer available and will be removed from the documentation soon |
| `request_reporter_locale` | `varchar2` |  | [ ] |  | The locale of the user. Depending on the user’s privacy setting, this may be returned as null. |
| `request_reporter_name` | `varchar2` |  | [ ] |  | This property is no longer available and will be removed from the documentation soon. |
| `request_reporter_timeZone` | `varchar2` |  | [ ] |  | The time zone specified in the user's profile. Depending on the user’s privacy setting, this may be returned as null. |
| `request_requestType_description` | `varchar2` |  | [ ] |  | Description of the request type. |
| `request_requestType_fields_canAddRequestParticipants` | `char` |  | [ ] |  | Flag indicating if participants can be added to a request (true) or not. |
| `request_requestType_fields_canRaiseOnBehalfOf` | `char` |  | [ ] |  | Flag indicating if a request can be raised on behalf of another user (true) or not. |
| `request_requestType_helpText` | `varchar2` |  | [ ] |  | Help text for the request type. |
| `request_requestType_icon_id` | `varchar2` |  | [ ] |  | ID of the request type icon. |
| `request_requestType_id` | `varchar2` |  | [ ] |  | ID for the request type. |
| `request_requestType_issueTypeId` | `varchar2` |  | [ ] |  | ID of the issue type the request type is based upon. |
| `request_requestType_name` | `varchar2` |  | [ ] |  | Short name for the request type. |
| `request_requestType_serviceDeskId` | `varchar2` |  | [ ] |  | ID of the service desk the request type belongs to. |
| `request_requestTypeId` | `varchar2` |  | [ ] |  | ID of the request type for the request. |
| `request_serviceDesk_id` | `varchar2` |  | [ ] |  | ID of the service desk. |
| `request_serviceDesk_projectId` | `varchar2` |  | [ ] |  | ID of the peer project for the service desk. |
| `request_serviceDesk_projectKey` | `varchar2` |  | [ ] |  | Key of the peer project of the service desk. |
| `request_serviceDesk_projectName` | `varchar2` |  | [ ] |  | Name of the project and service desk. |
| `request_serviceDeskId` | `varchar2` |  | [ ] |  | ID of the service desk the request belongs to. |
| `size` | `int64` |  | [ ] |  | Size of the attachment in bytes. |

