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
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Posted Oct 09, 2018 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 ...

504 views 6 0
Join discussion

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