Versions Compared

Key

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

...

This example shows how to use the Run macro from RUN and the CLI Macro from CCLI 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

Table plus
autoNumbertrue
StepDescription
Configure a jira profile for the CLI MacroThis 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 buttonThis will say that Summary is a required field. Fill in the summary and try again.

Example