Adding a label before first publish on a new Confluence page prevents the page creation product event from being emitted.

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Low
    • Component/s: Ecosystem
    • Severity 3 - Minor

      Issue Summary

      Page creation product events (avi:confluence:created:page) are not emitted to Forge triggers when a Confluence page is first created and published with a label already added on the draft (label added before the initial publish).

      Steps to Reproduce

      1. Create a Forge app with Confluence triggers in manifest.yml
      2. Implement the handlers in the backend (e.g. src/index.js)
      3. Deploy and install the app, then start tunneling
      4. In Confluence, create and publish a page without labels → observe PAGE EVENT logged as expected.
      5. In Confluence, create a new page:
        • Before publishing, add a label to the draft page.
        • Then publish the page.
      6. Observe the Forge tunnel output.

      Expected Results

      When a new page is created and published, avi:confluence:created:page should always fire, regardless of whether labels were added before or after the initial publish. In the repro:

      • pageEventHandler should be invoked and log PAGE EVENT.
      • labelEventHandler should be invoked and log LABEL EVENT (for the label addition).

      Actual Results

      When a label is added to the draft before the first publish:

      • labelEventHandler is invoked and logs LABEL EVENT (avi:confluence:added:label).
      • pageEventHandler is not invoked; no PAGE EVENT is logged for avi:confluence:created:page.
        The page‑creation product event is effectively missing in this specific flow.

      Workaround

      Currently there is no known workaround for this behavior. A workaround will be added here when available

              Assignee:
              Roman Toropov
              Reporter:
              Sumit Uniyal
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: