Can I generate a report that only shows the Projects (not any of the epics, stories, etc?)

Wendy Dugal August 19, 2015

I want to generate reports that count the number of projects, but does not list the issues in the project.

Can this be done in JIRA Cloud? Can it be done in the Servier Version?

3 answers

0 votes
Betsy Walker {Appfire}
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 20, 2015

If you use Confluence Server, you can also generate a list using the Run CLI Actions in Confluence and Advanced Tables for Confluence add-ons. The steps are similar to what is described in this recipe, in that  you:

  1. Do a one-time configuration of the Run CLI Actions add-on so it has a profile defining how to access your JIRA Cloud or Server instance (or any other Atlassian product), e.g., url + credentials to access it.
  2. Set up a Confluence page that includes a "Run without a user form" macro, with 2 macros nested inside of it:
    1. CLI, which invokes the getProjectList action against JIRA to produce a CSV containing the list of projects
    2. CSV, which turns the CSV file into a Confluence table.

The Confluence page looks like this:

getProjectList.png

The output looks like this:

output.png

The macro configuration is as follows:

  • Run without a user form
    • All parameters at their default value
  • CLI
    • Profile = the name of the project you set up for your JIRA instance
    • Product = JIRA
    • Hide the output = true
  • CSV
    • Columns to show = Name, Key
    • Location of CSV data = #cli/$page_id/projectlist.csv
    • Auto number on each row = true
    • Auto sort column = 1 (to sort by the Name column)

It may seem like a lot of steps, but the power of the Run CLI Actions in Confluence add-on is that you can do all sorts of reporting against any of your Atlassian products without having to write and maintain code. And you can protect them with the Macro Security add-on, if desired, to ensure these powerful add-ons can only be edited by trusted users yet have their resulting output viewable by anyone.

0 votes
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
August 19, 2015

You can also see the answer I gave to a very similar request a minute ago - see https://answers.atlassian.com/questions/24647845

0 votes
Pilar
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 19, 2015

You can get the total number of projects by visiting your JIRA Server info page under administration -> System ->System info.

This info can be accessed in both versions.

Pilar

Suggest an answer

Log in or Sign up to answer