After installing AutoPage on your cloud instance, you will be able to reach the configuration via the app dropdown in the top navigation and then selecting the AutoPage app settings.
For creating a new rule, just hit the Create rule button to bring up the creation dialog.
An AutoPage rule consists of four essential blocks, that have to be configured. In the following steps, we will guide you through every single step.
Create trigger
The follwing events can be used as triggers:
- ISSUE CREATED
- ISSUE UPDATED
- ISSUE ASSIGNED
- ISSUE MENTIONED
- ISSUE COMMENTED
It is possible to use only one event, all events or any combination.
Create condition
The condition is a filter to specify, which issues should trigger the rule. The condition uses JQL to filter issues, based on certain criteria.
If you are unfamiliar with JQL, you might want to take a look at the offical Atlassian documentation.
A simple JQL example would be something like this:
project = DEV AND issueType = Bug
This would limit the rule to only Bugs from the DEV project.
Create action
The third part during the rule setup is the create action.
In this step, we are going to define the title, the source template and the destination of the created page.
The title can be just plain text, but can also be made dynamically with Smart Values. The format used is ${key} (this would evaluate to the issue key).
A complete list of supported smart values can be found here.
The bottom part defines the confluence settings. On the left hand side, the space containing the template and the template page need to be selected.
On the right hand side, the destination can be configured. The first dropdown defines the space, where the new page should be created and the second dropdown defines the parent page in the space tree.
Rule details
Last but not least you need to enter some rule details.
A name is requierd and a short description is recommended, to better help your team mates identify the rule.
Optionally, you can active/deactivate the rule.
After that, just hit save and you are ready to go.