Versions Compared

Key

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

This page explains in detail how to create a Graphviz diagram in a Jira issue using an attachment that contains the required DOT code to generate the diagram. This scenario is helpful in cases where you have your DOT code in a text file and you want to use this file to generate a diagram in a Jira issue.

Steps

In the Jira new issue view:

  1. Click Attach from the menu options to attach the intended file with DOT code as a text file attachment to the issue.
  2. Click Graphviz from the menu options to see the Graphviz for Jira section.
  3. Click Graphviz from the menu options again or Add a Graphviz diagram in the Graphviz for Jira section to navigate to the Graphviz Diagrams for Jira window.
    Image Modified
  4. Enter the following in the Graphviz Diagrams for Jira window:
    Image RemovedImage Added
    • Create diagram from: Select Import an existing diagram from an attachment.
    • Graphviz source attachment: Notice that the DOT code issue attachment is displayed in the dropdown options. Select the attachment to add the respective DOT code as an input to the diagram.

      Info

      If more DOT files are added All the files attached to the issue , all of them are displayed as options to select from in this select list.


    • Layout: dot.
    • Graphviz output attachment name: Nil.
    • Layout: dot
    • Content: This entry is disabled once you select an attachment to generate the diagram from.
  5. Click Save to save the input details. The following output is displayed from the selected attachment:
Info

The steps mentioned here are for the new Jira issue view. If you are using the old Jira issue view, replace step 2 and 3 with the following:

Click Add a Graphviz diagram in the Graphviz for Jira section to navigate to the Graphviz Diagrams for Jira window for further edits