Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Unique number for components

Dan Billingham June 10, 2022

Hi All,

Not sure if this is even a thing but I am convinced I have seen it somewhere before. Am I right in thinking that when a component is created that it is given a unique reference that you can also search with? That way if you change the component name the JQL still works?

E.G. The component is "Project A" which has a unique reference of "001". So your JQL could be "component = 001" and if you change the component name to "Project B" the JQL would still work.

Hopefully this makes sense, any issues let me know.

1 answer

0 votes
Fabian Lim
Community Champion
June 10, 2022
Dan Billingham June 10, 2022

Thanks Fabian, I will be honest I am not sure I understand the answers on there though and it looks as though the process for finding the ID is not worth it.

Drew McDonald
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 10, 2025

Sorry to necro an old question - But in case anyone finds this from Google and is looking for the answer. 

One potential way to find the component ID easily is in the Projects > Components tab, you can use Chrome's inspect element tool on the list. Each table row (<tr>) has the component id stored as the data-component-id attribute.

Like Dan Billingham likes this
Dan Billingham January 13, 2025

Thanks Drew, any chance there is an inspect element on Edge as my company does not use Chrome...

Drew McDonald
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 13, 2025

Hi Dan, Yep! Right click > Inspect. 

If you right click on the link to the component name, the inspect window will open on <a href="....", if you go up two levels (div line, and then td line) there's a <tr data-component-id="...." which should have the component ID

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events