Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

how do I get issues in a particular component with jira API call, thanks?

filmonhg
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 5, 2016
 

1 answer

0 votes
Jobin Kuruvilla [Adaptavist]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 5, 2016

Use the search REST API: https://docs.atlassian.com/jira/REST/latest/#api/2/search-search

You can use any JQL in the search, including component search.

filmonhg
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 6, 2016

thanks Jobin I know the high level, I was expecting details in the API call. The reason is I can have count of Issues in each component using  "GET /rest/api/2/component/{id}/relatedIssueCounts",      I need the Issues themselves.

And if you have to use the search, what are the  details of the search api call for eg. get all issues inside component named "comp"

littlebitlab
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
December 12, 2017

You have to use search REST API call "GET /rest/api/2/search?jql=component%20%3D%20NameOfComponent" these query give you a Issues List for a specific component. 

Like LYDIA GEORGE likes this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events