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


1 answer

0 votes

Use the search REST API:

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

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"

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. 

Suggest an answer

Log in or Join to answer
Community showcase
Teodora [Botron]
Published Thursday in Marketplace Apps

Jira Inferno: The Nine Circles of Jira Administration Hell

If you spend enough time as a Jira admin - whether you are managing a single, mid-sized instance, a large enterprise one or juggling multiple instances at once - you will eventually find yourself in ...

354 views 1 13
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot