Developer
Get Support
Sign in
Get Support
Sign in
DOCUMENTATION
Cloud
Data Center
Resources
Sign in
Sign in
DOCUMENTATION
Cloud
Data Center
Resources
Sign in
Last updated Nov 11, 2025

Confluence page has comment

The ConfluencePageHasComment relationship represents the link between a Confluence page and a Confluence comment within the Teamwork Graph. It allows you to:

  • Retrieve comments for a specific Confluence page
  • Find which Confluence page a comment belongs to
  • Traverse and analyze page-comment relationships

Category

CategoryCanonical

Types

From Object TypesTo Object Types
Confluence Page - ati:cloud:confluence:pageConfluence Comment - ati:cloud:confluence:comment

Cypher

Forward Query

GraphQL
1
2
query ConfluencePageHasComment_CypherQuery($cypherQuery: String!, $params: CypherRequestParams) {
  cypherQuery(query: $cypherQuery, params: $params) {
    edges {
      node {
        columns {
          value {
            ... on CypherQueryResultNode {
              id
              data {
                __typename
                ... on ConfluenceInlineComment {
                  id
                }
                ... on ConfluenceFooterComment {
                  id
                }
              }
            }
          }
        }
      }
    }
  }
}
Params

Note

We recommend sending parameterized Cypher queries as below instead of embedding the parameters directly in the query string. This approach will help ensure better performance.

1
2
{
  "cypherQuery": "MATCH (page:ConfluencePage {ari: $id})-[:confluence_page_has_comment]->(comment:ConfluenceComment) RETURN comment",
  "params": {
    "id": "$id"
  }
}

Inverse Query

GraphQL
1
2
query ConfluencePageHasComment_CypherQuery($cypherQuery: String!, $params: CypherRequestParams) {
  cypherQuery(query: $cypherQuery, params: $params) {
    edges {
      node {
        columns {
          value {
            ... on CypherQueryResultNode {
              id
              data {
                __typename
                ... on ConfluencePage {
                  id
                }
              }
            }
          }
        }
      }
    }
  }
}
Params

Note

We recommend sending parameterized Cypher queries as below instead of embedding the parameters directly in the query string. This approach will help ensure better performance.

1
2
{
  "cypherQuery": "MATCH (page:ConfluencePage)-[:confluence_page_has_comment]->(comment:ConfluenceComment {ari: $id}) RETURN page",
  "params": {
    "id": "$id"
  }
}

Rate this page: