Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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 a list of active components in JIRA and export them?

We are deprecating a development tool we use and moving to JIRA. I would like to be able to get a list of active components in JIRA to compare to our dev tools components to make sure JIRA is updated with all that we need. How do I get a list of the active components in JIRA and then export them to excel?

4 answers

2 accepted

I tried something a bit goofy but it worked surprisingly well for a simple list of components.

  1. Created a filter for "all the work in my group" (over 18K issues)
  2. Created a dashboard and added the Heat Map gadget
  3. In Heat Map gadget settings, Project/filter field = my "all work in group" filter and Statistic type field = Components
  4. Save gadget settings and you should see the heat map in your dashboard. 
  5. With your mouse, select all the components in the heat map list, then copy (control+C)
  6. Paste into MS Word. I got a bullet list, one bullet for each component
  7. Un-bullet the list, select all and copy, then paste into Excel (if that's where the list was going)

I was able to use the heat map gadget to create a list of labels as well.

Updated: Adding, this technique would give only the components actually used in issues (assuming that's what the original question meant by "active", or "in active use").

Thanks Michelle! Appreciate the answer.

Like Mani_Pajouh likes this

Thank you! It works! 

Thank you. Super helpful.

@Michelle Rau It does indeed work, but the components are not ordered and the formatting means when I paste, it also looks like a heat map retaining formatting, or without formatting all on one line. I have 131 components in one project, some of which have spaces in the title which makes the task of sorting it harder.

That is true @Steven Rhodes , I used MS Word to strip the formatting and sort the list in alphabetical order. It's true this is a "quick and dirty" technique rather than a more structured query or view.

Thanks, Michelle. Works like a charm! 

Like Michelle Rau likes this

Super helpful and easy! 

Like Michelle Rau likes this

getComponentList from JIRA Command Line Interface (CLI) produces a csv file that can be imported into Excel. Use with runFromProjectList to collect information from multiple projects into a single csv file.

Thank you Bob:)

Hi Jana,

There is another easy and economic way of doing the same. you can run below JQL:

component is not EMPTY

Above will result in all the issues which are using the component, post which you can export the issue result in an excel and remove duplicates(data->remove duplicates), by this you will have a list of unique components currently in use.

If you want to list out all the components in JIRA Project, then you can simply navigate to the project->Overview->Components

It will list all the components which you can simply copy and paste in an excel. you will have the entire component list.

Hope this helps.

 

some extent it is ok, but what about if 500+ projects?

 

Thanks anyway.

Like JanaW likes this

Appreciate the answer but we too have A LOT of projects which makes it more difficult. But more importantly, I don't just want to see those that are being used, but those that are NOT as well so that we can remove them or question if they are still valid. It does however get me closer than I was when I posted this question:) Thanks for your time.

Another way to access all of the components in a project or projects is to conduct a basic search in issue navigator.

Go to your search bar and type issue navigator and hit return/search - see image below

issue navigator.JPG


Once in issue navigator use the basic search and do the following:

  1. Select your project from the left hand side, or select all projects in your organization where it says Project: All
  2. Over on the more section, select component as a search criteria (you may have to search for it) - see image below

select component.JPG

  • Notice under Project: All there is a new drop-down listing all components
    (far left of image below)
  • Just grab this drop-down and you're all set - there are your components currently used somewhere in the project or projects you've selected. - see figure below

components.JPG

Hope this helps!

Not sure how it will list Components that are not used in any issue (basically won't pull inactive components)

The query mentioned above pulls a holistic list of components, used or not used on any issue type. If created, it will populate in this list. In fact, if you had a project with no issues and only components, the query will render results, those of which are the components that exist within the project.

Like Priyanka Lavania likes this

Ah so it will only populate the list of components to select from, not the search result.

Manually need to write down the components. again a tedious task if there are 100s or 1000s of components. But for few it is a good solution.

Appreciate all the suggestions but those are steps I had done before posting the question and should of stated that so not to waste others time.

I would like to see Atlassian offer an easy way for an administrator to either generate a report or export active components, including those that are not actively used in projects. It's a way for us to 1) identify a holistic component's list, but also archive those not being used. It would also be nice to view or generate a report that lists components and then the project that uses them. This would be helpful when a name of a component needs to change/renamed, it would be an easy way then to quickly identify and go to the project to update the component name there.

Like # people like this

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