Comment Supplier

Overview

Supplies information about comments attached to Pages or News Items in Confluence.

Key names are case-sensitive. You must supply a key of id rather than ID.

You can also use any key from the Content Supplier using the comment: prefix.

For example, you can use comment:id, instead of content:id, even though id is not listed explicitly below.

Details

Name:

Comment Supplier

Prefix:

comment(optional)

Supported Content:

Comments

Provided By:

Reporting for Confluence from 3.0.0+

Supported Keys

The following are the list of keys which this supplier will return a value for.

Key

Content Types

Return Type

Description

Key

Content Types

Return Type

Description

replies
-- 
children

Comments

List of Comments

The list of all comments replying directly to the current comment.

reply count

Comments

Number

The number of replies to the current comment.

repliers

Comments

List of Users

The list of all users who replied to the current comment, directly or indirectly.

depth

Comments

Number

The depth of the current comment from the top level.

parent
-- 
replying to

Comments

Comment

The comment this comment is replying to.

page

Comments

Page

The page this comment is attached to.

space

Comments

Space

The space this comment is in.

inline-selection

Comments

String

Retrieves the highlighted text of the inline comment.

inline-status

Comments

String

Retrieves the inline comment's status

  • Open

  • Resolved

  • Dangling - the highlighted text of resolved inline comment is removed from the page

comment-type

Comments

String

Retrieves the type of comment:

  • Page Comment

  • Page Comment Reply

  • Inline Comment

  • Inline Comment Reply

Inherited Keys

The following keys are inherited from other suppliers, but work using the same prefix - comment: - as this supplier.

From Content Supplier

Key

Content Types

Return Type

Description

Key

Content Types

Return Type

Description

id

All

Number

The unique identifier for the content.

title

All

Text

The title of the content.

type

All

Text

The name of the content type. e.g.: "Page" or "News".

url

All

Text

The server-relative URL to view the content.

creator

All

User

The user who created the content.

creation date

All

Date

The date the content was created.

modifier

All

User

The user who most recently modified the content.

modification date

All

Date

The date the content was most recently modified.

icon

All

Text

The server-relative URL of the icon for this content type.

space

All

Space

The space the content exists in.

If the content is itself a space, the space is returned.

excerpt

Pages, news items, space descriptions

Text

The excerpt for the content.

Inheritance is not valid with Attachment Supplier.

body

Pages, news items, space descriptions, comments

Body

The main body text of the content. 

labels

Pages, news items, space descriptions

List of Labels

A list of the labels attached to this content.

attachments

Pages, news items

List of Attachments

A list of the attachments on the supplied content.

incoming links

Pages, news items

List of Links

A list of links to content which links to the supplied content.

outgoing links

Pages, news items

List of Links

A list of links to content which the supplied content links to.

summary

Content

Text

Either the excerpt (as above), if it exists, or a short summary of the page content if it does not. FROM 1.3+

equals [X]

Content

Boolean

Tests if the current context is equal to that specified by X, where X is a standard link to Confluence content.

Examples

  • equals My Page - compares to 'My Page' in the current space

  • equals @self - compares to the current context

  • equals @parent - compares to the parent page of the current context

  • equals ^attachment.ext - compares to the file attached to the current page

  • content:equals KEY:Page - compares to a page in another space

version

Content

Number

The version number for the content.

version comment

Content

Text

The comment about the version, as set by the editor. Fom 2.1.0+

version history

Content

List of Content

The list of historical versions for the current content object. Fom 2.1.0+

is latest version

Content

Boolean

Checks if the content is the latest version.

latest version

Content

Content

Returns the latest version of the content.

images

Pages, News Items

List of Attachments

The list of attachments which are image files. Fom 3.2.0+

Examples