Versions Compared

Key

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

At times, there might be errors in the DOT language you use while creating Graphviz diagrams in Jira issue(s). This page explains the means to view these errors to see what went wrong and possibly fix them.

...

In the intended Jira issue:

  1. Click Graphviz from the menu options to navigate to the Graphviz Diagrams for Jira window:
    Image Modified
  2. Enter the following in the Graphviz Diagrams for Jira window:
    • Graphviz source attachment: None (because this example uses DOT language as input).
    • Graphviz output attachment name: Nil.
    • Layout: dot
    • Content:

      Code Block
      graph {
          a -- b;
          b -- c;
          a -- c;
          d - c;
          e -- c;
          e -- a;
      }


  3. Click Preview to preview the output diagram before saving the changes. The error is displayed below the Preview button as the following:

    Or when you click Save without previewing the output, the error is displayed in the Graphviz for Jira section of the issue as the following:
    Image Modified
    This error message points to the exact line where and how the wrong DOT code is used with an indication towards what went wrong. This helps you with what can be done to fix the error.