Link a box to a page or work item
In a flowchart, a box can open a Confluence page or a Jira work item. A Jira work item is what Jira used to call an issue.
- Open the Confluence page or Jira work item in your browser. Copy the address from the address bar.
-
In Diagram source, add a line with
click, the box's name, and the address in double quotes:flowchart LR brief[Project brief] --> design[Design] --> build[Build] click brief "https://your-site.atlassian.net/wiki/spaces/PROJ/pages/123456" click build "https://your-site.atlassian.net/browse/PROJ-42" -
Optional: add hover text in a second pair of quotes after the
address, such as
"Open the build work item". On a short diagram, the hover text can be cut off at the bottom edge. - Select Save, then Update to publish the page.
Readers select the box, and the link opens in a new tab. Keyboard users reach a linked box with Tab and open it with Enter.
Always paste the full address, starting with
https://. A short address such as
/wiki/spaces/… does not open your page. Confluence
warns that it leads to an external page instead.
The editor's Syntax reference shows a short address in one example. Use the full address there too.
Only http and https links work. The app
ignores any other kind of link, so a diagram can't run code on your
page.