Is it possible to export a list of all projects with their category?

Is it possible to export a list of all projects with their category?

4 answers

1 accepted

2 votes
Renjith Pillai Community Champion Feb 04, 2013

No direct way, you can do it if you are comfortable with jquery to run a short script in your browser console to extract it.

Renjith Pillai Community Champion Feb 05, 2013

Will try to get you one script if time permits.

Renjith Pillai Community Champion Feb 05, 2013

Try this in the javascript console:

AJS.$('.inall').each(function(i){

var category = AJS.$(this).find('h3').text();

AJS.$(this).find('div div table tbody tr').each(function(i) {

console.log(category + ',' +
	AJS.$(this).children('td:nth-child(1)').text().trim() + ',' +
	AJS.$(this).children('td:nth-child(2)').text().trim() + ',' +
	AJS.$(this).children('td:nth-child(3)').text().trim() );

});


});

Copy paste the output in the console (comma separated to an Excel)

Hi Furore,

Yes you can, the 'Search for Issues' screen allows you to create your custom filters and then export to multiple formats using the 'Views' option. The following guide outlines this process: https://confluence.atlassian.com/display/AOD/Exporting+Search+Results+to+Microsoft+Excel

Cheers,

Paul

Thanks Paul, but We already export all Issues from Jira, with all Excel fields.

No one field has the Category.

Any other idea?

Thanks!

That would only export a project's issues – The problem trying to be solved is how to export a list of projects.

Here is a low tech version of how I did it:

  1. Click Projects>View all Projects
  2. Select the whole table with the mouse, including the Title Row
  3. Copy
  4. Open Excel
  5. New Blank Worksheet
  6. Past (Match Destination Formating)
  7. Delete Rows where Name=="Blank"
  8. Save in format you need ;-)

Hope this helps

The All Project page shows only 25 projects on a single page, and you have change page to the next 25 projects. Which makes this process very cumbersome.

The quickest way I know is using the Jira API:

Log in to Jira and open a new browser tab.

Go to https://[yourdomain].atlassian.net/rest/api/2/project

That gives you a json object with all your projects.

Then use a json to csv converter like https://json-csv.com/ and a few seconds later you have a file you can open in Excel.

There's a lot more you can do with the API; it's also an easy way to export users and groups.

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 ...

2,950 views 12 18
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