Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 7 Current »

To add Create a Confluence Page from template you will need the following:

Requirements

  1. Confluence Template Created - if not created, follow this guide

  2. Page location scheme - optional

  3. Confluence Page Customfield - optional

To Create a postfunction follow this guide

How to add a post function

and then Choose Create Confluence Page from Template

Filling the form

1. Choose a template

Click on Confluence Template

A list of all confluence templates will pop up

Choose a template to be used in this action

2. Choose a Page Location

Choose a page location scheme:

The newly page can be created under one of the following options

1. Single Space

This option will set the workflow action to create the page under a static page always, the form will prompt you for the desired space and page, as shown below

You may leave the Parent Page field empty which would create the page under the Space homepage

2. Under Page (Using Confluence Page customfield)

This option will set the workflow action to create the new page as a descendant of page stored under Confluence Page Custom Field . the form will prompt you for the desired customfield

The creation action will fail if the customfield had no value

3. Under Page (Using page id stored in customfield)

This option will set the workflow action to create the new page as a descendant of page id stored under a text customfield which contains the designated page id, the form will prompt you for the cusotmfield that has the page id value

The creation action will fail if the customfield had no value

4. Project Space Scheme

This option will set the workflow action to create the new page based on the chosen Project Space Scheme. It would map the issue’s project running on the workflow and the space and page location. The form will prompt you for the desired Project Space Scheme

5. Customfield Space Scheme

This option will set the workflow action to create the new page based on the chosen Customfield Space Scheme . It would map the issue’s value of the cusotmfield running on the workflow and the space and page location. The form will prompt you for the desired Customfield Space Scheme

3. Page Title

These sets of fields will allow you to create a dynamic title for your Confluence Pages that meets all your requirements to have a consisted page names.

You may add add variables to your page title by choosing the Add Variable which would present all system and customfields

Once you chosen the variable it would be injected to the Title above, let’s say we choose Key.

This is powered by Apache Velocity Templates, so you may use if statements and many more customization as you can find documentation on Apache Velocity Template in here

and then we add static text to our title

You may test your title after you finish setting it up by choosing an issue from the list

When this workflow action run on issue (JIRA-1) it would generate a title like indicated above.

4. Filling your Template

5. Run as User

Leaving this field empty would run this action as the current user (Logged in User), and you may specify to run the action as Global Confluence Admin or as user from user picker search

6. Save some attributes after page creation

  • No labels