Project components
Get project components
Returns all components in a project. See the Get project components paginated resource if you want to get a full list of components with pagination.
If your project uses Compass components, this API will return a paginated list of Compass components that are linked to issues in that project.
This operation can be accessed anonymously.
Permissions required: Browse Projects project permission for the project.
get/rest/api/3/project/{projectIdOrKey}/components
Path parameters
projectIdOrKeystring required
The project ID or project key (case sensitive).
Query parameters
componentSource'jira' | 'compass' | 'auto'
The source of the components to return. Can be jira (default), compass or auto. When auto is specified, the API will return connected Compass components if the project is opted into Compass, otherwise it will return Jira components. Defaults to jira.
Response
Returned if the request is successful.