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 blogpost has comment

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

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

Category

CategoryCanonical

Types

From Object TypesTo Object Types
Confluence Blogpost - ati:cloud:confluence:blogpostConfluence Comment - ati:cloud:confluence:comment

Cypher

Forward Query

GraphQL
1
2
query ConfluenceBlogpostHasComment_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 (blogpost:ConfluenceBlogpost {ari: $id})-[:confluence_blogpost_has_comment]->(comment:ConfluenceComment) RETURN comment",
  "params": {
    "id": "$id"
  }
}

Inverse Query

GraphQL
1
2
query ConfluenceBlogpostHasComment_CypherQuery($cypherQuery: String!, $params: CypherRequestParams) {
  cypherQuery(query: $cypherQuery, params: $params) {
    edges {
      node {
        columns {
          value {
            ... on CypherQueryResultNode {
              id
              data {
                __typename
                ... on ConfluenceBlogPost {
                  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 (blogpost:ConfluenceBlogpost)-[:confluence_blogpost_has_comment]->(comment:ConfluenceComment {ari: $id}) RETURN blogpost",
  "params": {
    "id": "$id"
  }
}

Rate this page: