How to forecast sales in Jira
Teams that track deals in Jira Cloud can build a quarterly sales forecast from the same work items: a probability on each deal, a forecast call from its owner, and a weighted amount that automation keeps up to date. This guide adds those fields, totals the forecast with one scheduled rule, and saves the searches a sales manager reviews each Monday. After the steps come the parts of the setup that need the closest attention: totals past 100 deals, last week's numbers and who can see the amounts.
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. Start from a deal pipeline
Before you start, you need a Sales space with a Deal work type, an Amount number field, a Close date field and a workflow whose statuses are your sales stages, with Won and Lost in the Done category. The guide How to track a sales pipeline in Jira sets that up.
2. Add the forecast fields
Add three fields to the Deal work type: a number field named Probability, a select list named Forecast category with the options Commit, Best case, Pipeline and Omitted, and a number field named Weighted amount. Put Probability and Forecast category on the edit screen, and leave Weighted amount off it, because a rule sets it.
3. Set a probability for each stage
Write down one probability per stage, for example Qualify 10, Discovery 25, Proposal 50, Negotiation 75. Create an automation rule in the Sales space:
- Trigger: Work item transitioned, for Deal work items.
- Action: Edit work item fields, setting Probability to the number for the new status, with one If/else branch per stage.
The deal owner can still change Probability by hand when a deal moves faster or slower than its stage.
4. Keep the weighted amount current
Create a second rule:
- Trigger: Field value changed, for Amount and Probability.
- Action: Edit work item fields, setting Weighted amount to Amount times Probability divided by 100, with the math expression
{{#=}}{{issue.Amount}} * {{issue.Probability}} / 100{{/}}.
Test it by setting Probability on a test deal. A $40,000 deal at 50 should show 20000.
5. Ask each owner for a forecast call
Before the Monday review, each owner sets Forecast category on their open deals this quarter. Commit means the owner expects it to close this quarter. Best case means it could. Pipeline means it is open but not expected this quarter. Omitted takes it out of the forecast.
6. Total the forecast each Monday
Create a scheduled rule that runs every Monday at 8:00:
- Trigger: Scheduled, with no JQL.
- Action: Lookup work items with
project = SALES AND type = Deal AND statusCategory not in (Done) AND "Close date" >= startOfQuarter() AND "Close date" <= endOfQuarter() AND "Forecast category" = Commit - Action: Send email to the sales manager with the Commit total,
{{lookupIssues.Amount.sum}}, and the list of deal keys.
Copy the rule for Best case, or add a second lookup to the same rule.
7. Save the searches for the review
Save a search for each view the meeting goes through:
- Commit this quarter:
project = SALES AND type = Deal AND statusCategory not in (Done) AND "Close date" <= endOfQuarter() AND "Forecast category" = Commit ORDER BY Amount DESC - Open deals closing after this quarter, changed this week:
project = SALES AND type = Deal AND statusCategory not in (Done) AND "Close date" > endOfQuarter() AND updated >= -7d
Add them to a Jira dashboard with the Filter Results gadget, with Amount, Weighted amount, Forecast category and Assignee as columns.
8. Where this setup needs the closest attention
Lookup work items returns at most 100 work items. On a pipeline with more open deals in a forecast category, the emailed total leaves deals out and nothing in the email says so.
Jira keeps the change history of each work item, but JQL can't search past values of a custom field. A search can't show the Commit total as it stood last Monday, so copy each week's totals into a page or a spreadsheet if you want to compare weeks.
Dashboard gadgets count work items. For Weighted amount totals by stage or by owner on a dashboard, export the search or add a reporting app.
A rule runs as its actor, usually the automation user, so the email total can include deals the manager can't open, and a dashboard column shows each viewer only the deals they can open.
When a CRM app inside Jira fits better
The setup above works when a few owners update their calls each week and an admin looks after four rules. It gets harder when managers want to compare this week's forecast with last week's, or need a total they can trust on a pipeline of several hundred deals.
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 forecasting it adds:
- A Forecast category on each deal, Commit, Best case, Pipeline or Omitted. The owner sets it as their own call. Left empty, it comes from the stage's probability and the thresholds set on your pipeline: in the SaaS and Professional services packs, 70% or more is Commit and 40% or more is Best case.
- History from the day you install: changes to deal amounts, dates, probability, owner and forecast category, and a daily snapshot of open deals.
- Ask: type "What's our open pipeline by stage this quarter?" and get the total and a chart from your deals, which you can save to a Jira dashboard.
- Totals that count each record that belongs in them, or say what they leave out, for example "Excludes 1 deal you can't open".
Free on Jira sites of up to 10 users, without background capture, summaries or drafts. 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 total a sales forecast?
Yes, for up to 100 deals per search. A scheduled automation rule can look up this quarter's Commit deals and email the sum of their Amount field. JQL can't search past values of a custom field, so last week's total needs a copy. Gambit records deal changes and a daily snapshot of open deals from the day you install.
Get on the Gambit mailing list
Gambit is on its way to the Atlassian Marketplace.