Atlassian Confluence Cloud
Atlassian Confluence Cloud Pack.#
This Integration is part of theSupported versions
Supported Cortex XSOAR versions: 6.2.0 and later.
Atlassian Confluence Cloud allows users to interact with confluence entities like content, space, users and groups. Users can also manage the space permissions. This integration was integrated and tested with version 1000.0.0-847bdcbfcd00 of Atlassian Confluence Cloud.
#
Configure Atlassian Confluence Cloud in CortexParameter | Description | Required |
---|---|---|
Site Name (e.g., https://${site-name}.atlassian.net) | Site name of the Confluence cloud the user wants to connect to. | True |
The Atlassian account email. | True | |
API Token | True | |
Use system proxy settings | False | |
Trust any certificate (not secure) | False | |
Events Fetch Interval | False | |
Max number of events per fetch | False | |
Fetch Events | False |
#
CommandsYou can execute these commands from the CLI, as part of an automation, or in a playbook. After you successfully execute a command, a DBot message appears in the War Room with the command details.
#
confluence-cloud-space-createCreates a new space.
Note: If no permissions are specified, the default space permissions defined by the Confluence cloud account admin will be used.
#
Create Space with permissions- The command arguments 'permission_account_id', 'permission_group_name', and 'permission_operations' can be used to limit access of the space to one individual or one group.
For Example: !confluence-cloud-space-create unique_key=”Demo” name=”DemoSpace” permission_account_id=”123af245667” permission_group_name=”administrators” permission_operations=”read:space,write:page” - To limit access of the space to a specific number of people or groups, 'advanced_permissions' should contain a valid JSON.
A valid JSON schema can be found here.
#
Base Commandconfluence-cloud-space-create
#
InputArgument Name | Description | Required |
---|---|---|
unique_key | The key for the new space. It can contain any alphanumeric character (a-z, 0-9). The maximum length is 255 characters. Note: unique_key cannot change after the space is created. | Required |
name | The name of the new space. The maximum length is 200 characters. | Required |
description | The description of the new space. | Optional |
is_private_space | Whether the user wants to create a private space. Note: If this option is set to true, permission cannot be applied. Default is false. | Optional |
permission_account_id | The account ID of the user to whom permission should be granted. Note: To retrieve the account ID, execute the confluence-cloud-user-list command. | Optional |
permission_group_name | The group name to whom permission should be granted. Note: To retrieve the group name, execute the confluence-cloud-group-list command. | Optional |
permission_operations | A comma-separated list of the permissions that should be applied. Note: Requires either permission_account_id or permission_group_name. Format accepted: operation1:targetType1, operation2:targetType2 For example: read:space, create:page Possible values for operations: create, read, delete, export, administer. Possible values for targetType: space, page, blogpost, comment, attachment. | Optional |
advanced_permissions | Specify 'advanced_permissions' to grant access to multiple users or groups. 'advanced_permissions' has priority over 'permission_operations'. Note: Add backslash(\) before quotes. For example: [ { \"subjects\": { \"user\": { \"results\": [ { \"accountId\": \"5ff2e30b4d2179006ea18449\" } ] }, \"group\": { \"results\": [ { \"name\": \"administrators\" } ] } }, \"operation\": { \"operation\": \"read\", \"targetType\": \"space\" }, \"anonymousAccess\": false, \"unlicensedAccess\": false } ] To prepare a valid JSON for advanced_permissions, navigate to https://developer.atlassian.com/cloud/confluence/rest/api-group-space/#api-wiki-rest-api-space-post and see the permission parameter in it. | Optional |
#
Context OutputPath | Type | Description |
---|---|---|
ConfluenceCloud.Space.id | Number | ID of the space. |
ConfluenceCloud.Space.key | String | Key of the space. |
ConfluenceCloud.Space.name | String | Name of the space. |
ConfluenceCloud.Space.description.view.value | String | The description of the space in view format. |
ConfluenceCloud.Space.description.view.representation | String | Representation format of the description in view format. |
ConfluenceCloud.Space.description.plain.value | String | The description of the space in plain format. |
ConfluenceCloud.Space.description.plain.representation | String | Representation format of the description in plain format. |
ConfluenceCloud.Space.homepage.id | String | ID of the homepage of the space. |
ConfluenceCloud.Space.homepage.type | String | Type of the homepage of the space. |
ConfluenceCloud.Space.homepage.status | String | Status of the homepage of the space. |
ConfluenceCloud.Space.homepage.title | String | Title of the homepage of the space. |
ConfluenceCloud.Space.homepage.extensions.position | Number | The content extension position. |
ConfluenceCloud.Space.homepage._links.self | String | Link to the homepage of the space. |
ConfluenceCloud.Space.homepage._links.tinyui | String | Tiny link to the homepage of the space. |
ConfluenceCloud.Space.homepage._links.editui | String | Edit the user interface link to the homepage of the space. |
ConfluenceCloud.Space.homepage._links.webui | String | Web user interface link to the homepage of the space. |
ConfluenceCloud.Space.type | String | Type of the space. |
ConfluenceCloud.Space.permissions.id | Number | ID of the space permission. |
ConfluenceCloud.Space.permissions.subjects.user.results.type | String | Type of the user to whom the space permission applies. |
ConfluenceCloud.Space.permissions.subjects.user.results.accountId | String | Account ID of the user to whom the space permission applies. |
ConfluenceCloud.Space.permissions.subjects.user.results.accountType | String | Account type of the user to whom the space permission applies. |
ConfluenceCloud.Space.permissions.subjects.user.results.email | String | Email of the user to whom the space permission applies. |
ConfluenceCloud.Space.permissions.subjects.user.results.publicName | String | Public name of the user to whom the space permission applies. |
ConfluenceCloud.Space.permissions.subjects.user.results.profilePicture.path | String | Path of the user's profile picture to whom the space permission applies. |
ConfluenceCloud.Space.permissions.subjects.user.results.profilePicture.width | Number | Width in pixels of the user's profile picture to whom the space permission applies. |
ConfluenceCloud.Space.permissions.subjects.user.results.profilePicture.height | Number | Height in pixels of the user's profile picture to whom the space permission applies. |
ConfluenceCloud.Space.permissions.subjects.user.results.profilePicture.isDefault | Boolean | Whether the profile picture of the user is default picture to whom the space permission applies. |
ConfluenceCloud.Space.permissions.subjects.user.results.displayName | String | Display name of the user to whom the space permission applies. |
ConfluenceCloud.Space.permissions.subjects.user.results.isExternalCollaborator | Boolean | Whether the user is an external collaborator user. |
ConfluenceCloud.Space.permissions.subjects.user.results._links.self | String | Link to the user to whom the space permission applies. |
ConfluenceCloud.Space.permissions.subjects.user.size | Number | Size of the list of users for a given space. |
ConfluenceCloud.Space.permissions.subjects.group.results.type | String | Type of the group to whom the space permission applies. |
ConfluenceCloud.Space.permissions.subjects.group.results.name | String | Name of the group to whom the space permission applies. |
ConfluenceCloud.Space.permissions.subjects.group.results.id | String | ID of the group to whom the space permission applies. |
ConfluenceCloud.Space.permissions.subjects.group.results._links.self | String | Link to the group to whom the space permission applies. |
ConfluenceCloud.Space.permissions.subjects.group.size | Number | Size of the list of groups for the given space. |
ConfluenceCloud.Space.permissions.operation.operation | String | Name of the permission operation. |
ConfluenceCloud.Space.permissions.operation.targetType | String | The space or content type that the operation applies to. |
ConfluenceCloud.Space.permissions.anonymousAccess | Boolean | Whether anonymous users have permission to use the operation. |
ConfluenceCloud.Space.permissions.unlicensedAccess | Boolean | Whether unlicensed users have access from JIRA Service Desk when used with the read space operation. |
ConfluenceCloud.Space.status | String | Status of the space. |
ConfluenceCloud.Space._links.webui | String | Web user interface link of the space. |
ConfluenceCloud.Space._links.context | String | Context link of the space. |
ConfluenceCloud.Space._links.self | String | Link to the space. |
ConfluenceCloud.Space._links.collection | String | Collection link of the space. |
ConfluenceCloud.Space._links.base | String | Base link to the space. |
#
Command Example!confluence-cloud-space-create name="hello_world" unique_key="helloworld111"
#
Context Example#
Human Readable Output#
Space
ID Name Type Status 16711682 hello_world global current
#
confluence-cloud-content-createCreates a page or blogpost for a given space.
Note: To view the expansion of content properties, execute confluence-cloud-content-list and confluence-cloud-content-search commands.
#
Base Commandconfluence-cloud-content-create
#
InputArgument Name | Description | Required |
---|---|---|
title | The title of the content. Note: The maximum title length is 255 characters. | Required |
type | The type of the new content. Possible values: page, blogpost. | Required |
space_key | The space key that the content is being created in. | Required |
status | The status of the new content. Possible values: current, trashed, draft. Note: The term 'current' refers to the content that is currently active. Default is current. | Optional |
body_value | The body of the new content. Note: 'body_value' must be a string. In order to reflect 'body_value', 'body_representation' is required. | Optional |
body_representation | The content format type. Possible values: view, export_view, styled_view, storage, editor2, anonymous_export_view. | Optional |
ancestor_id | The ID of the parent content to create the child content. Note: Supported for content type page only. To retrieve the ancestor_id, execute the confluence-cloud-content-search command using the query="type=page" argument. | Optional |
#
Context OutputPath | Type | Description |
---|---|---|
ConfluenceCloud.Content.id | String | The ID of the content. |
ConfluenceCloud.Content.type | String | Type of the content. |
ConfluenceCloud.Content.status | String | Status of the content. |
ConfluenceCloud.Content.title | String | Title of the content. |
ConfluenceCloud.Content.childTypes.attachment.value | Boolean | Whether the attachment has the given content. |
ConfluenceCloud.Content.childTypes.attachment._links.self | String | Link to the attachment with the given content. |
ConfluenceCloud.Content.childTypes.comment.value | Boolean | Whether a comment is associated with the given content. |
ConfluenceCloud.Content.childTypes.comment._links.self | String | Link to the comment associated with the given content. |
ConfluenceCloud.Content.childTypes.page.value | Boolean | Whether the page is associated with the given content. |
ConfluenceCloud.Content.childTypes.page._links.self | String | Link to the page associated with given content. |
ConfluenceCloud.Content.space.id | Number | ID of the space that the content is being created in. |
ConfluenceCloud.Content.space.key | String | Key of the space that the content is being created in. |
ConfluenceCloud.Content.space.name | String | Name of the space that the content is being created in. |
ConfluenceCloud.Content.space.type | String | Type of the space that the content is being created in. |
ConfluenceCloud.Content.space.status | String | Status of the space that the content is being created in. |
ConfluenceCloud.Content.space._links.webui | String | Web user interface link to the space that the content is being created in. |
ConfluenceCloud.Content.space._links.self | String | Link to the space that the content is being created in. |
ConfluenceCloud.Content.history.latest | Boolean | Whether the content is the latest content. |
ConfluenceCloud.Content.history.createdBy.type | String | Type of the user who created the content. |
ConfluenceCloud.Content.history.createdBy.accountId | String | Account ID of the user creating the content. |
ConfluenceCloud.Content.history.createdBy.accountType | String | Account type of the user creating the content. |
ConfluenceCloud.Content.history.createdBy.email | String | Email of the user creating the content. |
ConfluenceCloud.Content.history.createdBy.publicName | String | Public name of the user creating the content. |
ConfluenceCloud.Content.history.createdBy.profilePicture.path | String | Profile picture path of the user creating the content. |
ConfluenceCloud.Content.history.createdBy.profilePicture.width | Number | Width in pixels of the profile picture of the user. |
ConfluenceCloud.Content.history.createdBy.profilePicture.height | Number | Height in pixels of the profile picture of the user. |
ConfluenceCloud.Content.history.createdBy.profilePicture.isDefault | Boolean | Whether the profile picture is the default profile picture. |
ConfluenceCloud.Content.history.createdBy.displayName | String | Display name of the user who created the content. |
ConfluenceCloud.Content.history.createdBy.isExternalCollaborator | Boolean | Whether the user is an external collaborator. |
ConfluenceCloud.Content.history.createdBy._links.self | String | Link to the creator of the content. |
ConfluenceCloud.Content.history.createdDate | Date | Date and time, in ISO 8601 format, when the content was created. |
ConfluenceCloud.Content.history._links.self | String | Link to the history of the content |
ConfluenceCloud.Content.version.by.type | String | Type of the user who last updated the content. |
ConfluenceCloud.Content.version.by.accountId | String | Account ID of the user who last updated the content. |
ConfluenceCloud.Content.version.by.accountType | String | Account type of the user who last updated the content. |
ConfluenceCloud.Content.version.by.email | String | Email of the user who last updated the content. |
ConfluenceCloud.Content.version.by.publicName | String | Public name of the user who last updated the content. |
ConfluenceCloud.Content.version.by.profilePicture.path | String | Profile picture of the user who last updated the content. |
ConfluenceCloud.Content.version.by.profilePicture.width | Number | Width in pixels of the profile picture of the user who last updated the content. |
ConfluenceCloud.Content.version.by.profilePicture.height | Number | Height in pixels of the profile picture of the user who last updated the content. |
ConfluenceCloud.Content.version.by.profilePicture.isDefault | Boolean | Whether the profile picture is the default profile picture. |
ConfluenceCloud.Content.version.by.displayName | String | Display name of the user who last updated the content. |
ConfluenceCloud.Content.version.by.isExternalCollaborator | Boolean | Whether the user is an external collaborator. |
ConfluenceCloud.Content.version.by._links.self | String | Link to the user who last updated the content. |
ConfluenceCloud.Content.version.when | Date | Date and time, in ISO 8601 format, when the content was updated. |
ConfluenceCloud.Content.version.friendlyWhen | String | Displays when the content was created. |
ConfluenceCloud.Content.version.message | String | Message of the updated content. |
ConfluenceCloud.Content.version.number | Number | Version number of the updated content. |
ConfluenceCloud.Content.version.minorEdit | Boolean | Whether the edit was minor. |
ConfluenceCloud.Content.version.confRev | String | The revision ID provided by Confluence to be used as a revision in Synchrony. |
ConfluenceCloud.Content.version.contentTypeModified | Boolean | True if the content type is modified in the version. (e.g., page to blog) |
ConfluenceCloud.Content.version._links.self | String | Link to the new version of the content. |
ConfluenceCloud.Content.ancestors.id | String | ID of the parent page of the content. |
ConfluenceCloud.Content.ancestors.type | String | Type of the parent page of the content. |
ConfluenceCloud.Content.ancestors.status | String | Status of the parent page of the content. |
ConfluenceCloud.Content.ancestors.title | String | Title of the parent page of the content. |
ConfluenceCloud.Content.ancestors.extensions.position | Number | The content extension position. |
ConfluenceCloud.Content.ancestors._links.self | String | Link to the parent page of the content. |
ConfluenceCloud.Content.ancestors._links.tinyui | String | Tiny link to the parent page of the content. |
ConfluenceCloud.Content.ancestors._links.editui | String | Edit user interface link to the parent page of the content. |
ConfluenceCloud.Content.ancestors._links.webui | String | Web user interface link to the parent page of the content. |
ConfluenceCloud.Content.container.id | Number | ID of the container of the content. |
ConfluenceCloud.Content.container.key | String | Key of the container of the content. |
ConfluenceCloud.Content.container.name | String | Name of the container of the content. |
ConfluenceCloud.Content.container.type | String | Type of the container of the content. |
ConfluenceCloud.Content.container.status | String | Status of the container of the content. |
ConfluenceCloud.Content.container._links.webui | String | Web user interface link to the container of the content. |
ConfluenceCloud.Content.container._links.self | String | Link to the container of the content. |
ConfluenceCloud.Content.body.storage.value | String | The body of the new content. |
ConfluenceCloud.Content.body.storage.representation | String | Representation format of the content. |
ConfluenceCloud.Content.extensions.position | Number | The content extension position. |
ConfluenceCloud.Content._links.editui | String | Edit user interface link of the content. |
ConfluenceCloud.Content._links.webui | String | Web user interface link of the content. |
ConfluenceCloud.Content._links.context | String | Context link of the content. |
ConfluenceCloud.Content._links.self | String | Link to the content. |
ConfluenceCloud.Content._links.tinyui | String | Tiny link of the content. |
ConfluenceCloud.Content._links.collection | String | Collection link of the content. |
ConfluenceCloud.Content._links.base | String | Base link to the content. |
#
Command Example!confluence-cloud-content-create title="XSOAR_Page_234567" type=page space_key="XSOAR"
#
Context Example#
Human Readable Output#
Content
ID Title Type Status Space Name Created By Created At 16711862 XSOAR_Page_234567 page current XSOAR_Project John Doe 2021-09-02T06:36:33.937Z
#
confluence-cloud-comment-createCreates a comment for the given content.
Note: To view the expansion of content properties, execute the confluence-cloud-content-list and confluence-cloud-content-search commands.
#
Base Commandconfluence-cloud-comment-create
#
InputArgument Name | Description | Required |
---|---|---|
status | The status of the new content. Possible values: current, trashed, draft. Note: The term 'current' refers to the comment that is currently active. Default is current. | Optional |
body_value | The body of the new content. Note: 'body_value' must be a string. | Required |
body_representation | The content format type. Possible values: storage, editor2, editor. | Required |
ancestor_id | The ID of the parent comment for which to create the child comment. Note: To retrieve the ancestor_id, execute the confluence-cloud-content-search command using the query="type=comment" argument. | Optional |
container_id | The ID of the container for which to create a comment. Note: To retrieve the container_id, execute the confluence-cloud-content-list command. | Required |
container_type | The type of the container. Possible values: page, blogpost. | Optional |
#
Context OutputPath | Type | Description |
---|---|---|
ConfluenceCloud.Comment.id | String | The ID of the comment. |
ConfluenceCloud.Comment.type | String | Type of the comment. |
ConfluenceCloud.Comment.status | String | Status of the comment. |
ConfluenceCloud.Comment.title | String | Title of the comment. |
ConfluenceCloud.Comment.childTypes.attachment.value | Boolean | Whether the attachment has the given comment. |
ConfluenceCloud.Comment.childTypes.attachment._links.self | String | Link to the attachment with the given comment. |
ConfluenceCloud.Comment.childTypes.comment.value | Boolean | Whether a comment is associated with the given comment. |
ConfluenceCloud.Comment.childTypes.comment._links.self | String | Link to the comment associated with the given comment. |
ConfluenceCloud.Comment.childTypes.page.value | Boolean | Whether the page is associated with the given comment. |
ConfluenceCloud.Comment.childTypes.page._links.self | String | Link to the page associated with the given comment. |
ConfluenceCloud.Comment.space.id | Number | ID of the space that the comment is being created in. |
ConfluenceCloud.Comment.space.key | String | Key of the space that the comment is being created in. |
ConfluenceCloud.Comment.space.name | String | Name of the space that the comment is being created in. |
ConfluenceCloud.Comment.space.type | String | Type of the space that the comment is being created in. |
ConfluenceCloud.Comment.space.status | String | Status of the space that the comment is being created in. |
ConfluenceCloud.Comment.space._links.webui | String | Web user interface link to the space that the comment is being created in. |
ConfluenceCloud.Comment.space._links.self | String | Link to the space that the comment is being created in. |
ConfluenceCloud.Comment.history.latest | Boolean | Whether the comment is the latest comment. |
ConfluenceCloud.Comment.history.createdBy.type | String | Type of the user who created the comment. |
ConfluenceCloud.Comment.history.createdBy.accountId | String | Account ID of the user creating the comment. |
ConfluenceCloud.Comment.history.createdBy.accountType | String | Account type of the user creating the comment. |
ConfluenceCloud.Comment.history.createdBy.email | String | Email of the user creating the comment. |
ConfluenceCloud.Comment.history.createdBy.publicName | String | Public name of the user creating the comment. |
ConfluenceCloud.Comment.history.createdBy.profilePicture.path | String | Profile picture path of the user creating the comment. |
ConfluenceCloud.Comment.history.createdBy.profilePicture.width | Number | Width in pixels of the profile picture of the user. |
ConfluenceCloud.Comment.history.createdBy.profilePicture.height | Number | Height in pixels of the profile picture of the user. |
ConfluenceCloud.Comment.history.createdBy.profilePicture.isDefault | Boolean | Whether the profile picture is default. |
ConfluenceCloud.Comment.history.createdBy.displayName | String | Display name of the user who created the comment. |
ConfluenceCloud.Comment.history.createdBy.isExternalCollaborator | Boolean | Whether the user is an external collaborator. |
ConfluenceCloud.Comment.history.createdBy._links.self | String | Link to the creator of the comment. |
ConfluenceCloud.Comment.history.createdDate | Date | Date and time, in ISO 8601 format, when the comment was created. |
ConfluenceCloud.Comment.history._links.self | String | Link to the history of the comment. |
ConfluenceCloud.Comment.version.by.type | String | Type of the user who last updated the comment. |
ConfluenceCloud.Comment.version.by.accountId | String | Account ID of the user who last updated the comment. |
ConfluenceCloud.Comment.version.by.accountType | String | Account type of the user who last updated the comment. |
ConfluenceCloud.Comment.version.by.email | String | Email of the user who last updated the comment. |
ConfluenceCloud.Comment.version.by.publicName | String | Public name of the user who last updated the comment. |
ConfluenceCloud.Comment.version.by.profilePicture.path | String | Profile picture of the user who last updated the comment. |
ConfluenceCloud.Comment.version.by.profilePicture.width | Number | Width in pixels of the profile picture of the user who last updated the comment. |
ConfluenceCloud.Comment.version.by.profilePicture.height | Number | Height in pixels of the profile picture of the user who last updated the comment. |
ConfluenceCloud.Comment.version.by.profilePicture.isDefault | Boolean | Whether the profile picture is the default profile picture. |
ConfluenceCloud.Comment.version.by.displayName | String | Display name of the user who last updated the comment. |
ConfluenceCloud.Comment.version.by.isExternalCollaborator | Boolean | Whether the user is an external collaborator. |
ConfluenceCloud.Comment.version.by._links.self | String | Link to the user who last updated the comment. |
ConfluenceCloud.Comment.version.when | Date | Date and time, in ISO 8601 format, when the comment was updated. |
ConfluenceCloud.Comment.version.friendlyWhen | String | Displays when the content was created. |
ConfluenceCloud.Comment.version.message | String | Message of the updated comment. |
ConfluenceCloud.Comment.version.number | Number | Version number of the updated comment. |
ConfluenceCloud.Comment.version.minorEdit | Boolean | Whether the edit was minor. |
ConfluenceCloud.Comment.version.confRev | String | The revision ID provided by Confluence to be used as a revision in Synchrony. |
ConfluenceCloud.Comment.version.contentTypeModified | Boolean | True if the comment type is modified in the version. (e.g., page to blog) |
ConfluenceCloud.Comment.version._links.self | String | Link to the new version of the comment. |
ConfluenceCloud.Comment.ancestors.id | String | ID of the parent page of the comment. |
ConfluenceCloud.Comment.ancestors.type | String | Type of the parent page of the comment. |
ConfluenceCloud.Comment.ancestors.status | String | Status of the parent page of the comment. |
ConfluenceCloud.Comment.ancestors.title | String | Title of the parent page of the comment. |
ConfluenceCloud.Comment.ancestors.extensions.location | String | Location of the comment. |
ConfluenceCloud.Comment.ancestors._links.self | String | Link to the parent page of the comment. |
ConfluenceCloud.Comment.ancestors._links.tinyui | String | Tiny link to the parent page of the comment. |
ConfluenceCloud.Comment.ancestors._links.editui | String | Edit user interface link to the parent page of the comment. |
ConfluenceCloud.Comment.ancestors._links.webui | String | Web user interface link to the parent page of the comment. |
ConfluenceCloud.Comment.container.id | Number | ID of the container of the comment. |
ConfluenceCloud.Comment.container.key | String | Key of the container of the comment. |
ConfluenceCloud.Comment.container.name | String | Name of the container of the comment. |
ConfluenceCloud.Comment.container.type | String | Type of the container of the comment. |
ConfluenceCloud.Comment.container.status | String | Status of the container of the comment. |
ConfluenceCloud.Comment.container._links.webui | String | Web user interface link to the container of the comment. |
ConfluenceCloud.Comment.container._links.self | String | Link to the container of the comment. |
ConfluenceCloud.Comment.body.storage.value | String | The body of the new comment. |
ConfluenceCloud.Comment.body.storage.representation | String | Representation format of the comment. |
ConfluenceCloud.Comment.extensions.location | String | Location of the comment. |
ConfluenceCloud.Comment._links.editui | String | Edit user interface link of the comment. |
ConfluenceCloud.Comment._links.webui | String | Web user interface link of the comment. |
ConfluenceCloud.Comment._links.context | String | Context link of the comment. |
ConfluenceCloud.Comment._links.self | String | Link to the comment. |
ConfluenceCloud.Comment._links.tinyui | String | Tiny link of the comment. |
ConfluenceCloud.Comment._links.collection | String | Collection link of the comment. |
ConfluenceCloud.Comment._links.base | String | Base link to the comment. |
#
Command Example!confluence-cloud-comment-create body_value="hello" body_representation="storage" container_id=2031630
#
Context Example#
Human Readable Output#
Comment
ID Title Type Status Space Name Created By Created At 16711873 Re: XSOAR_blogpost comment current XSOAR_Project John Doe 2021-09-02T06:36:36.737Z
#
confluence-cloud-space-listReturns a list of all Confluence spaces.
#
Base Commandconfluence-cloud-space-list
#
InputArgument Name | Description | Required |
---|---|---|
limit | Number of records to retrieve in the response. Note: The minimum value supported is 0 and the maximum value supported is int32. Default is 50. | Optional |
offset | The starting index of the returned spaces. Note: The minimum value supported is 0 and the maximum value supported is int32. Default is 0. | Optional |
space_key | The space key to retrieve the specific space. Note: Supports a comma-separated list of values. | Optional |
space_id | The space ID to retrieve the specific space. Note: Supports a comma-separated list of values. | Optional |
status | Filter the results to list the spaces based on their status. Possible values: current, archived. Note: The term 'current' refers to the space that is currently active. | Optional |
type | Filter the results to list the spaces based on their type. Possible values: global, personal. | Optional |
favourite | Filter the results to the favorite spaces of the current user. Possible values: true, false. | Optional |
expand | Indicates which properties to expand. For reference, visit https://developer.atlassian.com/cloud/confluence/rest/api-group-space/#api-wiki-rest-api-space-get. Note: To separate multiple values, use commas. Expanded properties will be populated in context data only. | Optional |
#
Context OutputPath | Type | Description |
---|---|---|
ConfluenceCloud.Space.id | Number | ID of the space. |
ConfluenceCloud.Space.key | String | Key of the space. |
ConfluenceCloud.Space.name | String | Name of the space. |
ConfluenceCloud.Space.description.view.value | String | The description of the space in view format. |
ConfluenceCloud.Space.description.view.representation | String | Representation format of the description in view format. |
ConfluenceCloud.Space.description.plain.value | String | The description of the space in plain format. |
ConfluenceCloud.Space.description.plain.representation | String | Representation format of the description in plain format. |
ConfluenceCloud.Space.homepage.id | String | ID of the homepage of the space. |
ConfluenceCloud.Space.homepage.type | String | Type of the homepage of the space. |
ConfluenceCloud.Space.homepage.status | String | Status of the homepage of the space. |
ConfluenceCloud.Space.homepage.title | String | Title of the homepage of the space. |
ConfluenceCloud.Space.homepage.extensions.position | Number | The content extension position. |
ConfluenceCloud.Space.homepage._links.self | String | Link to the homepage of the space. |
ConfluenceCloud.Space.homepage._links.tinyui | String | Tiny link to the homepage of the space. |
ConfluenceCloud.Space.homepage._links.editui | String | Edit the user interface link to the homepage of the space. |
ConfluenceCloud.Space.homepage._links.webui | String | Web user interface link to the homepage of the space. |
ConfluenceCloud.Space.type | String | Type of the space. |
ConfluenceCloud.Space.permissions.id | Number | ID of the space permission. |
ConfluenceCloud.Space.permissions.subjects.user.results.type | String | Type of the user to whom the space permission applies. |
ConfluenceCloud.Space.permissions.subjects.user.results.accountId | String | Account ID of the user to whom the space permission applies. |
ConfluenceCloud.Space.permissions.subjects.user.results.accountType | String | Account type of the user to whom the space permission applies. |
ConfluenceCloud.Space.permissions.subjects.user.results.email | String | Email of the user to whom the space permission applies. |
ConfluenceCloud.Space.permissions.subjects.user.results.publicName | String | Public name to whom the space permission applies. |
ConfluenceCloud.Space.permissions.subjects.user.results.profilePicture.path | String | Path of the user's profile picture to whom the space permission applies. |
ConfluenceCloud.Space.permissions.subjects.user.results.profilePicture.width | Number | Width in pixels of the user's profile picture to whom the space permission applies. |
ConfluenceCloud.Space.permissions.subjects.user.results.profilePicture.height | Number | Height in pixels of the user's profile picture to whom the space permission applies. |
ConfluenceCloud.Space.permissions.subjects.user.results.profilePicture.isDefault | Boolean | Whether the profile picture of the user is the default profile picture to whom the space permission applies. |
ConfluenceCloud.Space.permissions.subjects.user.results.displayName | String | Display name of the user to whom the space permission applies. |
ConfluenceCloud.Space.permissions.subjects.user.results.isExternalCollaborator | Boolean | Whether the user is an external collaborator user. |
ConfluenceCloud.Space.permissions.subjects.user.results._links.self | String | Link to the user to whom the space permission applies. |
ConfluenceCloud.Space.permissions.subjects.user.size | Number | Size of the list of users for a given space. |
ConfluenceCloud.Space.permissions.subjects.group.results.type | String | Type of the group to whom the space permission applies. |
ConfluenceCloud.Space.permissions.subjects.group.results.name | String | Name of the group to whom the space permission applies. |
ConfluenceCloud.Space.permissions.subjects.group.results.id | String | ID of the group to whom the space permission applies. |
ConfluenceCloud.Space.permissions.subjects.group.results._links.self | String | Link to the group to whom the space permission applies. |
ConfluenceCloud.Space.permissions.subjects.group.size | Number | Size of the list of groups for the given space. |
ConfluenceCloud.Space.permissions.operation.operation | String | Name of the permission operation. |
ConfluenceCloud.Space.permissions.operation.targetType | String | The space or content type that the operation applies to. |
ConfluenceCloud.Space.permissions.anonymousAccess | Boolean | Whether anonymous users have permission to use the operation. |
ConfluenceCloud.Space.permissions.unlicensedAccess | Boolean | Whether unlicensed users have access from JIRA Service Desk when used with the read space operation. |
ConfluenceCloud.Space.status | String | Status of the space. |
ConfluenceCloud.Space._links.webui | String | Web user interface link of the space. |
ConfluenceCloud.Space._links.context | String | Context link of the space. |
ConfluenceCloud.Space._links.self | String | Link to the space. |
ConfluenceCloud.Space._links.collection | String | Collection link of the space. |
ConfluenceCloud.Space._links.base | String | Base link to the space. |
#
Command Example!confluence-cloud-space-list limit=2
#
Context Example#
Human Readable Output#
Space(s)
ID Space Key Name Type Status Created By Created At 12943669 unique2 11Nam quis nulla. Integer malesuada. In in enim a arcu imperdiet malesuada. Sed vel lectus. Donec odio urna, tempus molestie, porttitor ut, iaculis quis, sem. Phasellus rhoncus. Aenean id metus id velit global current John Doe 2021-08-26T08:50:12.879Z 12976314 unique22 11Nam quis nulla. Integer malesuada. In in enim a arcu imperdiet malesuada. Sed vel lectus. Donec odio urna, tempus molestie, porttitor ut, iaculis quis, sem. Phasellus rhoncus. Aenean id metus id velit global current John Doe 2021-08-26T13:19:25.526Z
#
confluence-cloud-content-listReturns the list of content of Confluence.
#
Base Commandconfluence-cloud-content-list
#
InputArgument Name | Description | Required |
---|---|---|
limit | Number of records to retrieve in the response. Note: The minimum value supported is 0 and the maximum value supported is int32. Default is 50. | Optional |
offset | The starting index of the returned content. Note: The minimum value supported is 0 and the maximum value supported is int32. Default is 0. | Optional |
space_key | The space key to retrieve the contents of a specific space. | Optional |
type | The type to retrieve the contents. Possible values: page, blogpost. Default is page. | Optional |
sort_order | Order in which the response will be sorted. Possible values: asc, desc. Note: If ‘sort_key’ is specified, the default value for ‘sort_order’ is ascending. | Optional |
sort_key | Key based on which the response will be sorted. Note: If 'sort_order' is specified, 'sort_key' is required. | Optional |
creation_date | The date from which to return the content created on that specific date. Formats accepted: 2 days, 2 weeks, 2 months, 2 years, yyyy-mm-dd. | Optional |
status | Filter the results to a set of content based on their status. If set to any, content with any status is returned. Possible values: any, current, trashed, draft, archived. Note: The term 'current' refers to the content that is currently active. | Optional |
expand | Indicates which properties to expand. For reference, visit https://developer.atlassian.com/cloud/confluence/rest/api-group-content/#api-wiki-rest-api-content-get. Note: To separate multiple values, use commas. Expanded properties will be populated in context data only. | Optional |
#
Context OutputPath | Type | Description |
---|---|---|
ConfluenceCloud.Content.id | String | The ID of the content. |
ConfluenceCloud.Content.type | String | Type of the content. |
ConfluenceCloud.Content.status | String | Status of the content. |
ConfluenceCloud.Content.title | String | Title of the content. |
ConfluenceCloud.Content.childTypes.attachment.value | Boolean | Whether the attachment has the given content. |
ConfluenceCloud.Content.childTypes.attachment._links.self | String | Link to the attachment with the given content. |
ConfluenceCloud.Content.childTypes.comment.value | Boolean | Whether a comment is associated with the given content. |
ConfluenceCloud.Content.childTypes.comment._links.self | String | Link to the comment associated with the given content. |
ConfluenceCloud.Content.childTypes.page.value | Boolean | Whether the page is associated with the given content. |
ConfluenceCloud.Content.childTypes.page._links.self | String | Link to page associated with given content. |
ConfluenceCloud.Content.space.id | Number | ID of the space that the content is being created in. |
ConfluenceCloud.Content.space.key | String | Key of the space that the content is being created in. |
ConfluenceCloud.Content.space.name | String | Name of the space that the content is being created in. |
ConfluenceCloud.Content.space.type | String | Type of the space that the content is being created in. |
ConfluenceCloud.Content.space.status | String | Status of the space that the content is being created in. |
ConfluenceCloud.Content.space._links.webui | String | Web user interface link to the space that the content is being created in. |
ConfluenceCloud.Content.space._links.self | String | Link to the space that the content is being created in. |
ConfluenceCloud.Content.history.latest | Boolean | Whether the content is the latest content. |
ConfluenceCloud.Content.history.createdBy.type | String | Type of the user who created the content. |
ConfluenceCloud.Content.history.createdBy.accountId | String | Account ID of the user creating the content. |
ConfluenceCloud.Content.history.createdBy.accountType | String | Account type of the user creating the content. |
ConfluenceCloud.Content.history.createdBy.email | String | Email of the user creating the content. |
ConfluenceCloud.Content.history.createdBy.publicName | String | Public name of the user creating the content. |
ConfluenceCloud.Content.history.createdBy.profilePicture.path | String | Profile picture path of the user creating the content. |
ConfluenceCloud.Content.history.createdBy.profilePicture.width | Number | Width in pixels of the profile picture of the user. |
ConfluenceCloud.Content.history.createdBy.profilePicture.height | Number | Height in pixels of the profile picture of the user. |
ConfluenceCloud.Content.history.createdBy.profilePicture.isDefault | Boolean | Whether the profile picture is the default profile picture. |
ConfluenceCloud.Content.history.createdBy.displayName | String | Display name of the user who created the content. |
ConfluenceCloud.Content.history.createdBy.isExternalCollaborator | Boolean | Whether the user is an external collaborator. |
ConfluenceCloud.Content.history.createdBy._links.self | String | Link to the creator of the content. |
ConfluenceCloud.Content.history.createdDate | Date | Date and time, in ISO 8601 format, when the content was created. |
ConfluenceCloud.Content.history._links.self | String | Link to the history of the content. |
ConfluenceCloud.Content.version.by.type | String | Type of the user who last updated the content. |
ConfluenceCloud.Content.version.by.accountId | String | Account ID of the user who last updated the content. |
ConfluenceCloud.Content.version.by.accountType | String | Account type of the user who last updated the content. |
ConfluenceCloud.Content.version.by.email | String | Email of the user who last updated the content. |
ConfluenceCloud.Content.version.by.publicName | String | Public name of the user who last updated the content. |
ConfluenceCloud.Content.version.by.profilePicture.path | String | Profile picture path of the user who last updated the content. |
ConfluenceCloud.Content.version.by.profilePicture.width | Number | Width in pixels of the profile picture of the user who last updated the content. |
ConfluenceCloud.Content.version.by.profilePicture.height | Number | Height in pixels of the profile picture of the user who last updated the content. |
ConfluenceCloud.Content.version.by.profilePicture.isDefault | Boolean | Whether the profile picture is the default profile picture. |
ConfluenceCloud.Content.version.by.displayName | String | Display name of the user who last updated the content. |
ConfluenceCloud.Content.version.by.isExternalCollaborator | Boolean | Whether the user is an external collaborator. |
ConfluenceCloud.Content.version.by._links.self | String | Link to the user who last updated the content. |
ConfluenceCloud.Content.version.when | Date | Date and time, in ISO 8601 format, when the content was updated. |
ConfluenceCloud.Content.version.friendlyWhen | String | Displays when the content was created. |
ConfluenceCloud.Content.version.message | String | Message of the updated content. |
ConfluenceCloud.Content.version.number | Number | Version number of the updated content. |
ConfluenceCloud.Content.version.minorEdit | Boolean | Whether the edit was minor. |
ConfluenceCloud.Content.version.confRev | String | The revision ID provided by Confluence to be used as a revision in Synchrony |
ConfluenceCloud.Content.version.contentTypeModified | Boolean | True if the content type is modified in the version. (e.g., page to blog) |
ConfluenceCloud.Content.version._links.self | String | Link to the new version of the content. |
ConfluenceCloud.Content.ancestors.id | String | ID of the parent page of the content. |
ConfluenceCloud.Content.ancestors.type | String | Type of the parent page of the content. |
ConfluenceCloud.Content.ancestors.status | String | Status of the parent page of the content. |
ConfluenceCloud.Content.container.id | Number | ID of the container of the content. |
ConfluenceCloud.Content.container.key | String | Key of the container of the content. |
ConfluenceCloud.Content.container.name | String | Name of the container of the content. |
ConfluenceCloud.Content.container.type | String | Type of the container of the content. |
ConfluenceCloud.Content.container.status | String | Status of the container of the content. |
ConfluenceCloud.Content.container._links.webui | String | Web user interface link to the container of the content. |
ConfluenceCloud.Content.container._links.self | String | Link to the container of the content. |
ConfluenceCloud.Content.body.storage.value | String | The body of the new content. |
ConfluenceCloud.Content.body.storage.representation | String | Representation format of the content. |
ConfluenceCloud.Content.extensions.position | Number | The content extension position. |
ConfluenceCloud.Content._links.editui | String | Edit the user interface link of the content. |
ConfluenceCloud.Content._links.webui | String | Web user interface link of the content. |
ConfluenceCloud.Content._links.self | String | Link to the content. |
ConfluenceCloud.Content._links.tinyui | String | Tiny link of the content. |
#
Command Example!confluence-cloud-content-list limit=2