Create a Confluence Space

The goal with this is to create a confluence page from a ticket. This could be as part of an onboarding or support scenario.


  1. Create a new Action, name it Create Confluence Space
  2. Choose Default Template category and application/json as template to get a starting point.
  3. Set Method to POST
  4. Add the URL to Confluence  
  5. Select the user that shall be used for the authentication. 
    1. If there is no user available go to Credentials and create a basic auth user 
  6. In the body section add. We will use the summary as name and the custom field 14522 as key.

    {
        "name":"{{issue.summary}}",
        "key":"{{issue.customfield_14522}}"
    }

     The result will be a new Confluence Space created

Comment ticket with the URL to the Space

  1. Create a new Action
  2. Set parent to be the action created above (Create Confluence Space)
  3. Select the Jira Core category 
  4. Select the Add Comment template
  5. Click create
  6. Check the "Auto-generate 1st level as variables from parent response"
  7. In the authentication section, use Parent if the user has access to comment or select another user.
  8. In the body section add 

    {"body":"https://my.confluence url{{_links.webui}}"}