Where/How can we get to know the ID value of Components etc..

Where/How can we get to know the ID value of Components etc..

4 answers


The easiest way I found is to go into an issue of the project you want to get the component ID.
Change/add the component needed and read the changes in the history tab 'All'
You will get something like this :

LAPARRA Geoffrey made changes - 5 minutes ago
Component/s                              My component [ 11509 ]

Awesome! Many many thanks! )

This works for Jira 7x

0 votes

It's been made a bit harder recently, probably the easiest way is to go to:


ie the components tab on Browse projects, then mouse over the components. The ID is the last part of the URL.

Or, you could look up in the database, or write a groovy script or something.

Sorry for not being precise.

I know where its available in older jira versions, but in JIRA5.0 am unable to find the ID for Components

Mizan Community Champion Mar 27, 2012

Its same for Jira 5.0 , Exit Administration>>Project>>Component Panel>>hover the mouse on the component name in the end of the url you will get the Component id.

<dl><dd>Hi,</dd><dd></dd><dd> I am still not sure your developing plugin or you want to get it Directly.</dd><dd>but if your developing via plugin then make certern changes to code.</dd><dd></dd><dd>IF your implementing logic for all Unique components then </dd><dd>
final Set<JIRAConstant> components = issue.getComponents();
       if (components != null && components.size() > 0) {
           int i = 0;
             for (JIRAConstant component : components) {
component.getId(), component.getName();
//this way you can get all the components with id.
</dd><dt></dt><dt>if your implementing for the single component</dt><dt></dt></dl>
ProjectManager projectManager = ComponentManager.getInstance().getProjectManager()
you could get the component object based on component object get the Component id.


thanks everyone for your answers

Any idea how to get the ID in JIRA 7?

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,139 views 13 19
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
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