Add component(s) to all projects

Hello All,

 

We have a couple of components that need to be added to every project in our JIRA instance (we're on JIRA Cloud). Is there a way to bulk add these somehow?

 

I have found this KB: https://confluence.atlassian.com/jirakb/how-to-bulk-import-components-into-jira-720418562.html and option 2 seems to be what I need, but nowhere does it state that this route will add that issue to all projects. 

 

Thank you,

Razvan

1 answer

0 votes

To ge the method you've found to work, you will need to repeat the contents of the import file for every project you have (plus repeat deleting the loading issues)

You might be able to do this with the ScriptRunner add-on for Cloud, but I would actually start with some external scripting or coding.  Write something on your computer that can use REST to read the current list of projects and add the components to each of them.

However, I'd also think carefully before doing this.  Components are project specific.  If you add the "same" component to all projects, they're still separate components.  If, for example you have "penguins" in five projects and you search and push the result through a gadget displaying "component", you will get five separate lines, one for each penguin.

So, no UI way to do this? :) I'm not a programmer, just the admin.

No, there's no way to do it in the UI,

This is because it's mostly useless - people generally don't want swathes of "global" components that are not actually global.  (We do want proper global components, but adding the differnet components to projects with the same name is not a global component)

This is super important for our team, too. I desperately want global components. How can I add fuel to this feature request. It's something Clubhouse and Trello do with ease. This team is aiming to shift tracking tools to Jira in order to take advantage of the sophisticated metrics, but without this global component list to be able to associate with all projects, we lack the ability to get the metrics we need. This may mean that we abandon the push to Jira entirely. 

That being said, I've been digging through these forums for far too long to get an answer for what seems to be a common request and I've got forum fatigue. 

Is there another field we can leverage that we can populate with a global list of our things (in our case: microservices) in order to associate with each project? We would also want to filter this for searches and reporting.

Please halp. Jira terminology is profoundly confusing.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Tuesday in Jira

Looking for anyone who made the switch to Data Center

The Jira Marketing team is putting together an ebook on migrating to Data Center. We're looking for pro tips on how you staffed your project team and organized your Proof of Concept. Share yo...

26 views 0 2
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