Project components

Get component issues count

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 required: None.

get/rest/api/2/component/{id}/relatedIssueCounts

Request

  • Base URL: https://your-domain.atlassian.net
  • URL: https://your-domain.atlassian.net/rest/api/2/component/{id}/relatedIssueCounts
  • Auth: one of:
    • HTTP basic
    • OAuth 2 (authorization code, authorization URL https://auth.atlassian.com/authorize, token URL https://auth.atlassian.com/oauth/token, scopes: read:jira-work)
    • none

Path parameters

idstring required

The ID of the component.

Response

Returned if the request is successful.

issueCountinteger

The count of issues assigned to a component.

selfstring uri

The URL for this count of issues for a component.

Changes

No recorded changes to this operation across all 26 revisions of this API.