Table of Contents |
---|
Installation
As any app for Jira Cloud, you can install the app via the Jira admin menu.
Log into your Jira instance as an admin.
Click on “Apps > Manage apps” in the header menu.
Click on “Find new apps” on the right navigation.
Search for “Mermaid Charts & Diagrams for Jira” and select it.
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.
...
This should add a new section to the issue looking as follows:
...
To define the diagram code, click the “Edit” button and enter the source code in the editor and click “Save”:
...
After saving the source code, it is shown as follows:
...
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:
Code Block |
---|
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
Code Block |
---|
mermaidCount IS NOT EMPTY |
and to find issues that do not have any source code use
Code Block |
---|
mermaidCount IS EMPTY |