Skip to main content

List Project Components

Returns a list of all components in a project.

Parameters

ParameterDescription
Project ID Or KeyThe project ID or project key (case sensitive).

Example Output

[
{
"self": "http://www.example.com/jira/rest/api/2/component/10000",
"id": "10000",
"name": "Component 1",
"description": "This is a Jira component",
"lead": {
"self": "http://www.example.com/jira/rest/api/2/user?username=fred",
"key": "JIRAUSER10100",
"name": "fred",
"emailAddress": "fred@example.com",
"avatarUrls": {
"48x48": "http://www.example.com/jira/secure/useravatar?size=large&ownerId=fred",
"24x24": "http://www.example.com/jira/secure/useravatar?size=small&ownerId=fred",
"16x16": "http://www.example.com/jira/secure/useravatar?size=xsmall&ownerId=fred",
"32x32": "http://www.example.com/jira/secure/useravatar?size=medium&ownerId=fred"
},
"displayName": "Fred F. User",
"active": true,
"deleted": false,
"timeZone": "Australia/Sydney",
"locale": "en_AU"
},
"assigneeType": "PROJECT_LEAD",
"assignee": {
"self": "http://www.example.com/jira/rest/api/2/user?username=fred",
"key": "JIRAUSER10100",
"name": "fred",
"emailAddress": "fred@example.com",
"avatarUrls": {
"48x48": "http://www.example.com/jira/secure/useravatar?size=large&ownerId=fred",
"24x24": "http://www.example.com/jira/secure/useravatar?size=small&ownerId=fred",
"16x16": "http://www.example.com/jira/secure/useravatar?size=xsmall&ownerId=fred",
"32x32": "http://www.example.com/jira/secure/useravatar?size=medium&ownerId=fred"
},
"displayName": "Fred F. User",
"active": true,
"deleted": false,
"timeZone": "Australia/Sydney",
"locale": "en_AU"
},
"realAssigneeType": "PROJECT_LEAD",
"realAssignee": {
"self": "http://www.example.com/jira/rest/api/2/user?username=fred",
"key": "JIRAUSER10100",
"name": "fred",
"emailAddress": "fred@example.com",
"avatarUrls": {
"48x48": "http://www.example.com/jira/secure/useravatar?size=large&ownerId=fred",
"24x24": "http://www.example.com/jira/secure/useravatar?size=small&ownerId=fred",
"16x16": "http://www.example.com/jira/secure/useravatar?size=xsmall&ownerId=fred",
"32x32": "http://www.example.com/jira/secure/useravatar?size=medium&ownerId=fred"
},
"displayName": "Fred F. User",
"active": true,
"deleted": false,
"timeZone": "Australia/Sydney",
"locale": "en_AU"
},
"isAssigneeTypeValid": false,
"project": "HSP",
"projectId": 10000
},
{
"self": "http://www.example.com/jira/rest/api/2/component/10000",
"id": "10050",
"name": "PXA",
"description": "This is a another Jira component",
"lead": {
"self": "http://www.example.com/jira/rest/api/2/user?username=fred",
"key": "JIRAUSER10100",
"name": "fred",
"emailAddress": "fred@example.com",
"avatarUrls": {
"48x48": "http://www.example.com/jira/secure/useravatar?size=large&ownerId=fred",
"24x24": "http://www.example.com/jira/secure/useravatar?size=small&ownerId=fred",
"16x16": "http://www.example.com/jira/secure/useravatar?size=xsmall&ownerId=fred",
"32x32": "http://www.example.com/jira/secure/useravatar?size=medium&ownerId=fred"
},
"displayName": "Fred F. User",
"active": true,
"deleted": false,
"timeZone": "Australia/Sydney",
"locale": "en_AU"
},
"assigneeType": "PROJECT_LEAD",
"assignee": {
"self": "http://www.example.com/jira/rest/api/2/user?username=fred",
"key": "JIRAUSER10100",
"name": "fred",
"emailAddress": "fred@example.com",
"avatarUrls": {
"48x48": "http://www.example.com/jira/secure/useravatar?size=large&ownerId=fred",
"24x24": "http://www.example.com/jira/secure/useravatar?size=small&ownerId=fred",
"16x16": "http://www.example.com/jira/secure/useravatar?size=xsmall&ownerId=fred",
"32x32": "http://www.example.com/jira/secure/useravatar?size=medium&ownerId=fred"
},
"displayName": "Fred F. User",
"active": true,
"deleted": false,
"timeZone": "Australia/Sydney",
"locale": "en_AU"
},
"realAssigneeType": "PROJECT_LEAD",
"realAssignee": {
"self": "http://www.example.com/jira/rest/api/2/user?username=fred",
"key": "JIRAUSER10100",
"name": "fred",
"emailAddress": "fred@example.com",
"avatarUrls": {
"48x48": "http://www.example.com/jira/secure/useravatar?size=large&ownerId=fred",
"24x24": "http://www.example.com/jira/secure/useravatar?size=small&ownerId=fred",
"16x16": "http://www.example.com/jira/secure/useravatar?size=xsmall&ownerId=fred",
"32x32": "http://www.example.com/jira/secure/useravatar?size=medium&ownerId=fred"
},
"displayName": "Fred F. User",
"active": true,
"deleted": false,
"timeZone": "Australia/Sydney",
"locale": "en_AU"
},
"isAssigneeTypeValid": false,
"project": "PROJECTKEY",
"projectId": 10000
}
]

Workflow Library Example

List Project Components with Jira Data Center and Send Results Via Email

Workflow LibraryPreview this Workflow on desktop