Browse this sectionPivot Report / Overview

Pivot Report

The Pivot Report lets you design your own reports from Jira issues without writing any code. Choose the issues using a JQL query or the sprints of your agile boards, drag the fields you need into the report and decide which of them become rows and which become columns. The report groups, counts, sums, averages and formats the values for you and shows the result as a table.

Pivot Report - generated report with the Report Config panel open
A generated pivot report with the Report Config panel open on the right

Some of the reports you can build:

  • Number of issues by status and issue type, or by assignee and priority.
  • Time logged by each user per day of a week or per week of a month.
  • Story points committed and completed by sprint, epic or component.
  • Open issues by age, with the oldest and latest created date of each group.
  • Issue lists grouped by project, parent or fix version with totals for each group.

Open it from the menu Reports Pivot Report. Saved reports can be opened from the report list in the header of the report or from the "My Reports" gadget on your dashboard.

Quick start

  1. Open Reports Pivot Report. The Report Config panel opens on the right with the data source.
  2. Choose how the issues are pulled from Jira, either with a JQL query or from sprints, and continue to the fields.
  3. Drag fields from the fields list into the Report Fields area, e.g. Status, then Assignee.
  4. Click a field to open its properties. Turn on Show values of this field as columns (pivot) on the field that should become columns, and drag the fields to be shown as values under it, e.g. Story Points with the Sum function.
  5. Click in the Report Config panel to generate the report, or to save it.
Pivot Report - Report Config panel with report fields and fields list
Report Config: report fields on the left, Jira fields on the right and field properties at the bottom

Choosing the issues

The data source decides which issues are pulled from Jira. It is shown when you create a new report and can be opened again using the (Configure data source) icon in the Report Config panel. Under Pull issues using, choose:

  • JQL query: all the issues matching the query are pulled, e.g. project = ABC AND created >= -90d.
  • Sprints: choose one or more Agile boards and then the sprints of each board. You can pick a range of recent sprints (Last sprint, Last closed sprint, Last 2 to 5 sprints) or choose specific sprints. A JQL query can be added to narrow the issues of the selected sprints further, e.g. issuetype = Story.

To switch to other sprints, open the Report Config panel using the edit icon, change the sprints and refresh the report. Relative choices such as "Last sprint" move to the new sprint automatically once it starts, so a saved report always shows the latest data.

Pivot Report - data source with Sprints selected
Data source: pull the issues of the last two sprints of a board and narrow them using JQL

Tip: keep the filters that apply to the whole report in the JQL itself. Only the issues returned by Jira are processed, so a precise JQL keeps the report fast even on large projects.

Fields list

The fields list on the right of the Report Config panel shows all the fields available in your Jira, grouped into three sections with the number of fields in each:

  • Native: fields provided by Jira, such as Status, Assignee, Created, Time Spent and Sprint.
  • Custom: custom fields of your Jira instance, such as Story Points or Team.
  • Derived: properties of the items within an issue, such as Worklog Added By, Worklog Time spent, Comment Added Time, Attachment File Name, Component Name and Fix Version Release Date, and the special Date Range field (see below).
  • Use the search box to find a field by its name or key.
  • The icon in front of each field shows its type (user, date, number, time spent, text, list etc.).
  • The icon copies the name of the field in the form to be used in filters. Names having spaces are wrapped in backticks, e.g. `Story Points`.
  • Drag a field into the Report Fields area to add it to the report. The same field can be added more than once, e.g. to show both the sum and the average of a value.

Report fields

The Report Fields area lists the fields used in the report in the order they are shown. Drag them by the handle to reorder, and use to remove a field. Each field shows a short summary of its configuration, e.g. "Grouped" or the aggregation function used, and a icon when a filter is applied.

Click a field to open its Field Properties at the bottom of the panel. Drag the divider above the properties to resize them.

Row fields

By default every field is a row field and each issue is shown as a separate row with the value of the field in its own cell.

  • Group the issues by this field: issues having the same value are combined into a single row. Group by more than one field to get nested groups, e.g. Project and then Issue Type.
  • Fields placed after a grouped field show the combined value of all the issues of the group using the selected aggregation function. Choose No Aggregation to keep showing one row per issue within the group.
Column groups (pivot)

