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

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?

5 answers

2 accepted

15 votes
Answer accepted

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.

Brilliant! Thanks!

Awesome! This worked great!

Ronald, If you could help us on how to get any data from Jira into json objects similar to this so that?

For example, you have given the URL "https://[yourdomain].atlassian.net/rest/api/2/project" to get the list of projects. 

What if we want to see list of Test steps?

 

Looking forward to hear from you.

Thanks in advance!

Rudhra murthy

This is a very well quick working solution.

This has done it, and in general, the Jira API is a powerful tool, thanks for the solution!

Nice - Note that you can also convert the JSON data locally with three lines of python code, by unsing the pandas library:

I use PyCharm and Anaconda ( www.jetbrains.com/pycharm/promo/anaconda/ ) , that comes preconfigured with pandas.

import anaconda_project
import pandas
pandas.read_json("input.json").to_excel("output.xlsx")

Thanks for the solution. 

This is a simple solution and it worked great, I have a quick comment, instead of UUID can we get the person who created the project or how can we query using the UUID to get the user name. 

So, this worked as others have stated.  Curious that Jira Software does not let you export a project list with possibly some status info by default from within the app.  You cannot modify the column layout on the Projects list either.  Maybe a default project report at the org level would be nice.  

Thanks to Ronald Vallenduuk for blazing that trail to a reasonably useful solution!

Cliff

Ronald, this tip of you has worked but is there a way to pull the Project Lead as well along with these details?

How can i export list of Project lead names with help of API?

4 votes
Answer accepted

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.

Will try to get you one script if time permits.

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)

1 vote
Paul Greig Atlassian Team Feb 04, 2013

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.

@Paul Greig I'd like to use your assistance for exporting all the projects listed under my site along with the Project Leads listed.

 

Could you help me out with this? 

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.

On other hands, Instead of all projects in "Projects" tab


Goto Jira Admin section(cog icon) on right top corner --> choose "Projects"

It will list all available Jira projects in the current instance.

Hope this will help you guys...

I find it odd that I can just get a list into excel simply a list of all of my projects

I mean without having to do one of the above mentioned suggestions

Suggest an answer

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

Demo Den Ep. 7: New Jira Cloud Reports

Learn how to use two new reports for next-gen projects in Jira Cloud:  Cumulative flow diagram and Sprint burndown chart. Ivan Teong, Product Manager, Jira Software, demos the Cumulative ...

261 views 1 2
Join discussion

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