Guide · checked on Jira Cloud, November 2026

How to build a Jira bug report in Google Sheets™

Two questions come up in every bug review: how many bugs are open, by priority and by age, and are we fixing them faster than they come in? This guide answers both in Google Sheets with one JQL query, a few formulas (COUNTIFS, QUERY), a pivot table and a chart. Free methods first.

Replace ABC with your project key everywhere below. (Atlassian now calls issues "work items" in parts of Jira, so you'll see both words.)

1. Start with Jira's own dashboard gadgets (free)

A Jira dashboard may already be enough. Save your bug JQL (step 2) as a filter, then add these built-in gadgets (Atlassian's gadget list):

  • Created vs Resolved: a chart of work items created against resolved over a period you choose.
  • Pie Chart: your filter grouped by a field, for example Priority.
  • Two Dimensional Filter Statistics: a table, for example Priority down the side and Status across the top.
  • Average Age: how many days work items have been unresolved, on average.
  • Resolution Time: the average time it took to resolve them.

Created vs Resolved counts the Resolution field (Atlassian's note), so bugs that reach Done without a resolution never show as resolved there. Run the "check" query in step 2 first.

A spreadsheet is the better choice when you need your own age buckets, want to combine several projects, add notes, or send the numbers to someone who doesn't use Jira.

2. Write the bug JQL

Build each query in Jira's work item search (switch to JQL), check the results, then copy it. Useful bug queries:

ReportJQL
Open bugs, worst firstproject = ABC AND type = Bug AND statusCategory != Done ORDER BY priority DESC, created ASC
Open high-priority bugsproject = ABC AND type = Bug AND statusCategory != Done AND priority in (Highest, High)
Open bugs older than 30 daysproject = ABC AND type = Bug AND statusCategory != Done AND created <= "-30d"
Bugs created last weekproject = ABC AND type = Bug AND created >= startOfWeek("-1") AND created < startOfWeek()
Bugs finished last weekproject = ABC AND type = Bug AND statusCategory = Done AND statusCategoryChangedDate >= startOfWeek("-1") AND statusCategoryChangedDate < startOfWeek()
Done but no resolution (check)project = ABC AND type = Bug AND statusCategory = Done AND resolution = Unresolved

"Open" here means not in the green Done status category, whatever your final status is called (Done, Closed, Resolved...). For the spreadsheet you only need one query. It returns every open bug plus every bug finished in the last 12 weeks:

project = ABC AND type = Bug AND (statusCategory != Done OR statusCategoryChangedDate >= startOfWeek("-12")) ORDER BY priority DESC, created ASC

Why that is enough: a bug created in the last 12 weeks is either still open (so it's in the first half) or moved to Done after it was created, which is also inside the 12 weeks (so it's in the second half). Both weekly counts in step 5 can be worked out from it. statusCategoryChangedDate is when the bug last moved between To Do, In Progress and Done, so for a finished bug it's when it reached Done.

If your workflow sets Resolution on every finished bug (the check query in the table finds nothing), the shorter Resolution forms work too, and they match Jira's Created vs Resolved gadget:

  • Open: project = ABC AND type = Bug AND resolution = Unresolved
  • Resolved last week: project = ABC AND type = Bug AND resolved >= startOfWeek("-1") AND resolved < startOfWeek()
  • 12 weeks: project = ABC AND type = Bug AND (resolution = Unresolved OR resolved >= startOfWeek("-12"))

Good to know:

  • startOfWeek() starts on Sunday unless ISO 8601 is turned on in Jira's look and feel settings. For a Monday start, Atlassian uses startOfWeek("+1d"). startOfWeek("-1") means the start of last week (Atlassian's JQL functions).
  • Put relative dates in quotes: created <= "-30d". Without quotes Jira reads the number differently (Atlassian's JQL fields). resolved is the date the Resolution field was set.
  • Why not Resolution by default. resolution = Unresolved and resolved follow the Resolution field, not the workflow. Many workflows, especially in Jira Service Management, move work to a final status without setting a resolution, and Jira gives no error: on our own test site resolution = Unresolved returned all 34 requests, including the 11 finished ones, and resolved >= "-90d" returned none of them. If the check query finds bugs, set a resolution on the final transition, or keep to statusCategory. (Team-managed service spaces have no Resolution field at all.)
  • Priority names are Jira's defaults (Highest, High, Medium, Low, Lowest). Your site may use others; copy them exactly from a bug.

3. Free: get the bugs into Sheets

  1. In Jira's work item search, run the 12-week query from step 2.
  2. Show these columns in this order: Key, Summary, Status, Priority, Assignee, Created, Resolved.
  3. Open Export and pick the CSV option with your current fields.
  4. In Google Sheets, choose File > Import > Upload, import into a new sheet and rename the tab Bugs.

The formulas below use that layout: A Key, B Summary, C Status, D Priority, E Assignee, F Created, G Resolved. If your columns are in a different order, change the letters. Atlassian's free Jira Cloud for Sheets add-on is another way in; see how to export Jira issues to Google Sheets with JQL.

Check the dates first. Click a cell in Created. If Sheets shows it as text (left-aligned, no date picker), every date formula below will count zero. If your export shows dates like 05/Nov/26 10:15 AM (two-digit day, short month name, two-digit year), add a column H with this formula from row 2 down, and the same for Resolved in column I:

=IF(F2="", "", DATE(2000 + VALUE(MID(F2, 8, 2)), MATCH(MID(F2, 4, 3), {"Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"}, 0), VALUE(LEFT(F2, 2))))

Then use H and I wherever the formulas below say F and G. (This keeps the day and drops the time, which is all the report needs.)

Then check for finished bugs with no Resolved date. The formulas below treat an empty Resolved cell as open. If the check query in step 2 found bugs, those finished bugs have no Resolved date (on our test site, a Done bug had none), so step 4 counts them as open and step 5 never counts them as resolved. The real fix is a resolution on the final transition. Until then, add column J, with your final statuses in the list:

=ARRAYFORMULA(IF(A2:A = "", "", IF((G2:G = "") * ISNA(MATCH(C2:C, {"Done", "Closed", "Resolved"}, 0)), "Open", "Done")))

Then, in step 4, use Bugs!$J:$J, "Open" instead of Bugs!$G:$G, "", Bugs!J2:J = "Open" instead of Bugs!G2:G = "", and J = 'Open' instead of G is null (with Bugs!A:J). That fixes the open counts. The weekly Resolved count in step 5 still needs a finish date, and Jira's CSV export doesn't include Status Category Changed (JRACLOUD-81567), so for that you need the resolution fix (or the add-on in step 6).

4. Open bugs by priority and age

Put the report on its own tab (call it Report) so the Bugs tab can be replaced on every import. In A2:A6 type the priorities, highest first. In B1:E1 type 0-7 days, 8-30 days, Over 30 days, Open. Then in B2, C2 and D2:

=COUNTIFS(Bugs!$D:$D, $A2, Bugs!$G:$G, "", Bugs!$F:$F, ">="&(TODAY()-7))
=COUNTIFS(Bugs!$D:$D, $A2, Bugs!$G:$G, "", Bugs!$F:$F, "<"&(TODAY()-7), Bugs!$F:$F, ">="&(TODAY()-30))
=COUNTIFS(Bugs!$D:$D, $A2, Bugs!$G:$G, "", Bugs!$F:$F, "<"&(TODAY()-30))

In E2 put =SUM(B2:D2), then fill row 2 down to row 6. Bugs!$G:$G, "" keeps only bugs with no Resolved date, and the buckets count whole days: on 25 November a bug created on 18 November is in 0-7 days, one from 17 November is in 8-30 days.

Two more cells worth having:

=COUNTIFS(Bugs!A:A, "<>", Bugs!G:G, "")
=ROUND(MEDIAN(FILTER(TODAY() - Bugs!F2:F, Bugs!A2:A <> "", Bugs!G2:G = "")), 1)

The first is all open bugs. If it's bigger than the sum of E2:E6, some bugs have a priority you didn't list (or none). The second is the median age of open bugs in days, which one very old bug can't skew the way an average can. It shows #N/A when nothing is open.

The one-formula version. QUERY builds the priority list for you, but sorts it by count, not by priority:

=QUERY(Bugs!A:G, "select D, count(A) where A <> '' and G is null group by D order by count(A) desc label count(A) 'Open bugs'", 1)

G is null picks the bugs with no Resolved date when column G holds real dates. QUERY gives each column one data type and treats values of other types as null (Google's QUERY help), so if G is text, fix the dates first.

Or with a pivot table, no formulas:

  1. Click a cell in the Bugs data and choose Insert > Pivot table, on a new sheet.
  2. Rows: Priority. Columns: Status. Values: Key, summarized by COUNTA.
  3. Filters: Resolved, Filter by condition > Is empty.

That gives priority by status at a glance. The pivot sorts priorities alphabetically (High, Highest, Low...), so for a review deck the COUNTIFS table reads better.

5. Created vs resolved per week, with a chart

On a new tab (call it Weekly), type Week of, Created, Resolved, Net in A1:D1. In A2, this lists the Mondays of the last 12 weeks, oldest first:

=ARRAYFORMULA(TODAY() - WEEKDAY(TODAY(), 3) - 7 * SEQUENCE(12, 1, 11, -1))

WEEKDAY(..., 3) counts Monday as 0, so TODAY() - WEEKDAY(TODAY(), 3) is this week's Monday. Format A2:A13 as dates (Format > Number > Date). Then in B2, C2 and D2, filled down to row 13:

=COUNTIFS(Bugs!$F:$F, ">="&$A2, Bugs!$F:$F, "<"&($A2+7))
=COUNTIFS(Bugs!$G:$G, ">="&$A2, Bugs!$G:$G, "<"&($A2+7))
=B2-C2

A positive Net means more bugs came in than were fixed that week. The last row is the current week, so it's still filling up. The weeks here start on Monday even if Jira's startOfWeek() starts on Sunday; the 12-week query reaches back far enough either way.

Add the chart:

  1. Select Weekly!A1:C13 and choose Insert > Chart.
  2. In the chart editor, under Setup > Chart type, pick Column chart (or Line chart).
  3. Check that Week of is the X-axis and Created and Resolved are the two series.

The chart updates whenever the Bugs tab changes. That gives you the same picture as Jira's Created vs Resolved gadget, but with numbers you can put next to it.

6. Keep it up to date on a schedule

A CSV export is a snapshot: for next week's bug review you export and import again. If the Bugs tab should refresh by itself, and you want to know when it doesn't, that's what we built Reportwell for Jira for. It's a Google Sheets add-on, and for a bug report it does this:

  • Runs the 12-week JQL from step 2 into the Bugs tab. You can also pick one of your starred Jira filters.
  • Has Priority, Created, Resolved, Resolution and Type in its field list next to Key, Summary, Status and Assignee, so the layout above takes a few clicks. Check the column letters once after the first run. It also takes other fields by name, such as Status Category Changed, the finish date to use when your workflow sets no resolution.
  • Writes Created and Resolved as real dates in the spreadsheet's time zone, so the formulas work without the text fix in step 3.
  • Refreshes every hour, day or week at the hour and time zone you pick, on our servers, so it runs while the spreadsheet is closed. A weekly refresh on the morning of your bug review is a good fit.
  • If a scheduled refresh fails, you get a failure email, the sidebar shows why, and a log tab records the run. The old data stays in place.

Each refresh rewrites the same Bugs tab, so the Report and Weekly tabs and the chart keep pointing at it and update on their own.

Early access: Pro (scheduled refresh, failure emails, up to 50,000 rows) is free for everyone until 28 Feb 2027. No card needed. The Free plan has manual refresh, one report per spreadsheet and up to 1,000 rows, which is enough for this report on most projects. It works with Jira Cloud, not Jira Server or Data Center.

We make Reportwell for Jira. Get it on the Google Workspace Marketplace, or read the documentation. Steps 1-5 work without it. This guide was written with AI assistance and checked against Atlassian's and Google's documentation and the add-on's code.