---
title: "Get component issues count"
method: GET
path: "/rest/api/2/component/{id}/relatedIssueCounts"
tags: ["Project components"]
---

# Get component issues count

`GET /rest/api/2/component/{id}/relatedIssueCounts`

Returns the counts of issues assigned to the component.

This operation can be accessed anonymously.

**Deprecation notice:** The required OAuth 2.0 scopes will be updated on June 15, 2024.

 *  **Classic**: `read:jira-work`
 *  **Granular**: `read:field:jira`, `read:project.component:jira`

**[Permissions](#permissions) required:** None.

## Path parameters

- `id` string, required

## Response `200`

Returned if the request is successful.

- ComponentIssuesCount — Count of issues assigned to a component.
  - `issueCount` integer — The count of issues assigned to a component.
  - `self` string, uri — The URL for this count of issues for a component.

## Other responses

- `401` — Returned if the authentication credentials are incorrect or missing.
- `404` — Returned if the component is not found.

---

[API](https://skmtc.net/atlassian/apis/the-jira-cloud-platform-rest-api.md) · [All operations](https://skmtc.net/atlassian/apis/the-jira-cloud-platform-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/atlassian/the-jira-cloud-platform-rest-api/versions/a26541c2f8bd/schema)
