Confluence graphQL API Ancestors type returned incorrectly

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Medium
    • Component/s: Whiteboard
    • None
    • Severity 2 - Major

      Issue Summary

      When calling query confluence/page/ancestors GraphQL API the returned values are incorrectly returned.
      Whiteboard’s __typename returned as it was a Confluence page, and also in the id it shows as it was a page.

      This is reproducible on Data Center: (yes) / (no)

      Steps to Reproduce

      1. Create a Whiteboard and a daughter page
      2. Query GraphQL API as follows:
        query test {
          confluence {
            page(
              id: "ari:cloud:confluence:<cloudId>:page/1703215105"
            ) {
              ancestors {
                id
                __typename
                title
              }
            }
          }
        }
        

      Expected Results

      • __typename should be returned as "Whiteboard"

      Actual Results

      • __typename is returned as "ConfluencePage"

      Workaround

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

              Assignee:
              Unassigned
              Reporter:
              Wagner M.
              Votes:
              2 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated: