The app in Jira

Besides its own page, TreeCraft appears on projects, work items, boards and dashboards, and in Rovo. Each place shows only what the person looking at it may see.

On this page

The app's own page

TreeCraft: Issue Hierarchies, under Apps in Jira's top navigation, lists every hierarchy you can open and holds the tools described in Getting started. Each hierarchy has its own address, so you can bookmark it or paste it into a work item.

The page opens on the last hierarchy you opened. For people who haven't chosen one themselves, admins can set the hierarchy it opens on, in Defaults.

Project pages

Each project has a Hierarchies tab. It opens on a tree of the project's work items, named after the project (for example "PLAN work items"), with top-level work items in rank order and their children under them. A work item whose parent is in another project doesn't appear in this tree, but a query or a saved hierarchy can show it.

From the bar at the top you can open one of your hierarchies, create one with New, and reach Manage hierarchies, Teams and capacity, Scratchpad, Help and, for admins, App settings under More.

The project's admins can set a default hierarchy for the tab. Everyone who can open that hierarchy then lands on it, and everyone else sees the project's work items.

Example: see a whole project as a tree. You manage the PLAN project and want to see all its work.

  1. Open the PLAN project and choose the Hierarchies tab.
  2. Look at the tree called "PLAN work items". To switch to one of your own, pick it in the bar at the top.
  3. To make your roadmap the first thing the team sees, a project admin opens the project's settings, chooses Hierarchy settings and picks it as the Default hierarchy.

After step 3, everyone who can open that hierarchy lands on it. Everyone else still sees the project's work items.

Project settings

In the project's settings, the Hierarchy settings page lets the project's admins:

  • Turn the app off on this project's pages, so the project's tab and its work items' panel no longer show the app;
  • choose the Default hierarchy the project's tab opens on.

Only the project's admins can change these. A Jira admin can also leave a whole project out of the app in App access, and this page then says so.

The work item panel

Each work item has an In hierarchies panel. It lists the hierarchies you can open that hold the work item, and shows where the work item sits in the one you pick: the rows above it and the first 100 rows under it. When the work item sits in several places in that hierarchy, the panel says how many and shows the first. Open goes to the hierarchy on the app's page.

The panel remembers your last choice. When the work item isn't in that hierarchy, the panel picks a favorite, or else the first by name. Admins can choose which hierarchy it shows first for everyone, in Defaults.

The panel never says where a work item you can't see is placed, and it leaves out hierarchies in which the work item isn't shown to you anywhere. If it couldn't check every hierarchy in time, it says that others may hold the work item too.

Example: where does this story sit? You open PLAN-3 in Jira and want to know which roadmaps hold it.

  1. Find the In hierarchies panel on the work item.
  2. Pick "Product roadmap" from its list.

You see the rows above PLAN-3, such as its epic PLAN-1, and the first 100 rows under it. If PLAN-3 sits in several places, the panel says how many and shows the first. Select Open to go to the hierarchy.

Boards

Open as a hierarchy, in a board's menu, opens a dialog where you can open one of your hierarchies or select Create one from this board. That makes a hierarchy of the board's work items as a tree, with top-level work items in rank order and their children under them, kept up to date from the board's query.

Dashboards

You can add three gadgets to any Jira dashboard.

Hierarchy grid shows a hierarchy's rows and columns, read-only. In its settings you choose:

  • the Hierarchy;
  • the Columns: a saved view, or nothing to use the hierarchy's default for gadgets;
  • Levels open, from the top level only to all;
  • Rows shown.

Hierarchy cumulative flow charts how many of a hierarchy's work items were in each status, day by day, over the number of recent days you choose. Bands can follow status categories or single statuses. The gadget reads each work item's history from Jira.

Hierarchy workload shows each person's work in a hierarchy against their hours, over the next 7, 14 or 30 days. See The workload gadget.

Each person who views the dashboard sees only what they may see in the hierarchy, and nothing if they can't open it.

Example: put the roadmap on a team dashboard. The team looks at one dashboard every morning.

  1. Open the dashboard and add the Hierarchy grid gadget.
  2. In its settings, pick the Hierarchy "Product roadmap".
  3. Pick Columns: a saved view such as "Sprint review". Set Levels open to the top level only, and choose how many Rows shown.

You see the hierarchy's rows and columns, read-only. Each person sees only what they may see.

Rovo

