Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The Mermaid code can by queried via JQL by using the property “mermaidCode”. The following query finds all tickets where a diagram is defined:

...

To search issues with a Mermaid diagram containing a keywords use the ~ operator as follows:

Code Block
mermaidCode ~ YourKeywordHere

The property “mermaidCount” can be used to query for issues that contain or do not contain any Mermaid diagram. To find issues with a Mermaid diagram use

Code Block
mermaidCount IS NOT EMPTY

It’s also possible and to find keywords in the Mermaid code by using the ~ operator as followsissues that do not have any Mermaid diagram use

Code Block
mermaidCount IS EMPTY

The property “mermaidCount” can be also used to query for issues by the number of Mermaid diagrams as follows (the example finds issues with two or more diagrams):

Code Block
mermaidCodemermaidCount ~>= YourKeywordHere2