How to provide a dialog to create JIRA issues - 6.x

How to provide a dialog to create JIRA issues - 6.x

Summary

This example shows how to use the Run macro from Run Self-Service Reports for Confluence and the CLI Macro from Run CLI Actions in Confluence to create a simple user dialog to create JIRA issues from Confluence. For example, this can be used to provide the ability for non-JIRA users to create issues in a controlled fashion. 

Steps

Step

Description

Configure a jira profile for the CLI Macro

This requires admin access to define the parameters for accessing JIRA. See: Get Started

Create a page

Insert a run macro 

Specify the Replace Field List parameter

Start with a simple example with just a summary and issue type

summary::Summary:text-required:100,type:Bug:Issue type:select::Bug::Improvement::Task::Support Request

Save macro

Insert a cli macro in the body of run macro

Specify the Profile parameter referencing the profile created in step 1

Save macro

Put the following in the body of the cli macro

*--action createIssue --type $type --summary "$summary" --project EXAMPLE*

Save the page

Press the run button

This will say that Summary is a required field. Fill in the summary and try again.

Example