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 TemplateA 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
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
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
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.
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
4. Filling your Template
You may fill placeholders and variables from your Confluence Template with one of the supported macros
Supported Macro Types:
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
After running the action you may save some attributes of the newly created page in the issue’s customfields