How to prioritize Jira bugs by customer revenue
Most Jira teams rank bugs by priority and votes. When two bugs of the same priority compete for one sprint, product managers often want to know which customers each bug affects and what those customers pay. This guide sets that up in Jira Cloud with work item links, two number fields and one scheduled automation rule. After the steps come the parts of the setup that need the closest attention: stale numbers, totals across bugs and who can see revenue.
Free on Jira sites of up to 10 users, without background capture, summaries or drafts.
Watch Gambit in 45 seconds
The steps below build this in plain Jira. Gambit adds more: it lists the customers each Jira bug affects, a plain question becomes a pipeline report, and Rovo moves a deal stage for you, with Undo (on Jira plans that include Rovo). Davis Hospitality is a made-up company with invented data.
Gambit is in review for the Atlassian Marketplace and is free on Jira sites of up to 10 users. To get an email the day you can install it, join the mailing list.
1. Keep customers as work items
Create a company-managed space called Customers with an Account work type, and add a number field named ARR to it. Make one Account work item per paying customer, with the account owner as Assignee. If you already track deals in Jira, use the Account work type from your sales space instead. The guide How to track a sales pipeline in Jira sets one up.
2. Add a link type for customer impact
In Jira settings, add a work item link type named Customer impact, with the outward description "affects customer" and the inward description "is affected by". When support escalates a problem to engineering, the agent links the bug to the customer's Account with this link type. If support works in Jira Service Management, the request's Organizations field shows which customer raised it, so the agent can link the Account in the same step that links the request to the bug.
3. Add a Customer ARR field to bugs
Add a number field named Customer ARR to the Bug work type in your software spaces. Nobody types into it: the rule in step 4 fills it.
4. Fill the field with a scheduled rule
In the software space, create an automation rule:
- Trigger: Scheduled, once a day, with the JQL
type = Bug AND statusCategory not in (Done) AND issueLinkType = "affects customer", and the option to run the actions for each work item in the search results. - Action: Lookup work items, finding the Account work items linked to the bug with the "affects customer" link. Use the
linkedIssuesJQL function with the bug's key from{{issue.key}}, and addAND type = Account. - Action: Edit work item, setting Customer ARR to the sum of the ARR field across the work items found, with
{{lookupIssues.ARR.sum}}.
Values in double braces take a custom field by its name or by its id. Run the rule once by hand and open three bugs to check the totals against their linked accounts.
5. Sort and filter by revenue
Save a search for each view the backlog review uses:
- Open bugs by customer revenue:
type = Bug AND statusCategory not in (Done) ORDER BY "Customer ARR" DESC - Open bugs affecting $100,000 or more:
type = Bug AND statusCategory not in (Done) AND "Customer ARR" >= 100000
Add the first to the team's dashboard with the Filter Results gadget, and show Customer ARR as a column.
6. Where this setup needs the closest attention
The field shows ARR as of the last rule run. A renewal signed this morning changes the bug's total tomorrow.
Customer ARR on each bug is that bug's own total. A customer affected by five bugs counts once on each of them, so adding the field across a release overstates the revenue affected.
The rule runs as the automation actor, which can read every Account. The number it writes on a bug shows to everyone who can open the bug, including people who can't open the Customers space. Decide whether engineers should see ARR before you turn the rule on.
One number field holds one number. Showing renewal dates, open deals or customer health on bugs takes more fields and more rules, and each rule counts toward your plan's monthly automation limit.
When a CRM app inside Jira fits better
The setup above works when a few people link bugs to customers and an admin keeps the rule and fields up to date. It gets harder when engineers need the renewal date and open deals next to ARR, or when totals must match what each person is allowed to see.
Gambit is a CRM built on Atlassian Forge that runs inside Jira Cloud. Its deals, accounts and contacts are Jira work items on your own site. For engineering work it adds:
- A customer panel on each bug or epic linked to a customer, naming the accounts it affects with their ARR, health and renewal date.
- A Revenue impact field on software work items with linked customers. It holds the ARR at stake, open pipeline, revenue at risk, the top tier and the nearest renewal. Filter on it in JQL and save the search as a filter.
- Revenue impact kept current by Gambit, with no rule to maintain. After a big change such as an import, it refills about 120 work items a day on paid plans, and the panel shows "Updating" until it finishes.
- Gambit reports on Jira dashboards, where each person sees the results their own Jira permissions allow.
Free on Jira sites of up to 10 users, without background capture, summaries or drafts. Customer panels are in the free tier. From 11 to 100 users it's $2.50 per user a month, lower above that.
Gambit is on its way to the Atlassian Marketplace. Get on the mailing list to hear the day you can install it, and read each step in the setup guide first.
Questions and answers
Can Jira sort bugs by how much the affected customers pay?
Yes, once each bug carries a number field with the ARR of its linked customers. An automation rule can fill it once a day from linked Account work items. Gambit's Revenue impact field holds that total, kept current with no rule to maintain.
Get on the Gambit mailing list
Gambit is on its way to the Atlassian Marketplace.