Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Installation

As any app for Jira Cloud, you can install the app via the Jira admin menu.

  1. Log into your Jira instance as an admin.

  2. Click on “Apps > Manage apps” in the header menu.

  3. Click on “Find new apps” on the right navigation.

  4. Search for “Mermaid Charts & Diagrams for Jira” and select it.

  5. Click on “Try it free” to install the app.

Usage

Prism Syntax Highlighter for Jira provides an app that allows you to add highlighted source code to any Jira issue. To use add the source code to an issue, select the app as shown in the screenshot below.

image-20241218-114540.png

This should add a new section to the issue looking as follows:

image-20241218-114619.png

To define the diagram code, click the “Edit” button and enter the source code in the editor and click “Save”:

image-20241218-114844.png

After saving the source code, it is shown as follows:

image-20241218-114955.png

JQL support

The source code can by queried via JQL by using the property “prismCode”. To search issues with a source code containing a keywords use the ~ operator as follows:

prismCode ~ YourKeywordHere

The property “prismCount” can be used to query for issues that contain or do not contain any source code. To find issues with a source code use

mermaidCount IS NOT EMPTY

and to find issues that do not have any source code use

mermaidCount IS EMPTY
  • No labels