Uploaded image for project: 'Confluence Cloud'
  1. Confluence Cloud
  2. CONFCLOUD-78352

Confluence graphQL API Ancestors type returned incorrectly

    XMLWordPrintable

Details

    Description

      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

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              71f1dad54ffe Wagner M.
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: