Nebular Labs

Atlassian apps / Almanac / Documentation

Setting up Almanac

From install to a refreshed report takes about ten minutes. You need to be a Jira admin for the first three steps.

1. Install and choose what to include

  1. Install Almanac from the Atlassian Marketplace.
  2. In Jira, open Settings, then Apps, then Almanac.
  3. Under Choose what to sync, leave the filter empty to include every project, or enter a JQL filter, for example project in (APP, WEB).
  4. Press Start the sync. The page shows progress and says when every issue is up to date.

A site of a few thousand issues takes under a minute. Almanac handles 100,000 issues per site and tells you at this step if your filter matches more.

2. Generate a password

  1. Under Connect Power BI, press Generate a password.
  2. Leave the page open. The password is shown once, and you copy it at the sign-in step below. If you lose it, generate another.

Anyone with the address and the password can read everything Almanac has synced. Give them only to people who may see all of it. To give another report or person a password of its own, press Add another password under Feed passwords. Removing a password stops only the reports that use it.

3. Connect Power BI

  1. In Power BI Desktop choose Get data, then OData feed.
    The Get data menu in Power BI Desktop, with OData feed marked
  2. On Almanac’s page, press Copy beside the feed address. Paste it into Power BI and press OK.
    Power BI’s OData feed window with the feed address pasted
    (the address in these pictures belonged to a test install that no longer exists)
  3. Choose Basic. The user name is almanac. On Almanac’s page, press Copy beside the password and paste it. Leave “Select which level to apply these settings to” as it is, and press Connect.
    Power BI’s sign-in window with Basic marked and the user name almanac
  4. Tick the tables you want and press Load.
    Power BI’s Navigator with the six tables ticked

The same address and sign-in work in the Power BI service for scheduled refresh, with no gateway.

4. Set your time zone

Under Time zone, pick the zone your reports should use. Power BI does not convert time zones, so every date and time in the feed is written in the zone you pick, and reports match what you see in Jira. You can change it at any time, and the change shows at the next refresh.

Start from the template

A ready Power BI report with four pages: time in status, cycle time, velocity and one sprint’s report. The guides below build the same reports by hand and explain each formula.

  1. Download the template and double-click the file. It opens in Power BI Desktop and asks for the feed address.
  2. Copy the feed address from Almanac’s page in Jira (Settings, Apps, Almanac), paste it and press Load.
    The window the template opens with, asking for the feed address
  3. Choose Basic. The user name is almanac, and the password is one you generated on Almanac’s page. Leave “Select which level to apply these settings to” as it is, and press Connect.
  4. On the Cycle time page, tick the statuses that count as work under way. The cycle time stays empty until you do.
    The template’s Cycle time page: two statuses ticked, the average cycle and lead days, and both by month

The picture shows made-up data.

Guides

Two guides build a first report from Almanac’s tables, step by step, with every formula.

Connect Excel

Excel for desktop reads the same feed, with the same address and sign-in.

Excel for Windows · Excel for Mac

Excel for Windows

  1. In Excel choose Data, then Get Data, From Other Sources, From OData Feed.
    Excel’s Data tab with Get Data, From Other Sources and From OData Feed open
  2. On Almanac’s page, press Copy beside the feed address. Paste it into Excel and press OK.
  3. Choose Basic. The user name is almanac, and the password is one you generated on Almanac’s page. Leave “Select which level to apply these settings to” as it is, and press Connect.
    Excel’s sign-in window with Basic marked and the user name almanac
  4. Pick a table and press Load. It arrives as a table in a new sheet.
    An Excel sheet holding the StatusHistory table, with 910 rows loaded

To load several tables at once, tick Select multiple items first.

Excel for Mac

The menus differ on a Mac, and the address and the sign-in share one window.

  1. On the Data tab, open Get Data and choose Get Data (Power Query).
    Excel for Mac’s Data tab with the Get Data menu open and Get Data (Power Query) marked
  2. Choose OData.
    Excel for Mac’s list of data sources with OData marked
  3. Paste the feed address into URL. Under Authentication kind choose Basic. The user name is almanac, and the password is the one you generated. Press Next.
    Excel for Mac’s connection window with Basic marked and the user name almanac
  4. Tick the tables you want and press Load. Each arrives as a table in a sheet of its own.
    An Excel for Mac sheet holding the StatusHistory table

The tables

TableOne row for
IssuesEach issue, with every system and custom field as a column.
StatusHistoryEach stay of an issue in a status, with when it began, when it ended and how long it lasted.
ChangesEach change to a field of an issue, with its time.
SprintsEach sprint, with what was committed, added, removed and completed.
SprintIssuesEach issue of each sprint, with how it ended.
WorklogsEach entry of time logged on an issue, with who logged it, when the work was started and how long it took.

Sub-tasks are left out of the two sprint tables, as they are in Jira’s own sprint report.

How fresh the data is

A change to an issue or a sprint is picked up within about a minute. Almanac also checks hourly, daily and weekly for anything it may have missed, such as an issue deleted while Jira was busy.

If something is not right

  • Power BI asks for the sign-in again, or says access is denied. Generate another password on the Almanac page and enter it in Power BI under Data source settings. Remove the old one if nothing else uses it.
  • Power BI refuses the sign-in of a second Almanac feed on the same PC. Every Almanac feed address begins with the same host name, and Power BI saves a sign-in for the level chosen in “Select which level to apply these settings to”. Left as it is, that level is the host name, so Power BI sends the first feed’s password to the second. Choose the longest address there, which is the feed’s own, and sign in. Do the same for the first feed when it asks.
  • A sprint is missing. Almanac can only read a board whose filter is shared with it. Share the board’s filter with the project, and the sprint appears after the next daily check.
  • The admin page says the filter cannot be read. Check the JQL in Jira’s own issue search first, then paste it again.

For anything else, write to support@nebularlabs.com.