Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,293,521
Community Members
 
Community Events
165
Community Groups

How to find component ID?

How to find component ID?

Such as: 

Find issues in the component with ID 20500:
component =  20500

4 answers

3 votes

Hi,

In cloud you can try this

https://your Domain.atlassian.net/rest/api/2/project/{projectId or Key}/components

Works also for self hosted installations, though it is not that eyefriendly :-). But it works and helps i. e. for preparing links to create issues.

1 vote

I have a solution that uses only the UI: Add or remove the component from an already existing issue, then check the issue's History tab. You'll see the component ID in the log.

 

Untitled 3.png

@ban yige did you ever determine a solution for this? The advanced search and URL used to have the ID but now it is the term. I desperately need the id and can only use the UI. 

0 votes
Alex Koxaras Community Leader Jul 22, 2021

@ban yige components IDs usually refer to the server version of Jira. Are you using a server or cloud version or Jira? If you are using a cloud version, then try the solution that @Mohamed Benziane provided. If you are using the server version, then read this solution, which may provide some help to your problem https://community.atlassian.com/t5/Jira-questions/How-can-you-use-SQL-to-find-the-component-id-for-an-issue-in-the/qaq-p/241611

Alex 

@Alex Koxaras   Hope fully, it's for cloud as tagged.  But, thanks as you have already covered for both.

Suggest an answer

Log in or Sign up to answer
TAGS

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