It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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

 

1 answer

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.

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 Sign up to answer
Community showcase
Posted in Jira Core

How to manage many similar workflows?

I have multiple projects that use variations of the same base workflow. The variations depend on the requirements of the project or issue type. The variations mostly come in the form of new statuses ...

968 views 7 0
Join discussion

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you