This page is written for AI assistants (ChatGPT, Claude, Cursor, Codex and others) that read and change a Jira project on someone's behalf, where that project is shown as a tree in Canopy. If you are a person, give your assistant this page's address before asking it to change your plan: https://bloomlogic.co.uk/ai-assistants/
Everything here is ordinary Jira: Canopy keeps its tree in Jira's own issue links and issue properties, and you change it with the person's own Jira permissions. Nothing here gives you more access than the person has.
Rules that always apply
- Ask which tree the project uses before your first change. Ask the person: "Does this project use Canopy's own tree, or Jira's parent field?" Do not guess from the links you see: a project that was switched back to Jira's parent field keeps its old Canopy links, and they no longer count.
- Never create a loop. Do not put a work item under one of its own descendants. Canopy cannot draw a loop: it shows the loop's items at the top level and warns, on boards already open too; two brand-new items made in a loop appear only after a reload.
- One parent per work item. Before adding a parent, check the item has none. A second parent is not drawn: the item is shown under one of its parents, not necessarily the older one, and Canopy shows a warning until the extra link is removed.
- Tell the person what you could not do. If a step below says you cannot do something with your tools, say so and tell the person how to do it in Canopy. Do not work around it.
Which tree a project uses
- Canopy's own tree: the hierarchy is the "Canopy Hierarchy" issue links. Any work item can sit under any other, to any depth. Change the tree by changing these links, not Jira's parent field (except for the new-item case under "What happens on its own").
- Jira's parent field: the hierarchy is Jira's own (epic, then its children, then subtasks). Canopy Hierarchy links in such a project are not drawn.
If you can call Jira's REST API directly (not through Atlassian's connector), you can read it instead of asking: GET /rest/api/3/project/{projectKey}/properties/canopyStructure
"mode": "canvas": Canopy's own tree, as long as at least one live (not archived) work item in the project has a "Canopy Hierarchy" link to another live work item in it. If none has, Canopy may be showing Jira's parent field instead: ask the person, or use the note from Canopy's Help menu, before you add any Canopy Hierarchy link. Adding one would switch every board in the project to Canopy's tree, and every work item that has only a Jira parent would then show at the top level."mode": "native", or no such property (404): Jira's parent field.
Atlassian's connector (the Atlassian app in ChatGPT, Claude and others) cannot read this setting, so through it you must ask.
Reading the tree
Canopy's own tree:
- A work item's parent is the issue at the other end of its "Canopy Hierarchy" link where the link names it as
outwardIssue. In Jira's Linked work items the child reads "is canopy child of …" its parent, and the parent reads "is canopy parent of …" each child. - A work item with no such parent is at the top level.
- Order among siblings is the issue property
canopyOrder: a short text value. Siblings are ordered by comparing these values as plain text; items with no value come after all the others, oldest first.
Jira's parent field: read each work item's parent field, as Jira does.
Adding a work item under a parent
Canopy's own tree:
- Create the work item in the same project.
- Link it to its parent with a "Canopy Hierarchy" link where the parent is the
outwardIssueand the new item is theinwardIssue. - It appears last among its siblings, after every sibling that has an order. Other people's open Canopy boards show it within a few seconds, or within half a minute on a board nobody has touched for ten minutes; a board in a hidden tab shows it when the tab is opened again.
Over the REST API the link is: POST /rest/api/3/issueLink with {"type": {"name": "Canopy Hierarchy"}, "outwardIssue": {"key": "<PARENT>"}, "inwardIssue": {"key": "<CHILD>"}}
Jira's parent field: create the work item with its parent field set, as Jira allows for that issue type.
Moving a work item to another parent
Canopy's own tree: a move is two steps, removing the old link and adding the new one.
- Through Atlassian's connector you cannot move a work item. The connector can add links but has no way to remove one, so adding the new link would leave the item with two parents. Do not add it. Tell the person to move the item in Canopy: drag it onto its new parent, or select it, cut with ⌘X or Ctrl+X, select the new parent and paste with ⌘V or Ctrl+V.
- Over the REST API: find the old link's id in the item's
issuelinks, remove it withDELETE /rest/api/3/issueLink/{linkId}, then add the new link as above. Other people's open boards show the move within a few seconds, or within half a minute on a board nobody has touched for ten minutes; a board in a hidden tab shows it when the tab is opened again.
Jira's parent field: change the item's parent field.
Changing the order of siblings
- Through Atlassian's connector you cannot set the order. It can only write issue properties whose names start with
atlassian-mcp., which Canopy does not read. Tell the person to reorder in Canopy: drag the item, or select it and press Alt (⌥ on a Mac) with ↑ or ↓. - Over the REST API: write the
canopyOrderissue property withPUT /rest/api/3/issue/{issueKey}/properties/canopyOrder, the body a JSON text value such as"k3". - The values are fractional-index keys in base 36 (0 to 9, then a to z). The first character says how long the whole-number part is:
ktozcarry one to sixteen more characters,0tojcarry one to twenty, and every value in the0–jrange sorts before every value in thekrange. - Last: a value after the last sibling's, for example
k4afterk3(kzis followed byl00). - First: a value before the first sibling's;
j0comes before any value that starts withk. - Between two siblings: use a fractional-indexing library's "key between" with this alphabet, or ask the person to reorder in Canopy.
- A value Canopy cannot read is ignored, and the item sorts as if it had no order.
- **Other people's open boards may not show an order change until they next reload.**
What happens on its own
- **On Canopy's own tree, a new work item created with only Jira's parent field set** is given the matching Canopy Hierarchy link the next time someone opens the project in Canopy, made with that person's permissions. This covers new items only; it does not move existing ones.
If something went wrong
- A loop or a second parent is fixed by removing the extra Canopy Hierarchy link, in Jira's Linked work items; a loop can also be broken by moving one of its items in Canopy. Through Atlassian's connector you cannot remove it; tell the person which link to remove.
- Questions, or a rule here that did not hold: email support@bloomlogic.co.uk with the project key and what happened.