Turn on Show values of this field as columns (pivot) to show each value of the field as a column instead of a row, e.g. one column per status. A column group needs at least one field under it, which decides what is shown in its cells:

  • Drag fields from the fields list and drop them under the column group.
  • A field under a column group with Group the issues by this field turned on becomes a nested column group, e.g. Status and then Issue Type.
  • A field that is not grouped becomes a value shown in the cells, combined using its aggregation function, e.g. Count of Key or Sum of Story Points.
  • Turn on Show total column to add a total for the group and choose whether it is shown At start or At end.
Pivot Report - status column group with issue type sub group and total column
Status as a column group with issue type as a sub group showing story points, and a total column at the end

Field properties

  • Header text: text shown in the column header. When left empty, the name of the field is used, along with the aggregation function when one is used, e.g. "Story Points (Sum)".
  • Aggregation function: decides how the values of all the issues of a group are combined into one cell. Only the functions suitable for the type of the field are listed.
  • Display format: decides how the value is shown, based on the type of the field.
  • Filter issues: available for grouped fields and column groups. Only the issues matching the filter are included under the field. See Filters for the syntax.
Aggregation functions
FunctionAvailable forResult
First valueAll fieldsValue of the first issue of the group. Used when no function is selected.
Last valueAll fieldsValue of the last issue of the group.
CountAll fieldsNumber of values in the group. Turn on Count distinct values only to count each value only once, e.g. the number of different assignees.
Sum, AvgNumber and time spent fieldsTotal or average of the values.
Min, MaxNumber, time spent, date and date time fieldsSmallest or largest value, e.g. the oldest created date of a group.
Merge (CSV)Text fieldsAll the values separated by commas.
No AggregationRow fields onlyShows each issue in its own row within the group.
Display formats
  • Date and date time: Default, Date only, Age in days (words, e.g. "3 days ago") or Age in days (number).
  • User: name, email or both, with or without the avatar.
  • Time spent: formatted (e.g. 1d 2h) or as a number.
  • Project: key, name or both.
  • Parent: key, summary or both, with or without the status.

Date Range field

The Date Range field from the Derived section creates one column for each day or week of a period. It is useful for timesheets and for reports that show how work is spread over time.

  • Add it to the report and turn on Show values of this field as columns (pivot). It can be used only as a column group.
  • Date range: the period for which the columns are created, e.g. this month.
  • Show columns as: Days grouped by week or Weeks grouped by month.
  • Date field to match: the date field that decides under which date an issue is shown. Use a derived date field to place each worklog, comment or attachment under its own date, e.g. Worklog Time to show the time logged on each day.
  • Add the values to show under it, e.g. Worklog Time spent with the Sum function, and turn on the total column if needed.
Pivot Report - timesheet using the Date Range field
Timesheet: worklog author as rows and the time logged on each day as columns, grouped by week, with a total

Parameters

Filters can ask for a value every time the report is generated, so the same report can be reused for different users, dates or values. Use the parameters("Name") function in a filter, e.g. assignee in (parameters("Team members")).

  • The type of the parameter is decided by where it is used. A date range parameter shows a date range picker, a date parameter shows a date picker and a list accepts more than one value.
  • When the report has parameters, the values are asked under Provide values for the report parameters before the report is generated. Click Generate report after providing them.
  • Use the icon in the report header to change the values later.
Pivot Report - report parameters panel
Values for the report parameters are asked before generating the report

Saving and sharing reports

  • generates the report. The refresh icon in the report header pulls the latest data from Jira again.
  • saves the report. renames the report or saves it as a new report, and deletes it.
  • in the report header shows or hides the Report Config panel. Saved reports open with the panel hidden.
  • Errors in the report definition, such as a column group without values or an invalid filter, are listed when the report is generated so they can be corrected.
  • From the "My Reports" gadget on your dashboard, select the reports and export them as a .jrd file to share them with others. Others can import the file using the import option of the same gadget.

Tips and limitations

  • Fields that hold more than one value, such as Labels, Components, Sprint or worklogs, place the issue under each of its values. For example, an issue that was part of two sprints is counted under both sprints.
  • Groups are shown in the order in which their values are first found in the issues.
  • A cell with no matching issues is shown empty.
  • Derived fields such as worklogs and comments only include what Jira returns with the issue. Keep the JQL precise when pulling issues with many worklogs.
  • The report works with Jira Cloud and with Jira Data Center / Server.

To report a bug or suggest an improvement, use the Pivot Report discussion on GitHub. Please include screenshots and the details of any custom fields used.