Versions Compared

Key

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

This tutorial describes in detail how you can use the Jira issue collector with an HTML macro. This allows you to create Jira issues from your Confluence pages directly.

...

  1. Go to the relevant Jira project and select Project settings from the left sidebar.

  2. Use Jira issue collector to create the required script.

    1. Click Add issue collector.

    2. Enter the Name, Issue type and Reporter for the collector. For this article, let’s create a feedback collector and create a bug for every feedback. So, select Bug as Issue type.

    3. In the Trigger section, enter the Trigger text and the Trigger style for the collector. For our scenario, let’s keep the default options for both fields.

    4. In the Issue collector section, specify the Template you require. For our scenario, let’s use the default options.

      Image RemovedImage Added
    5. Click Submit.

    6. Copy the script generated in the Embed in HTML tab.

      Image RemovedImage Added
  3. Navigate to and open the relevant Confluence page. Add an HTML macro and edit the macro.

  4. Select HTML embed code under Data source. Paste the generated script in the macro editor body.

    Image Removed

    in the Embed code section.

  5. Enter the required value in the Layout > Height of iframe (in px) parameter.

    Image Added

    Make sure to specify the Height of rendered content parameter in the editor.

  6. Save the changes and publish the page.

...

  1. Once the page is published, a Provide feedback button is shown.

  2. Click the button to open the feedback form as specified in the issue collector.

  3. Provide the required details and click Submit.

    Image RemovedImage Added

As specified in the issue collector, a bug is created under the relevant Jira project.

...