Page Lifecycle
AutoPage - Page Lifecycle
Section titled “AutoPage - Page Lifecycle”This page explains what happens when an AutoPage rule is triggered — from initial page creation through subsequent updates and edge case handling.
Page Creation
Section titled “Page Creation”When a rule fires for an issue that does not yet have a linked Confluence page (for that rule), AutoPage performs the following steps:
- The issue is loaded and validated against the rule’s conditions.
- A new Confluence page is created by copying the configured template page.
- The page title is set using the configured title template (with placeholder substitution).
- Labels and copy options (attachments, permissions, labels, custom contents) are applied as configured.
- A link between the Jira issue and the new Confluence page is established.
- An audit log entry with status PAGE CREATED is recorded.
Page Update
Section titled “Page Update”When a rule fires for an issue that already has a linked Confluence page (from the same rule), AutoPage updates the existing page instead of creating a new one:
- The existing link is found by the rule ID.
- The linked Confluence page is retrieved.
- The page title is updated (if the title template uses placeholders that have changed).
- Page labels are updated to match the current rule configuration.
- An audit log entry with status PAGE UPDATED is recorded.
Orphaned Pages
Section titled “Orphaned Pages”A Confluence page can become “orphaned” if its parent page is deleted or if the page tree structure changes. AutoPage detects orphaned pages (pages without a parent) and automatically reparents them to the configured destination parent page during the next update cycle.
Concurrent Execution Control
Section titled “Concurrent Execution Control”When multiple events fire simultaneously for the same Jira issue (e.g., an issue is updated by multiple users at the same time), AutoPage uses a locking mechanism to prevent concurrent execution:
- A lock is acquired per issue before rule execution begins.
- If a lock is already held, AutoPage waits up to 30 seconds for the lock to be released.
- If the timeout is reached, the lock is forcefully released and execution proceeds.
Retry Behavior
Section titled “Retry Behavior”If a rule execution fails due to a transient error (network issues, service unavailability, timeouts), the Forge platform automatically retries the execution:
- Maximum retries: 4 attempts
- Retry delay: 10 seconds between attempts
- After all retry attempts are exhausted, the error is logged in the audit log and the execution is abandoned.
For more details on monitoring rule executions and errors, see the Audit Log documentation.