On sites with Rovo, the TreeCraft hierarchy helper agent works in Rovo chat. It can:

  • build a hierarchy's rules from a description in plain words;
  • write a formula column for what you want it to show, such as totals over the rows below, progress, dates and deadlines, working days, risk flags and coloured badges, or text progress bars;
  • explain, check and fix a formula you paste;
  • write or fix a JQL query or a tree query;
  • summarize a hierarchy, or the part under one of its work items.

Ask it what it can do, and it tells you in a few lines. It answers in the language you write in, while formulas, function names and queries stay as written. You can start from Rovo chat, where it offers five conversation starters: Build a hierarchy from this description, Write a formula column for me, Explain or fix this formula, Help me write a JQL query and Summarize this part of a hierarchy. You can also start from the buttons in the app.

Building rules

Describe what the hierarchy should hold. The agent suggests rules that use your site's projects, boards, fields and link types, explains each one in plain words, and adds them to the hierarchy once you confirm. Adding rules requires Automate access, as it does in the Rules panel, and the rules go through the same checks. The agent adds up to 10 rules at a time, after the rules already at the top of the hierarchy and before the rows placed by hand, which is where the Rules panel puts a new rule. If one of them is refused, it tells you which were added, and you can remove those in the Rules panel.

Example: ask Rovo to build a hierarchy. In Rovo chat, open the TreeCraft hierarchy helper and write: "Show the epics of release 1.0 in the PLAN project, with their stories and subtasks under them."

The agent suggests rules that use your site's own projects and fields, and explains each one in plain words. It adds nothing until you confirm in the chat. You need Automate access to the hierarchy, as in the Rules panel.

Coming from another app

Under the Build with Rovo field in the Rules panel, a line reads "Coming from another app? Paste its rules here as text, and Rovo proposes the same hierarchy with TreeCraft's rules." Copy the other app's rules as text, in its own words, and paste them in. The field is a box of four lines that keeps your line breaks. Enter starts a new line, and Ctrl+Enter sends.

  • Length. You can paste up to 6,000 characters, which holds about 20 long rules. A longer text is never cut. The field says "Too long: 7,500 characters, and Rovo can read 6,000 at most. Shorten the text, or send the rules in two parts: Rovo adds the second part after the first.", and the button waits.
  • What Rovo does. It reads the rules, matches each one to a TreeCraft rule type, and keeps their order. It uses your site's own projects, boards, fields and link types, and never invents a field, a board or a link type: when the text names one it can't find, it asks you. When the text refers to a saved filter without giving its query, it asks for the JQL.
  • What it tells you first. Before it adds anything, it describes each rule in plain words, with its direction (for links), the part of a board it reads, whether it keeps the parents of matches, how many levels it goes down, and every other setting that changes the result. "All levels" means the site's own maximum number of levels, 10 unless an admin changed it, and never more than 20.
  • Confirmation. The rules are added only after you confirm in the chat, with the same checks as rules you add yourself. Rovo adds them 10 at a time and carries on with the next 10 until it has added them all. A hierarchy holds at most 30 rules, and at most 5 of them may read every row, and Rovo says when a text goes past those limits.
  • What it leaves to you. Some parts of another app have no TreeCraft rule. Rovo names them and says how to redo each one: formula columns, with Ask Rovo in the formula dialog; coloured or highlighted rows, with conditional formatting, which also colours timeline bars; changes that write to Jira, with write-backs, set up by hand; and layouts, which columns show, how rows are opened and column widths, which you set by hand in a view and then save. Work items that someone added by hand, and settings that belong to one person, are set again by hand too.

Nothing new is stored or sent anywhere: this is the same Suggest rules and Add rules as above, and it names no other product. See Switching to TreeCraft.

Summaries

The agent reads an outline of the hierarchy, or of the part under one work item, with each work item's key, status, summary and assignee. It then summarizes progress, what is done and what is left, who works on what, and what looks blocked or unassigned. The outline holds up to 300 rows. When the hierarchy, or the part you asked about, has no more rows than that, the outline starts with their number, such as "120 rows". When it has more, the outline starts with "the first 300 rows shown; there may be more" and gives no total, because the rest was never read. Rows you can't see in Jira aren't counted, so the number can be smaller, such as "the first 150 rows shown; there may be more". To summarize another part of a large hierarchy, ask for the part under a work item.

Formulas and queries

Describe what a formula column should show. The agent writes the formula from the app's own functions and from the fields you can see, checks it with the app's formula checker and fixes what it finds before showing it to you. It then explains what the formula computes, names the display format that suits it, and may offer a variant, such as by status instead of by count. Paste a formula of your own to have it explained step by step, checked, and replaced with a corrected or simpler version.

Once you agree, the agent saves the column to your own column library, never shared. Add it to any hierarchy from + Column, under Library · yours, as you would any saved column. The library's usual checks and limits apply, and saving changes no view, no work item and no one else's library.

For JQL, the agent writes the query from your words and has Jira check it, with your own rights, before showing it. A tree query is checked by the app's own parser. Either way, the agent explains in one sentence what the query finds.

The agent never changes the dialog you are working in: copy its formula or query from the chat into the box.

Buttons in the app

Where help is most useful, a button opens Rovo chat on the TreeCraft hierarchy helper, with a prompt in your language for what you are doing. Rovo sends the prompt as soon as the chat opens. Where nothing is written yet, the button sits beside a one-line field, such as "What should this column show?", and waits until you describe what you want. Nothing changes in the hierarchy until you confirm what the agent proposes.

Where Button The chat starts with
The formula dialog, under the Formula box Ask Rovo The formula typed, to explain, check and simplify. When the box is empty, a request for a column with the name you gave, showing what you described.
The Matches a query… dialog, under the query Ask Rovo The JQL or tree query typed, to write or fix. When the box is empty, a request for a query that finds what you described.
The rule form of Add work items from JQL and Keep work items matching JQL, under the JQL box Ask Rovo The rule's query, to write or fix, or a request for a query that finds what you described.
The tree query help, opened with ? beside a tree query box Ask Rovo The tree query typed, to write or fix, or a request for one that finds what you described.
The top of the Rules panel, for people with Automate Build with Rovo A request to build this hierarchy's rules so that it holds what you described.
The toolbar's More menu Summarize with Rovo A summary of the hierarchy, or of the part under the focused work item.

The buttons appear only when Rovo is turned on for your site. The page checks once when it opens, and shows no buttons when it can't tell. On a site without Rovo, nothing else in the app changes. If the chat can't open, a message says so: try again, or open Rovo from Jira's top bar.

Access and what it saves

The agent works with your own Jira rights. It goes through App access and the same access levels as the app's pages, so it finds only the hierarchies you can open and sees only the work items and fields Jira lets you see. The outline leaves out a work item you can't browse, with no key, no summary and no blank row in its place. In a hierarchy without rules, the work items under it move up a level. In a hierarchy with rules, they go with it, as they do in the grid. Rows that another hierarchy brought are left out too when you can't open that hierarchy, even if it lies further down a chain of Add another hierarchy rules. Adding rules needs Automate on the hierarchy, within what Automation permissions allow.

The agent saves only two things, each after you confirm in the chat: the rules it adds, and formula columns in your own library. It can't run a write-back, change a work item, or widen anyone's access. The chat itself is kept by Rovo, on Atlassian's side. Rovo runs on Atlassian's platform, so using the agent sends nothing outside Atlassian.

Work item summaries, folder names, and the formulas and queries you paste are text people wrote. The agent treats that text as information only, and never follows instructions found inside it.

To suggest rules, the agent reads the projects, boards and link types you can see. It offers only the fields Jira can show as a column of its work item search, so it leaves out fields such as comments.

Requests per minute

Each person can have the agent do 20 things a minute. Suggesting rules, adding rules, summarizing, looking up the formula functions, checking a formula, checking a query and saving a formula column each count as one, and a single reply in the chat can use several. Past 20 in the same minute, the agent doesn't do the next one. It tells you how long to wait, which is the time left in that minute. The app's message reads: "TreeCraft is limiting requests for a moment. Try again in about 40 seconds." The agent passes it on in the language you write in. The count starts again every minute, and it is for each person: someone else's chat doesn't use up yours.

The count is kept apart from calls made with the REST API. A script doesn't use up your chat's 20, and your chat doesn't use up your script's calls. The REST API's switch in the app's settings doesn't turn the agent off: it keeps working while the REST API is off.

Jira's mobile apps

The app's pages are web pages inside Jira. Atlassian decides which of them its mobile apps show, so some may not open there. On a phone or tablet, use Jira in the browser.

Questions about the app? Ask us in Plugincraft Support, our help center, or write to info@plugincraft.ca.