Atlassian Confluence Cloud

Atlassian Confluence Cloud allows users to interact with confluence entities like content, space, users, and groups. Users can also manage the space permissions.

Utilities · Atlassian Confluence Cloud

Details

IDAtlassian Confluence Cloud
ProviderAtlassian
CategoryUtilities
From Version6.2.0
Docker Imagedemisto/btfl-soup:1.0.1.10120494
Supported ModulesAgentix XSIAM

README

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 Cortex

Parameter Description Required
Site Name (e.g., https://${site-name}.atlassian.net) Site name of the Confluence cloud the user wants to connect to. True
Email 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

Authentication Methods

Basic Authentication (Email + API Token)

  1. Provide your Email address
  2. Provide your API Token (generate from Atlassian API Token management)

OAuth 2.0 Authentication

OAuth 2.0 provides a more secure authentication method using the Atlassian Developer Console.

Required OAuth Scopes (must be configured in the Atlassian Developer Console for your OAuth app):

Scope Description
read:audit-log:confluence Required for event fetching — Read Confluence audit log records
read:confluence-content.all Read all Confluence content
read:confluence-space.summary Read space summaries
read:confluence-user Read user information
read:confluence-groups Read group information
write:confluence-content Write content
write:confluence-space Write space data
offline_access Enables refresh token for unattended access

Note: The read:audit-log:confluence scope is specifically required for the event fetching functionality (fetch-events and confluence-cloud-get-events commands). Without this scope, event collection will fail.

Commands

You 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-create


Creates 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 Command

confluence-cloud-space-create

Input

Argument 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 Output

Path 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

{
    "ConfluenceCloud": {
        "Space": {
            "_expandable": {
                "lookAndFeel": "/rest/api/settings/lookandfeel?spaceKey=helloworld111",
                "settings": "/rest/api/space/helloworld111/settings",
                "theme": "/rest/api/space/helloworld111/theme"
            },
            "_links": {
                "base": "https://xsoar-bd.atlassian.net/wiki",
                "collection": "/rest/api/space",
                "context": "/wiki",
                "self": "https://xsoar-bd.atlassian.net/wiki/rest/api/space/helloworld111",
                "webui": "/spaces/helloworld111"
            },
            "description": {
                "plain": {
                    "representation": "plain"
                }
            },
            "homepage": {
                "_expandable": {
                    "children": "/rest/api/content/16711835/child",
                    "container": "/rest/api/space/helloworld111",
                    "descendants": "/rest/api/content/16711835/descendant",
                    "history": "/rest/api/content/16711835/history",
                    "restrictions": "/rest/api/content/16711835/restriction/byOperation",
                    "space": "/rest/api/space/helloworld111"
                },
                "_links": {
                    "editui": "/pages/resumedraft.action?draftId=16711835",
                    "self": "https://xsoar-bd.atlassian.net/wiki/rest/api/content/16711835",
                    "tinyui": "/x/mwD-/",
                    "webui": "/spaces/helloworld111/overview"
                },
                "extensions": {
                    "position": 797
                },
                "id": "16711835",
                "status": "current",
                "title": "hello_world Home",
                "type": "page"
            },
            "id": 16711682,
            "key": "helloworld111",
            "name": "hello_world",
            "permissions": [
                {
                    "anonymousAccess": false,
                    "id": 16711685,
                    "operation": {
                        "operation": "create",
                        "targetType": "attachment"
                    },
                    "subjects": {
                        "group": {
                            "results": [
                                {
                                    "_links": {
                                        "self": "https://xsoar-bd.atlassian.net/wiki/rest/experimental/group/administrators"
                                    },
                                    "id": "10453df5-f7fc-47be-8ca7-bc2949c1bd5b",
                                    "name": "administrators",
                                    "type": "group"
                                }
                            ],
                            "size": 1
                        }
                    },
                    "unlicensedAccess": false
                },
                {
                    "anonymousAccess": false,
                    "id": 16711686,
                    "operation": {
                        "operation": "delete",
                        "targetType": "page"
                    },
                    "subjects": {
                        "group": {
                            "results": [
                                {
                                    "_links": {
                                        "self": "https://xsoar-bd.atlassian.net/wiki/rest/experimental/group/confluence-users"
                                    },
                                    "id": "e50e7fe6-7961-4775-9bbf-99e4b50f8701",
                                    "name": "confluence-users",
                                    "type": "group"
                                }
                            ],
                            "size": 1
                        }
                    },
                    "unlicensedAccess": false
                },
                {
                    "anonymousAccess": false,
                    "id": 16711687,
                    "operation": {
                        "operation": "restrict_content",
                        "targetType": "space"
                    },
                    "subjects": {
                        "group": {
                            "results": [
                                {
                                    "_links": {
                                        "self": "https://xsoar-bd.atlassian.net/wiki/rest/experimental/group/site-admins"
                                    },
                                    "id": "b7e24fd2-0faa-4eaa-9f87-b764ae157ae7",
                                    "name": "site-admins",
                                    "type": "group"
                                }
                            ],
                            "size": 1
                        }
                    },
                    "unlicensedAccess": false
                },
                {
                    "anonymousAccess": false,
                    "id": 16711688,
                    "operation": {
                        "operation": "delete",
                        "targetType": "space"
                    },
                    "subjects": {
                        "group": {
                            "results": [
                                {
                                    "_links": {
                                        "self": "https://xsoar-bd.atlassian.net/wiki/rest/experimental/group/confluence-users"
                                    },
                                    "id": "e50e7fe6-7961-4775-9bbf-99e4b50f8701",
                                    "name": "confluence-users",
                                    "type": "group"
                                }
                            ],
                            "size": 1
                        }
                    },
                    "unlicensedAccess": false
                },
                {
                    "anonymousAccess": false,
                    "id": 16711689,
                    "operation": {
                        "operation": "delete",
                        "targetType": "blogpost"
                    },
                    "subjects": {
                        "group": {
                            "results": [
                                {
                                    "_links": {
                                        "self": "https://xsoar-bd.atlassian.net/wiki/rest/experimental/group/confluence-users"
                                    },
                                    "id": "e50e7fe6-7961-4775-9bbf-99e4b50f8701",
                                    "name": "confluence-users",
                                    "type": "group"
                                }
                            ],
                            "size": 1
                        }
                    },
                    "unlicensedAccess": false
                },
                {
                    "anonymousAccess": false,
                    "id": 16711690,
                    "operation": {
                        "operation": "delete",
                        "targetType": "attachment"
                    },
                    "subjects": {
                        "group": {
                            "results": [
                                {
                                    "_links": {
                                        "self": "https://xsoar-bd.atlassian.net/wiki/rest/experimental/group/confluence-users"
                                    },
                                    "id": "e50e7fe6-7961-4775-9bbf-99e4b50f8701",
                                    "name": "confluence-users",
                                    "type": "group"
                                }
                            ],
                            "size": 1
                        }
                    },
                    "unlicensedAccess": false
                },
                {
                    "anonymousAccess": false,
                    "id": 16711691,
                    "operation": {
                        "operation": "export",
                        "targetType": "space"
                    },
                    "subjects": {
                        "group": {
                            "results": [
                                {
                                    "_links": {
                                        "self": "https://xsoar-bd.atlassian.net/wiki/rest/experimental/group/system-administrators"
                                    },
                                    "id": "2fda36d1-e4e0-4307-bc5f-ed0044f6ff2c",
                                    "name": "system-administrators",
                                    "type": "group"
                                }
                            ],
                            "size": 1
                        }
                    },
                    "unlicensedAccess": false
                },
                {
                    "anonymousAccess": false,
                    "id": 16711693,
                    "operation": {
                        "operation": "restrict_content",
                        "targetType": "space"
                    },
                    "subjects": {
                        "group": {
                            "results": [
                                {
                                    "_links": {
                                        "self": "https://xsoar-bd.atlassian.net/wiki/rest/experimental/group/system-administrators"
                                    },
                                    "id": "2fda36d1-e4e0-4307-bc5f-ed0044f6ff2c",
                                    "name": "system-administrators",
                                    "type": "group"
                                }
                            ],
                            "size": 1
                        }
                    },
                    "unlicensedAccess": false
                },
                {
                    "anonymousAccess": false,
                    "id": 16711694,
                    "operation": {
                        "operation": "create",
                        "targetType": "attachment"
                    },
                    "subjects": {
                        "user": {
                            "results": [
                                {
                                    "_links": {
                                        "self": "https://xsoar-bd.atlassian.net/wiki/rest/api/user?accountId=5ff2e30b4d2179006ea18449"
                                    },
                                    "accountId": "5ff2e30b4d2179006ea18449",
                                    "accountType": "atlassian",
                                    "displayName": "John Doe",
                                    "email": "dummy.dummy@dummy.com",
                                    "isExternalCollaborator": false,
                                    "profilePicture": {
                                        "height": 48,
                                        "isDefault": false,
                                        "path": "/wiki/aa-avatar/5ff2e30b4d2179006ea18449",
                                        "width": 48
                                    },
                                    "publicName": "John Doe",
                                    "type": "known"
                                }
                            ],
                            "size": 1
                        }
                    },
                    "unlicensedAccess": false
                },
                {
                    "anonymousAccess": false,
                    "id": 16711695,
                    "operation": {
                        "operation": "delete",
                        "targetType": "comment"
                    },
                    "subjects": {
                        "group": {
                            "results": [
                                {
                                    "_links": {
                                        "self": "https://xsoar-bd.atlassian.net/wiki/rest/experimental/group/confluence-users"
                                    },
                                    "id": "e50e7fe6-7961-4775-9bbf-99e4b50f8701",
                                    "name": "confluence-users",
                                    "type": "group"
                                }
                            ],
                            "size": 1
                        }
                    },
                    "unlicensedAccess": false
                },
                {
                    "anonymousAccess": false,
                    "id": 16711696,
                    "operation": {
                        "operation": "create",
                        "targetType": "comment"
                    },
                    "subjects": {
                        "group": {
                            "results": [
                                {
                                    "_links": {
                                        "self": "https://xsoar-bd.atlassian.net/wiki/rest/experimental/group/confluence-users"
                                    },
                                    "id": "e50e7fe6-7961-4775-9bbf-99e4b50f8701",
                                    "name": "confluence-users",
                                    "type": "group"
                                }
                            ],
                            "size": 1
                        }
                    },
                    "unlicensedAccess": false
                },
                {
                    "anonymousAccess": false,
                    "id": 16711697,
                    "operation": {
                        "operation": "create",
                        "targetType": "page"
                    },
                    "subjects": {
                        "group": {
                            "results": [
                                {
                                    "_links": {
                                        "self": "https://xsoar-bd.atlassian.net/wiki/rest/experimental/group/system-administrators"
                                    },
                                    "id": "2fda36d1-e4e0-4307-bc5f-ed0044f6ff2c",
                                    "name": "system-administrators",
                                    "type": "group"
                                }
                            ],
                            "size": 1
                        }
                    },
                    "unlicensedAccess": false
                },
                {
                    "anonymousAccess": false,
                    "id": 16711698,
                    "operation": {
                        "operation": "create",
                        "targetType": "blogpost"
                    },
                    "subjects": {
                        "group": {
                            "results": [
                                {
                                    "_links": {
                                        "self": "https://xsoar-bd.atlassian.net/wiki/rest/experimental/group/site-admins"
                                    },
                                    "id": "b7e24fd2-0faa-4eaa-9f87-b764ae157ae7",
                                    "name": "site-admins",
                                    "type": "group"
                                }
                            ],
                            "size": 1
                        }
                    },
                    "unlicensedAccess": false
                },
                {
                    "anonymousAccess": false,
                    "id": 16711699,
                    "operation": {
                        "operation": "create",
                        "targetType": "blogpost"
                    },
                    "subjects": {
                        "user": {
                            "results": [
                                {
                                    "_links": {
                                        "self": "https://xsoar-bd.atlassian.net/wiki/rest/api/user?accountId=5ff2e30b4d2179006ea18449"
                                    },
                                    "accountId": "5ff2e30b4d2179006ea18449",
                                    "accountType": "atlassian",
                                    "displayName": "John Doe",
                                    "email": "dummy.dummy@dummy.com",
                                    "isExternalCollaborator": false,
                                    "profilePicture": {
                                        "height": 48,
                                        "isDefault": false,
                                        "path": "/wiki/aa-avatar/5ff2e30b4d2179006ea18449",
                                        "width": 48
                                    },
                                    "publicName": "John Doe",
                                    "type": "known"
                                }
                            ],
                            "size": 1
                        }
                    },
                    "unlicensedAccess": false
                },
                {
                    "anonymousAccess": false,
                    "id": 16711700,
                    "operation": {
                        "operation": "create",
                        "targetType": "page"
                    },
                    "subjects": {
                        "group": {
                            "results": [
                                {
                                    "_links": {
                                        "self": "https://xsoar-bd.atlassian.net/wiki/rest/experimental/group/administrators"
                                    },
                                    "id": "10453df5-f7fc-47be-8ca7-bc2949c1bd5b",
                                    "name": "administrators",
                                    "type": "group"
                                }
                            ],
                            "size": 1
                        }
                    },
                    "unlicensedAccess": false
                },
                {
                    "anonymousAccess": false,
                    "id": 16711701,
                    "operation": {
                        "operation": "delete",
                        "targetType": "comment"
                    },
                    "subjects": {
                        "group": {
                            "results": [
                                {
                                    "_links": {
                                        "self": "https://xsoar-bd.atlassian.net/wiki/rest/experimental/group/trusted-users-9704e596-7b55-4a8b-a77b-f617d67cffd9"
                                    },
                                    "id": "5178e800-9b33-4b4b-9854-1fdd6776bd42",
                                    "name": "trusted-users-9704e596-7b55-4a8b-a77b-f617d67cffd9",
                                    "type": "group"
                                }
                            ],
                            "size": 1
                        }
                    },
                    "unlicensedAccess": false
                },
                {
                    "anonymousAccess": false,
                    "id": 16711702,
                    "operation": {
                        "operation": "create",
                        "targetType": "comment"
                    },
                    "subjects": {
                        "group": {
                            "results": [
                                {
                                    "_links": {
                                        "self": "https://xsoar-bd.atlassian.net/wiki/rest/experimental/group/trusted-users-9704e596-7b55-4a8b-a77b-f617d67cffd9"
                                    },
                                    "id": "5178e800-9b33-4b4b-9854-1fdd6776bd42",
                                    "name": "trusted-users-9704e596-7b55-4a8b-a77b-f617d67cffd9",
                                    "type": "group"
                                }
                            ],
                            "size": 1
                        }
                    },
                    "unlicensedAccess": false
                },
                {
                    "anonymousAccess": false,
                    "id": 16711704,
                    "operation": {
                        "operation": "read",
                        "targetType": "space"
                    },
                    "subjects": {
                        "group": {
                            "results": [
                                {
                                    "_links": {
                                        "self": "https://xsoar-bd.atlassian.net/wiki/rest/experimental/group/confluence-users"
                                    },
                                    "id": "e50e7fe6-7961-4775-9bbf-99e4b50f8701",
                                    "name": "confluence-users",
                                    "type": "group"
                                }
                            ],
                            "size": 1
                        }
                    },
                    "unlicensedAccess": false
                },
                {
                    "anonymousAccess": false,
                    "id": 16711705,
                    "operation": {
                        "operation": "administer",
                        "targetType": "space"
                    },
                    "subjects": {
                        "user": {
                            "results": [
                                {
                                    "_links": {
                                        "self": "https://xsoar-bd.atlassian.net/wiki/rest/api/user?accountId=5ff2e30b4d2179006ea18449"
                                    },
                                    "accountId": "5ff2e30b4d2179006ea18449",
                                    "accountType": "atlassian",
                                    "displayName": "John Doe",
                                    "email": "dummy.dummy@dummy.com",
                                    "isExternalCollaborator": false,
                                    "profilePicture": {
                                        "height": 48,
                                        "isDefault": false,
                                        "path": "/wiki/aa-avatar/5ff2e30b4d2179006ea18449",
                                        "width": 48
                                    },
                                    "publicName": "John Doe",
                                    "type": "known"
                                }
                            ],
                            "size": 1
                        }
                    },
                    "unlicensedAccess": false
                },
                {
                    "anonymousAccess": false,
                    "id": 16711706,
                    "operation": {
                        "operation": "delete",
                        "targetType": "attachment"
                    },
                    "subjects": {
                        "group": {
                            "results": [
                                {
                                    "_links": {
                                        "self": "https://xsoar-bd.atlassian.net/wiki/rest/experimental/group/site-admins"
                                    },
                                    "id": "b7e24fd2-0faa-4eaa-9f87-b764ae157ae7",
                                    "name": "site-admins",
                                    "type": "group"
                                }
                            ],
                            "size": 1
                        }
                    },
                    "unlicensedAccess": false
                },
                {
                    "anonymousAccess": false,
                    "id": 16711708,
                    "operation": {
                        "operation": "administer",
                        "targetType": "space"
                    },
                    "subjects": {
                        "group": {
                            "results": [
                                {
                                    "_links": {
                                        "self": "https://xsoar-bd.atlassian.net/wiki/rest/experimental/group/trusted-users-9704e596-7b55-4a8b-a77b-f617d67cffd9"
                                    },
                                    "id": "5178e800-9b33-4b4b-9854-1fdd6776bd42",
                                    "name": "trusted-users-9704e596-7b55-4a8b-a77b-f617d67cffd9",
                                    "type": "group"
                                }
                            ],
                            "size": 1
                        }
                    },
                    "unlicensedAccess": false
                },
                {
                    "anonymousAccess": false,
                    "id": 16711709,
                    "operation": {
                        "operation": "read",
                        "targetType": "space"
                    },
                    "subjects": {
                        "group": {
                            "results": [
                                {
                                    "_links": {
                                        "self": "https://xsoar-bd.atlassian.net/wiki/rest/experimental/group/trusted-users-9704e596-7b55-4a8b-a77b-f617d67cffd9"
                                    },
                                    "id": "5178e800-9b33-4b4b-9854-1fdd6776bd42",
                                    "name": "trusted-users-9704e596-7b55-4a8b-a77b-f617d67cffd9",
                                    "type": "group"
                                }
                            ],
                            "size": 1
                        }
                    },
                    "unlicensedAccess": false
                },
                {
                    "anonymousAccess": false,
                    "id": 16711710,
                    "operation": {
                        "operation": "create",
                        "targetType": "attachment"
                    },
                    "subjects": {
                        "group": {
                            "results": [
                                {
                                    "_links": {
                                        "self": "https://xsoar-bd.atlassian.net/wiki/rest/experimental/group/site-admins"
                                    },
                                    "id": "b7e24fd2-0faa-4eaa-9f87-b764ae157ae7",
                                    "name": "site-admins",
                                    "type": "group"
                                }
                            ],
                            "size": 1
                        }
                    },
                    "unlicensedAccess": false
                },
                {
                    "anonymousAccess": false,
                    "id": 16711711,
                    "operation": {
                        "operation": "restrict_content",
                        "targetType": "space"
                    },
                    "subjects": {
                        "group": {
                            "results": [
                                {
                                    "_links": {
                                        "self": "https://xsoar-bd.atlassian.net/wiki/rest/experimental/group/administrators"
                                    },
                                    "id": "10453df5-f7fc-47be-8ca7-bc2949c1bd5b",
                                    "name": "administrators",
                                    "type": "group"
                                }
                            ],
                            "size": 1
                        }
                    },
                    "unlicensedAccess": false
                },
                {
                    "anonymousAccess": false,
                    "id": 16711714,
                    "operation": {
                        "operation": "delete",
                        "targetType": "page"
                    },
                    "subjects": {
                        "group": {
                            "results": [
                                {
                                    "_links": {
                                        "self": "https://xsoar-bd.atlassian.net/wiki/rest/experimental/group/system-administrators"
                                    },
                                    "id": "2fda36d1-e4e0-4307-bc5f-ed0044f6ff2c",
                                    "name": "system-administrators",
                                    "type": "group"
                                }
                            ],
                            "size": 1
                        }
                    },
                    "unlicensedAccess": false
                },
                {
                    "anonymousAccess": false,
                    "id": 16711715,
                    "operation": {
                        "operation": "read",
                        "targetType": "space"
                    },
                    "subjects": {
                        "group": {
                            "results": [
                                {
                                    "_links": {
                                        "self": "https://xsoar-bd.atlassian.net/wiki/rest/experimental/group/system-administrators"
                                    },
                                    "id": "2fda36d1-e4e0-4307-bc5f-ed0044f6ff2c",
                                    "name": "system-administrators",
                                    "type": "group"
                                }
                            ],
                            "size": 1
                        }
                    },
                    "unlicensedAccess": false
                },
                {
                    "anonymousAccess": false,
                    "id": 16711716,
                    "operation": {
                        "operation": "delete",
                        "targetType": "comment"
                    },
                    "subjects": {
                        "group": {
                            "results": [
                                {
                                    "_links": {
                                        "self": "https://xsoar-bd.atlassian.net/wiki/rest/experimental/group/system-administrators"
                                    },
                                    "id": "2fda36d1-e4e0-4307-bc5f-ed0044f6ff2c",
                                    "name": "system-administrators",
                                    "type": "group"
                                }
                            ],
                            "size": 1
                        }
                    },
                    "unlicensedAccess": false
                },
                {
                    "anonymousAccess": false,
                    "id": 16711717,
                    "operation": {
                        "operation": "delete",
                        "targetType": "blogpost"
                    },
                    "subjects": {
                        "group": {
                            "results": [
                                {
                                    "_links": {
                                        "self": "https://xsoar-bd.atlassian.net/wiki/rest/experimental/group/system-administrators"
                                    },
                                    "id": "2fda36d1-e4e0-4307-bc5f-ed0044f6ff2c",
                                    "name": "system-administrators",
                                    "type": "group"
                                }
                            ],
                            "size": 1
                        }
                    },
                    "unlicensedAccess": false
                },
                {
                    "anonymousAccess": false,
                    "id": 16711718,
                    "operation": {
                        "operation": "create",
                        "targetType": "blogpost"
                    },
                    "subjects": {
                        "group": {
                            "results": [
                                {
                                    "_links": {
                                        "self": "https://xsoar-bd.atlassian.net/wiki/rest/experimental/group/administrators"
                                    },
                                    "id": "10453df5-f7fc-47be-8ca7-bc2949c1bd5b",
                                    "name": "administrators",
                                    "type": "group"
                                }
                            ],
                            "size": 1
                        }
                    },
                    "unlicensedAccess": false
                },
                {
                    "anonymousAccess": false,
                    "id": 16711719,
                    "operation": {
                        "operation": "create",
                        "targetType": "comment"
                    },
                    "subjects": {
                        "group": {
                            "results": [
                                {
                                    "_links": {
                                        "self": "https://xsoar-bd.atlassian.net/wiki/rest/experimental/group/system-administrators"
                                    },
                                    "id": "2fda36d1-e4e0-4307-bc5f-ed0044f6ff2c",
                                    "name": "system-administrators",
                                    "type": "group"
                                }
                            ],
                            "size": 1
                        }
                    },
                    "unlicensedAccess": false
                },
                {
                    "anonymousAccess": false,
                    "id": 16711720,
                    "operation": {
                        "operation": "delete",
                        "targetType": "blogpost"
                    },
                    "subjects": {
                        "group": {
                            "results": [
                                {
                                    "_links": {
                                        "self": "https://xsoar-bd.atlassian.net/wiki/rest/experimental/group/trusted-users-9704e596-7b55-4a8b-a77b-f617d67cffd9"
                                    },
                                    "id": "5178e800-9b33-4b4b-9854-1fdd6776bd42",
                                    "name": "trusted-users-9704e596-7b55-4a8b-a77b-f617d67cffd9",
                                    "type": "group"
                                }
                            ],
                            "size": 1
                        }
                    },
                    "unlicensedAccess": false
                },
                {
                    "anonymousAccess": false,
                    "id": 16711721,
                    "operation": {
                        "operation": "administer",
                        "targetType": "space"
                    },
                    "subjects": {
                        "group": {
                            "results": [
                                {
                                    "_links": {
                                        "self": "https://xsoar-bd.atlassian.net/wiki/rest/experimental/group/administrators"
                                    },
                                    "id": "10453df5-f7fc-47be-8ca7-bc2949c1bd5b",
                                    "name": "administrators",
                                    "type": "group"
                                }
                            ],
                            "size": 1
                        }
                    },
                    "unlicensedAccess": false
                },
                {
                    "anonymousAccess": false,
                    "id": 16711722,
                    "operation": {
                        "operation": "delete",
                        "targetType": "page"
                    },
                    "subjects": {
                        "group": {
                            "results": [
                                {
                                    "_links": {
                                        "self": "https://xsoar-bd.atlassian.net/wiki/rest/experimental/group/trusted-users-9704e596-7b55-4a8b-a77b-f617d67cffd9"
                                    },
                                    "id": "5178e800-9b33-4b4b-9854-1fdd6776bd42",
                                    "name": "trusted-users-9704e596-7b55-4a8b-a77b-f617d67cffd9",
                                    "type": "group"
                                }
                            ],
                            "size": 1
                        }
                    },
                    "unlicensedAccess": false
                },
                {
                    "anonymousAccess": false,
                    "id": 16711723,
                    "operation": {
                        "operation": "delete",
                        "targetType": "space"
                    },
                    "subjects": {
                        "user": {
                            "results": [
                                {
                                    "_links": {
                                        "self": "https://xsoar-bd.atlassian.net/wiki/rest/api/user?accountId=5ff2e30b4d2179006ea18449"
                                    },
                                    "accountId": "5ff2e30b4d2179006ea18449",
                                    "accountType": "atlassian",
                                    "displayName": "John Doe",
                                    "email": "dummy.dummy@dummy.com",
                                    "isExternalCollaborator": false,
                                    "profilePicture": {
                                        "height": 48,
                                        "isDefault": false,
                                        "path": "/wiki/aa-avatar/5ff2e30b4d2179006ea18449",
                                        "width": 48
                                    },
                                    "publicName": "John Doe",
                                    "type": "known"
                                }
                            ],
                            "size": 1
                        }
                    },
                    "unlicensedAccess": false
                },
                {
                    "anonymousAccess": false,
                    "id": 16711725,
                    "operation": {
                        "operation": "delete",
                        "targetType": "space"
                    },
                    "subjects": {
                        "group": {
                            "results": [
                                {
                                    "_links": {
                                        "self": "https://xsoar-bd.atlassian.net/wiki/rest/experimental/group/site-admins"
                                    },
                                    "id": "b7e24fd2-0faa-4eaa-9f87-b764ae157ae7",
                                    "name": "site-admins",
                                    "type": "group"
                                }
                            ],
                            "size": 1
                        }
                    },
                    "unlicensedAccess": false
                },
                {
                    "anonymousAccess": false,
                    "id": 16711726,
                    "operation": {
                        "operation": "delete",
                        "targetType": "attachment"
                    },
                    "subjects": {
                        "group": {
                            "results": [
                                {
                                    "_links": {
                                        "self": "https://xsoar-bd.atlassian.net/wiki/rest/experimental/group/administrators"
                                    },
                                    "id": "10453df5-f7fc-47be-8ca7-bc2949c1bd5b",
                                    "name": "administrators",
                                    "type": "group"
                                }
                            ],
                            "size": 1
                        }
                    },
                    "unlicensedAccess": false
                },
                {
                    "anonymousAccess": false,
                    "id": 16711727,
                    "operation": {
                        "operation": "export",
                        "targetType": "space"
                    },
                    "subjects": {
                        "group": {
                            "results": [
                                {
                                    "_links": {
                                        "self": "https://xsoar-bd.atlassian.net/wiki/rest/experimental/group/trusted-users-9704e596-7b55-4a8b-a77b-f617d67cffd9"
                                    },
                                    "id": "5178e800-9b33-4b4b-9854-1fdd6776bd42",
                                    "name": "trusted-users-9704e596-7b55-4a8b-a77b-f617d67cffd9",
                                    "type": "group"
                                }
                            ],
                            "size": 1
                        }
                    },
                    "unlicensedAccess": false
                },
                {
                    "anonymousAccess": false,
                    "id": 16711728,
                    "operation": {
                        "operation": "create",
                        "targetType": "page"
                    },
                    "subjects": {
                        "group": {
                            "results": [
                                {
                                    "_links": {
                                        "self": "https://xsoar-bd.atlassian.net/wiki/rest/experimental/group/trusted-users-9704e596-7b55-4a8b-a77b-f617d67cffd9"
                                    },
                                    "id": "5178e800-9b33-4b4b-9854-1fdd6776bd42",
                                    "name": "trusted-users-9704e596-7b55-4a8b-a77b-f617d67cffd9",
                                    "type": "group"
                                }
                            ],
                            "size": 1
                        }
                    },
                    "unlicensedAccess": false
                },
                {
                    "anonymousAccess": false,
                    "id": 16711729,
                    "operation": {
                        "operation": "delete",
                        "targetType": "page"
                    },
                    "subjects": {
                        "group": {
                            "results": [
                                {
                                    "_links": {
                                        "self": "https://xsoar-bd.atlassian.net/wiki/rest/experimental/group/administrators"
                                    },
                                    "id": "10453df5-f7fc-47be-8ca7-bc2949c1bd5b",
                                    "name": "administrators",
                                    "type": "group"
                                }
                            ],
                            "size": 1
                        }
                    },
                    "unlicensedAccess": false
                },
                {
                    "anonymousAccess": false,
                    "id": 16711730,
                    "operation": {
                        "operation": "create",
                        "targetType": "attachment"
                    },
                    "subjects": {
                        "group": {
                            "results": [
                                {
                                    "_links": {
                                        "self": "https://xsoar-bd.atlassian.net/wiki/rest/experimental/group/confluence-users"
                                    },
                                    "id": "e50e7fe6-7961-4775-9bbf-99e4b50f8701",
                                    "name": "confluence-users",
                                    "type": "group"
                                }
                            ],
                            "size": 1
                        }
                    },
                    "unlicensedAccess": false
                },
                {
                    "anonymousAccess": false,
                    "id": 16711731,
                    "operation": {
                        "operation": "delete",
                        "targetType": "space"
                    },
                    "subjects": {
                        "group": {
                            "results": [
                                {
                                    "_links": {
                                        "self": "https://xsoar-bd.atlassian.net/wiki/rest/experimental/group/administrators"
                                    },
                                    "id": "10453df5-f7fc-47be-8ca7-bc2949c1bd5b",
                                    "name": "administrators",
                                    "type": "group"
                                }
                            ],
                            "size": 1
                        }
                    },
                    "unlicensedAccess": false
                },
                {
                    "anonymousAccess": false,
                    "id": 16711732,
                    "operation": {
                        "operation": "delete",
                        "targetType": "page"
                    },
                    "subjects": {
                        "user": {
                            "results": [
                                {
                                    "_links": {
                                        "self": "https://xsoar-bd.atlassian.net/wiki/rest/api/user?accountId=5ff2e30b4d2179006ea18449"
                                    },
                                    "accountId": "5ff2e30b4d2179006ea18449",
                                    "accountType": "atlassian",
                                    "displayName": "John Doe",
                                    "email": "dummy.dummy@dummy.com",
                                    "isExternalCollaborator": false,
                                    "profilePicture": {
                                        "height": 48,
                                        "isDefault": false,
                                        "path": "/wiki/aa-avatar/5ff2e30b4d2179006ea18449",
                                        "width": 48
                                    },
                                    "publicName": "John Doe",
                                    "type": "known"
                                }
                            ],
                            "size": 1
                        }
                    },
                    "unlicensedAccess": false
                },
                {
                    "anonymousAccess": false,
                    "id": 16711733,
                    "operation": {
                        "operation": "delete",
                        "targetType": "blogpost"
                    },
                    "subjects": {
                        "user": {
                            "results": [
                                {
                                    "_links": {
                                        "self": "https://xsoar-bd.atlassian.net/wiki/rest/api/user?accountId=5ff2e30b4d2179006ea18449"
                                    },
                                    "accountId": "5ff2e30b4d2179006ea18449",
                                    "accountType": "atlassian",
                                    "displayName": "John Doe",
                                    "email": "dummy.dummy@dummy.com",
                                    "isExternalCollaborator": false,
                                    "profilePicture": {
                                        "height": 48,
                                        "isDefault": false,
                                        "path": "/wiki/aa-avatar/5ff2e30b4d2179006ea18449",
                                        "width": 48
                                    },
                                    "publicName": "John Doe",
                                    "type": "known"
                                }
                            ],
                            "size": 1
                        }
                    },
                    "unlicensedAccess": false
                },
                {
                    "anonymousAccess": false,
                    "id": 16711735,
                    "operation": {
                        "operation": "administer",
                        "targetType": "space"
                    },
                    "subjects": {
                        "group": {
                            "results": [
                                {
                                    "_links": {
                                        "self": "https://xsoar-bd.atlassian.net/wiki/rest/experimental/group/system-administrators"
                                    },
                                    "id": "2fda36d1-e4e0-4307-bc5f-ed0044f6ff2c",
                                    "name": "system-administrators",
                                    "type": "group"
                                }
                            ],
                            "size": 1
                        }
                    },
                    "unlicensedAccess": false
                },
                {
                    "anonymousAccess": false,
                    "id": 16711737,
                    "operation": {
                        "operation": "delete",
                        "targetType": "comment"
                    },
                    "subjects": {
                        "group": {
                            "results": [
                                {
                                    "_links": {
                                        "self": "https://xsoar-bd.atlassian.net/wiki/rest/experimental/group/site-admins"
                                    },
                                    "id": "b7e24fd2-0faa-4eaa-9f87-b764ae157ae7",
                                    "name": "site-admins",
                                    "type": "group"
                                }
                            ],
                            "size": 1
                        }
                    },
                    "unlicensedAccess": false
                },
                {
                    "anonymousAccess": false,
                    "id": 16711738,
                    "operation": {
                        "operation": "create",
                        "targetType": "blogpost"
                    },
                    "subjects": {
                        "group": {
                            "results": [
                                {
                                    "_links": {
                                        "self": "https://xsoar-bd.atlassian.net/wiki/rest/experimental/group/confluence-users"
                                    },
                                    "id": "e50e7fe6-7961-4775-9bbf-99e4b50f8701",
                                    "name": "confluence-users",
                                    "type": "group"
                                }
                            ],
                            "size": 1
                        }
                    },
                    "unlicensedAccess": false
                },
                {
                    "anonymousAccess": false,
                    "id": 16711739,
                    "operation": {
                        "operation": "create",
                        "targetType": "comment"
                    },
                    "subjects": {
                        "group": {
                            "results": [
                                {
                                    "_links": {
                                        "self": "https://xsoar-bd.atlassian.net/wiki/rest/experimental/group/site-admins"
                                    },
                                    "id": "b7e24fd2-0faa-4eaa-9f87-b764ae157ae7",
                                    "name": "site-admins",
                                    "type": "group"
                                }
                            ],
                            "size": 1
                        }
                    },
                    "unlicensedAccess": false
                },
                {
                    "anonymousAccess": false,
                    "id": 16711740,
                    "operation": {
                        "operation": "delete",
                        "targetType": "attachment"
                    },
                    "subjects": {
                        "group": {
                            "results": [
                                {
                                    "_links": {
                                        "self": "https://xsoar-bd.atlassian.net/wiki/rest/experimental/group/trusted-users-9704e596-7b55-4a8b-a77b-f617d67cffd9"
                                    },
                                    "id": "5178e800-9b33-4b4b-9854-1fdd6776bd42",
                                    "name": "trusted-users-9704e596-7b55-4a8b-a77b-f617d67cffd9",
                                    "type": "group"
                                }
                            ],
                            "size": 1
                        }
                    },
                    "unlicensedAccess": false
                },
                {
                    "anonymousAccess": false,
                    "id": 16711741,
                    "operation": {
                        "operation": "administer",
                        "targetType": "space"
                    },
                    "subjects": {
                        "group": {
                            "results": [
                                {
                                    "_links": {
                                        "self": "https://xsoar-bd.atlassian.net/wiki/rest/experimental/group/confluence-users"
                                    },
                                    "id": "e50e7fe6-7961-4775-9bbf-99e4b50f8701",
                                    "name": "confluence-users",
                                    "type": "group"
                                }
                            ],
                            "size": 1
                        }
                    },
                    "unlicensedAccess": false
                },
                {
                    "anonymousAccess": false,
                    "id": 16711742,
                    "operation": {
                        "operation": "administer",
                        "targetType": "space"
                    },
                    "subjects": {
                        "group": {
                            "results": [
                                {
                                    "_links": {
                                        "self": "https://xsoar-bd.atlassian.net/wiki/rest/experimental/group/site-admins"
                                    },
                                    "id": "b7e24fd2-0faa-4eaa-9f87-b764ae157ae7",
                                    "name": "site-admins",
                                    "type": "group"
                                }
                            ],
                            "size": 1
                        }
                    },
                    "unlicensedAccess": false
                },
                {
                    "anonymousAccess": false,
                    "id": 16711743,
                    "operation": {
                        "operation": "export",
                        "targetType": "space"
                    },
                    "subjects": {
                        "group": {
                            "results": [
                                {
                                    "_links": {
                                        "self": "https://xsoar-bd.atlassian.net/wiki/rest/experimental/group/administrators"
                                    },
                                    "id": "10453df5-f7fc-47be-8ca7-bc2949c1bd5b",
                                    "name": "administrators",
                                    "type": "group"
                                }
                            ],
                            "size": 1
                        }
                    },
                    "unlicensedAccess": false
                },
                {
                    "anonymousAccess": false,
                    "id": 16711744,
                    "operation": {
                        "operation": "restrict_content",
                        "targetType": "space"
                    },
                    "subjects": {
                        "group": {
                            "results": [
                                {
                                    "_links": {
                                        "self": "https://xsoar-bd.atlassian.net/wiki/rest/experimental/group/trusted-users-9704e596-7b55-4a8b-a77b-f617d67cffd9"
                                    },
                                    "id": "5178e800-9b33-4b4b-9854-1fdd6776bd42",
                                    "name": "trusted-users-9704e596-7b55-4a8b-a77b-f617d67cffd9",
                                    "type": "group"
                                }
                            ],
                            "size": 1
                        }
                    },
                    "unlicensedAccess": false
                },
                {
                    "anonymousAccess": false,
                    "id": 16711745,
                    "operation": {
                        "operation": "delete",
                        "targetType": "comment"
                    },
                    "subjects": {
                        "user": {
                            "results": [
                                {
                                    "_links": {
                                        "self": "https://xsoar-bd.atlassian.net/wiki/rest/api/user?accountId=5ff2e30b4d2179006ea18449"
                                    },
                                    "accountId": "5ff2e30b4d2179006ea18449",
                                    "accountType": "atlassian",
                                    "displayName": "John Doe",
                                    "email": "dummy.dummy@dummy.com",
                                    "isExternalCollaborator": false,
                                    "profilePicture": {
                                        "height": 48,
                                        "isDefault": false,
                                        "path": "/wiki/aa-avatar/5ff2e30b4d2179006ea18449",
                                        "width": 48
                                    },
                                    "publicName": "John Doe",
                                    "type": "known"
                                }
                            ],
                            "size": 1
                        }
                    },
                    "unlicensedAccess": false
                },
                {
                    "anonymousAccess": false,
                    "id": 16711746,
                    "operation": {
                        "operation": "delete",
                        "targetType": "attachment"
                    },
                    "subjects": {
                        "user": {
                            "results": [
                                {
                                    "_links": {
                                        "self": "https://xsoar-bd.atlassian.net/wiki/rest/api/user?accountId=5ff2e30b4d2179006ea18449"
                                    },
                                    "accountId": "5ff2e30b4d2179006ea18449",
                                    "accountType": "atlassian",
                                    "displayName": "John Doe",
                                    "email": "dummy.dummy@dummy.com",
                                    "isExternalCollaborator": false,
                                    "profilePicture": {
                                        "height": 48,
                                        "isDefault": false,
                                        "path": "/wiki/aa-avatar/5ff2e30b4d2179006ea18449",
                                        "width": 48
                                    },
                                    "publicName": "John Doe",
                                    "type": "known"
                                }
                            ],
                            "size": 1
                        }
                    },
                    "unlicensedAccess": false
                },
                {
                    "anonymousAccess": false,
                    "id": 16711747,
                    "operation": {
                        "operation": "read",
                        "targetType": "space"
                    },
                    "subjects": {
                        "user": {
                            "results": [
                                {
                                    "_links": {
                                        "self": "https://xsoar-bd.atlassian.net/wiki/rest/api/user?accountId=5ff2e30b4d2179006ea18449"
                                    },
                                    "accountId": "5ff2e30b4d2179006ea18449",
                                    "accountType": "atlassian",
                                    "displayName": "John Doe",
                                    "email": "dummy.dummy@dummy.com",
                                    "isExternalCollaborator": false,
                                    "profilePicture": {
                                        "height": 48,
                                        "isDefault": false,
                                        "path": "/wiki/aa-avatar/5ff2e30b4d2179006ea18449",
                                        "width": 48
                                    },
                                    "publicName": "John Doe",
                                    "type": "known"
                                }
                            ],
                            "size": 1
                        }
                    },
                    "unlicensedAccess": false
                },
                {
                    "anonymousAccess": false,
                    "id": 16711748,
                    "operation": {
                        "operation": "create",
                        "targetType": "blogpost"
                    },
                    "subjects": {
                        "group": {
                            "results": [
                                {
                                    "_links": {
                                        "self": "https://xsoar-bd.atlassian.net/wiki/rest/experimental/group/trusted-users-9704e596-7b55-4a8b-a77b-f617d67cffd9"
                                    },
                                    "id": "5178e800-9b33-4b4b-9854-1fdd6776bd42",
                                    "name": "trusted-users-9704e596-7b55-4a8b-a77b-f617d67cffd9",
                                    "type": "group"
                                }
                            ],
                            "size": 1
                        }
                    },
                    "unlicensedAccess": false
                },
                {
                    "anonymousAccess": false,
                    "id": 16711749,
                    "operation": {
                        "operation": "create",
                        "targetType": "attachment"
                    },
                    "subjects": {
                        "group": {
                            "results": [
                                {
                                    "_links": {
                                        "self": "https://xsoar-bd.atlassian.net/wiki/rest/experimental/group/system-administrators"
                                    },
                                    "id": "2fda36d1-e4e0-4307-bc5f-ed0044f6ff2c",
                                    "name": "system-administrators",
                                    "type": "group"
                                }
                            ],
                            "size": 1
                        }
                    },
                    "unlicensedAccess": false
                },
                {
                    "anonymousAccess": false,
                    "id": 16711750,
                    "operation": {
                        "operation": "read",
                        "targetType": "space"
                    },
                    "subjects": {
                        "group": {
                            "results": [
                                {
                                    "_links": {
                                        "self": "https://xsoar-bd.atlassian.net/wiki/rest/experimental/group/site-admins"
                                    },
                                    "id": "b7e24fd2-0faa-4eaa-9f87-b764ae157ae7",
                                    "name": "site-admins",
                                    "type": "group"
                                }
                            ],
                            "size": 1
                        }
                    },
                    "unlicensedAccess": false
                },
                {
                    "anonymousAccess": false,
                    "id": 16711751,
                    "operation": {
                        "operation": "delete",
                        "targetType": "blogpost"
                    },
                    "subjects": {
                        "group": {
                            "results": [
                                {
                                    "_links": {
                                        "self": "https://xsoar-bd.atlassian.net/wiki/rest/experimental/group/administrators"
                                    },
                                    "id": "10453df5-f7fc-47be-8ca7-bc2949c1bd5b",
                                    "name": "administrators",
                                    "type": "group"
                                }
                            ],
                            "size": 1
                        }
                    },
                    "unlicensedAccess": false
                },
                {
                    "anonymousAccess": false,
                    "id": 16711752,
                    "operation": {
                        "operation": "create",
                        "targetType": "comment"
                    },
                    "subjects": {
                        "user": {
                            "results": [
                                {
                                    "_links": {
                                        "self": "https://xsoar-bd.atlassian.net/wiki/rest/api/user?accountId=5ff2e30b4d2179006ea18449"
                                    },
                                    "accountId": "5ff2e30b4d2179006ea18449",
                                    "accountType": "atlassian",
                                    "displayName": "John Doe",
                                    "email": "dummy.dummy@dummy.com",
                                    "isExternalCollaborator": false,
                                    "profilePicture": {
                                        "height": 48,
                                        "isDefault": false,
                                        "path": "/wiki/aa-avatar/5ff2e30b4d2179006ea18449",
                                        "width": 48
                                    },
                                    "publicName": "John Doe",
                                    "type": "known"
                                }
                            ],
                            "size": 1
                        }
                    },
                    "unlicensedAccess": false
                },
                {
                    "anonymousAccess": false,
                    "id": 16711754,
                    "operation": {
                        "operation": "delete",
                        "targetType": "page"
                    },
                    "subjects": {
                        "group": {
                            "results": [
                                {
                                    "_links": {
                                        "self": "https://xsoar-bd.atlassian.net/wiki/rest/experimental/group/site-admins"
                                    },
                                    "id": "b7e24fd2-0faa-4eaa-9f87-b764ae157ae7",
                                    "name": "site-admins",
                                    "type": "group"
                                }
                            ],
                            "size": 1
                        }
                    },
                    "unlicensedAccess": false
                },
                {
                    "anonymousAccess": false,
                    "id": 16711755,
                    "operation": {
                        "operation": "delete",
                        "targetType": "space"
                    },
                    "subjects": {
                        "group": {
                            "results": [
                                {
                                    "_links": {
                                        "self": "https://xsoar-bd.atlassian.net/wiki/rest/experimental/group/system-administrators"
                                    },
                                    "id": "2fda36d1-e4e0-4307-bc5f-ed0044f6ff2c",
                                    "name": "system-administrators",
                                    "type": "group"
                                }
                            ],
                            "size": 1
                        }
                    },
                    "unlicensedAccess": false
                },
                {
                    "anonymousAccess": false,
                    "id": 16711756,
                    "operation": {
                        "operation": "restrict_content",
                        "targetType": "space"
                    },
                    "subjects": {
                        "user": {
                            "results": [
                                {
                                    "_links": {
                                        "self": "https://xsoar-bd.atlassian.net/wiki/rest/api/user?accountId=5ff2e30b4d2179006ea18449"
                                    },
                                    "accountId": "5ff2e30b4d2179006ea18449",
                                    "accountType": "atlassian",
                                    "displayName": "John Doe",
                                    "email": "dummy.dummy@dummy.com",
                                    "isExternalCollaborator": false,
                                    "profilePicture": {
                                        "height": 48,
                                        "isDefault": false,
                                        "path": "/wiki/aa-avatar/5ff2e30b4d2179006ea18449",
                                        "width": 48
                                    },
                                    "publicName": "John Doe",
                                    "type": "known"
                                }
                            ],
                            "size": 1
                        }
                    },
                    "unlicensedAccess": false
                },
                {
                    "anonymousAccess": false,
                    "id": 16711757,
                    "operation": {
                        "operation": "restrict_content",
                        "targetType": "space"
                    },
                    "subjects": {
                        "group": {
                            "results": [
                                {
                                    "_links": {
                                        "self": "https://xsoar-bd.atlassian.net/wiki/rest/experimental/group/confluence-users"
                                    },
                                    "id": "e50e7fe6-7961-4775-9bbf-99e4b50f8701",
                                    "name": "confluence-users",
                                    "type": "group"
                                }
                            ],
                            "size": 1
                        }
                    },
                    "unlicensedAccess": false
                },
                {
                    "anonymousAccess": false,
                    "id": 16711758,
                    "operation": {
                        "operation": "create",
                        "targetType": "blogpost"
                    },
                    "subjects": {
                        "group": {
                            "results": [
                                {
                                    "_links": {
                                        "self": "https://xsoar-bd.atlassian.net/wiki/rest/experimental/group/system-administrators"
                                    },
                                    "id": "2fda36d1-e4e0-4307-bc5f-ed0044f6ff2c",
                                    "name": "system-administrators",
                                    "type": "group"
                                }
                            ],
                            "size": 1
                        }
                    },
                    "unlicensedAccess": false
                },
                {
                    "anonymousAccess": false,
                    "id": 16711760,
                    "operation": {
                        "operation": "create",
                        "targetType": "attachment"
                    },
                    "subjects": {
                        "group": {
                            "results": [
                                {
                                    "_links": {
                                        "self": "https://xsoar-bd.atlassian.net/wiki/rest/experimental/group/trusted-users-9704e596-7b55-4a8b-a77b-f617d67cffd9"
                                    },
                                    "id": "5178e800-9b33-4b4b-9854-1fdd6776bd42",
                                    "name": "trusted-users-9704e596-7b55-4a8b-a77b-f617d67cffd9",
                                    "type": "group"
                                }
                            ],
                            "size": 1
                        }
                    },
                    "unlicensedAccess": false
                },
                {
                    "anonymousAccess": false,
                    "id": 16711761,
                    "operation": {
                        "operation": "delete",
                        "targetType": "attachment"
                    },
                    "subjects": {
                        "group": {
                            "results": [
                                {
                                    "_links": {
                                        "self": "https://xsoar-bd.atlassian.net/wiki/rest/experimental/group/system-administrators"
                                    },
                                    "id": "2fda36d1-e4e0-4307-bc5f-ed0044f6ff2c",
                                    "name": "system-administrators",
                                    "type": "group"
                                }
                            ],
                            "size": 1
                        }
                    },
                    "unlicensedAccess": false
                },
                {
                    "anonymousAccess": false,
                    "id": 16711762,
                    "operation": {
                        "operation": "archive",
                        "targetType": "page"
                    },
                    "subjects": {
                        "user": {
                            "results": [
                                {
                                    "_links": {
                                        "self": "https://xsoar-bd.atlassian.net/wiki/rest/api/user?accountId=5ff2e30b4d2179006ea18449"
                                    },
                                    "accountId": "5ff2e30b4d2179006ea18449",
                                    "accountType": "atlassian",
                                    "displayName": "John Doe",
                                    "email": "dummy.dummy@dummy.com",
                                    "isExternalCollaborator": false,
                                    "profilePicture": {
                                        "height": 48,
                                        "isDefault": false,
                                        "path": "/wiki/aa-avatar/5ff2e30b4d2179006ea18449",
                                        "width": 48
                                    },
                                    "publicName": "John Doe",
                                    "type": "known"
                                }
                            ],
                            "size": 1
                        }
                    },
                    "unlicensedAccess": false
                },
                {
                    "anonymousAccess": false,
                    "id": 16711763,
                    "operation": {
                        "operation": "read",
                        "targetType": "space"
                    },
                    "subjects": {
                        "group": {
                            "results": [
                                {
                                    "_links": {
                                        "self": "https://xsoar-bd.atlassian.net/wiki/rest/experimental/group/administrators"
                                    },
                                    "id": "10453df5-f7fc-47be-8ca7-bc2949c1bd5b",
                                    "name": "administrators",
                                    "type": "group"
                                }
                            ],
                            "size": 1
                        }
                    },
                    "unlicensedAccess": false
                },
                {
                    "anonymousAccess": false,
                    "id": 16711764,
                    "operation": {
                        "operation": "export",
                        "targetType": "space"
                    },
                    "subjects": {
                        "group": {
                            "results": [
                                {
                                    "_links": {
                                        "self": "https://xsoar-bd.atlassian.net/wiki/rest/experimental/group/site-admins"
                                    },
                                    "id": "b7e24fd2-0faa-4eaa-9f87-b764ae157ae7",
                                    "name": "site-admins",
                                    "type": "group"
                                }
                            ],
                            "size": 1
                        }
                    },
                    "unlicensedAccess": false
                },
                {
                    "anonymousAccess": false,
                    "id": 16711765,
                    "operation": {
                        "operation": "create",
                        "targetType": "comment"
                    },
                    "subjects": {
                        "group": {
                            "results": [
                                {
                                    "_links": {
                                        "self": "https://xsoar-bd.atlassian.net/wiki/rest/experimental/group/administrators"
                                    },
                                    "id": "10453df5-f7fc-47be-8ca7-bc2949c1bd5b",
                                    "name": "administrators",
                                    "type": "group"
                                }
                            ],
                            "size": 1
                        }
                    },
                    "unlicensedAccess": false
                },
                {
                    "anonymousAccess": false,
                    "id": 16711767,
                    "operation": {
                        "operation": "create",
                        "targetType": "page"
                    },
                    "subjects": {
                        "group": {
                            "results": [
                                {
                                    "_links": {
                                        "self": "https://xsoar-bd.atlassian.net/wiki/rest/experimental/group/confluence-users"
                                    },
                                    "id": "e50e7fe6-7961-4775-9bbf-99e4b50f8701",
                                    "name": "confluence-users",
                                    "type": "group"
                                }
                            ],
                            "size": 1
                        }
                    },
                    "unlicensedAccess": false
                },
                {
                    "anonymousAccess": false,
                    "id": 16711768,
                    "operation": {
                        "operation": "create",
                        "targetType": "page"
                    },
                    "subjects": {
                        "group": {
                            "results": [
                                {
                                    "_links": {
                                        "self": "https://xsoar-bd.atlassian.net/wiki/rest/experimental/group/site-admins"
                                    },
                                    "id": "b7e24fd2-0faa-4eaa-9f87-b764ae157ae7",
                                    "name": "site-admins",
                                    "type": "group"
                                }
                            ],
                            "size": 1
                        }
                    },
                    "unlicensedAccess": false
                },
                {
                    "anonymousAccess": false,
                    "id": 16711769,
                    "operation": {
                        "operation": "create",
                        "targetType": "page"
                    },
                    "subjects": {
                        "user": {
                            "results": [
                                {
                                    "_links": {
                                        "self": "https://xsoar-bd.atlassian.net/wiki/rest/api/user?accountId=5ff2e30b4d2179006ea18449"
                                    },
                                    "accountId": "5ff2e30b4d2179006ea18449",
                                    "accountType": "atlassian",
                                    "displayName": "John Doe",
                                    "email": "dummy.dummy@dummy.com",
                                    "isExternalCollaborator": false,
                                    "profilePicture": {
                                        "height": 48,
                                        "isDefault": false,
                                        "path": "/wiki/aa-avatar/5ff2e30b4d2179006ea18449",
                                        "width": 48
                                    },
                                    "publicName": "John Doe",
                                    "type": "known"
                                }
                            ],
                            "size": 1
                        }
                    },
                    "unlicensedAccess": false
                },
                {
                    "anonymousAccess": false,
                    "id": 16711770,
                    "operation": {
                        "operation": "delete",
                        "targetType": "blogpost"
                    },
                    "subjects": {
                        "group": {
                            "results": [
                                {
                                    "_links": {
                                        "self": "https://xsoar-bd.atlassian.net/wiki/rest/experimental/group/site-admins"
                                    },
                                    "id": "b7e24fd2-0faa-4eaa-9f87-b764ae157ae7",
                                    "name": "site-admins",
                                    "type": "group"
                                }
                            ],
                            "size": 1
                        }
                    },
                    "unlicensedAccess": false
                },
                {
                    "anonymousAccess": false,
                    "id": 16711771,
                    "operation": {
                        "operation": "export",
                        "targetType": "space"
                    },
                    "subjects": {
                        "group": {
                            "results": [
                                {
                                    "_links": {
                                        "self": "https://xsoar-bd.atlassian.net/wiki/rest/experimental/group/confluence-users"
                                    },
                                    "id": "e50e7fe6-7961-4775-9bbf-99e4b50f8701",
                                    "name": "confluence-users",
                                    "type": "group"
                                }
                            ],
                            "size": 1
                        }
                    },
                    "unlicensedAccess": false
                },
                {
                    "anonymousAccess": false,
                    "id": 16711772,
                    "operation": {
                        "operation": "delete",
                        "targetType": "space"
                    },
                    "subjects": {
                        "group": {
                            "results": [
                                {
                                    "_links": {
                                        "self": "https://xsoar-bd.atlassian.net/wiki/rest/experimental/group/trusted-users-9704e596-7b55-4a8b-a77b-f617d67cffd9"
                                    },
                                    "id": "5178e800-9b33-4b4b-9854-1fdd6776bd42",
                                    "name": "trusted-users-9704e596-7b55-4a8b-a77b-f617d67cffd9",
                                    "type": "group"
                                }
                            ],
                            "size": 1
                        }
                    },
                    "unlicensedAccess": false
                },
                {
                    "anonymousAccess": false,
                    "id": 16711773,
                    "operation": {
                        "operation": "export",
                        "targetType": "space"
                    },
                    "subjects": {
                        "user": {
                            "results": [
                                {
                                    "_links": {
                                        "self": "https://xsoar-bd.atlassian.net/wiki/rest/api/user?accountId=5ff2e30b4d2179006ea18449"
                                    },
                                    "accountId": "5ff2e30b4d2179006ea18449",
                                    "accountType": "atlassian",
                                    "displayName": "John Doe",
                                    "email": "dummy.dummy@dummy.com",
                                    "isExternalCollaborator": false,
                                    "profilePicture": {
                                        "height": 48,
                                        "isDefault": false,
                                        "path": "/wiki/aa-avatar/5ff2e30b4d2179006ea18449",
                                        "width": 48
                                    },
                                    "publicName": "John Doe",
                                    "type": "known"
                                }
                            ],
                            "size": 1
                        }
                    },
                    "unlicensedAccess": false
                },
                {
                    "anonymousAccess": false,
                    "id": 16711774,
                    "operation": {
                        "operation": "delete",
                        "targetType": "comment"
                    },
                    "subjects": {
                        "group": {
                            "results": [
                                {
                                    "_links": {
                                        "self": "https://xsoar-bd.atlassian.net/wiki/rest/experimental/group/administrators"
                                    },
                                    "id": "10453df5-f7fc-47be-8ca7-bc2949c1bd5b",
                                    "name": "administrators",
                                    "type": "group"
                                }
                            ],
                            "size": 1
                        }
                    },
                    "unlicensedAccess": false
                }
            ],
            "status": "current",
            "type": "global"
        }
    }
}

Human Readable Output

Space

ID Name Type Status
16711682 hello_world global current

confluence-cloud-content-create


Creates 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 Command

confluence-cloud-content-create

Input

Argument 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 Output

Path 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

{
    "ConfluenceCloud": {
        "Content": {
            "_expandable": {
                "children": "/rest/api/content/16711862/child",
                "descendants": "/rest/api/content/16711862/descendant",
                "restrictions": "/rest/api/content/16711862/restriction/byOperation"
            },
            "_links": {
                "base": "https://xsoar-bd.atlassian.net/wiki",
                "collection": "/rest/api/content",
                "context": "/wiki",
                "editui": "/pages/resumedraft.action?draftId=16711862",
                "self": "https://xsoar-bd.atlassian.net/wiki/rest/api/content/16711862",
                "tinyui": "/x/tgD-/",
                "webui": "/spaces/XSOAR/pages/16711862/XSOAR_Page_234567"
            },
            "body": {
                "storage": {
                    "_expandable": {
                        "content": "/rest/api/content/16711862"
                    },
                    "representation": "storage"
                }
            },
            "container": {
                "_expandable": {
                    "lookAndFeel": "/rest/api/settings/lookandfeel?spaceKey=XSOAR",
                    "settings": "/rest/api/space/XSOAR/settings",
                    "theme": "/rest/api/space/XSOAR/theme"
                },
                "_links": {
                    "self": "https://xsoar-bd.atlassian.net/wiki/rest/api/space/XSOAR",
                    "webui": "/spaces/XSOAR"
                },
                "history": {
                    "createdBy": {
                        "_links": {
                            "self": "https://xsoar-bd.atlassian.net/wiki/rest/api/user?accountId=5ff2e30b4d2179006ea18449"
                        },
                        "accountId": "5ff2e30b4d2179006ea18449",
                        "accountType": "atlassian",
                        "displayName": "John Doe",
                        "email": "dummy.dummy@dummy.com",
                        "isExternalCollaborator": false,
                        "profilePicture": {
                            "height": 48,
                            "isDefault": false,
                            "path": "/wiki/aa-avatar/5ff2e30b4d2179006ea18449",
                            "width": 48
                        },
                        "publicName": "John Doe",
                        "type": "known"
                    },
                    "createdDate": "2021-08-06T06:18:11.470Z"
                },
                "id": 2064386,
                "key": "XSOAR",
                "name": "XSOAR_Project",
                "status": "current",
                "type": "global"
            },
            "extensions": {
                "position": 618
            },
            "history": {
                "_links": {
                    "self": "https://xsoar-bd.atlassian.net/wiki/rest/api/content/16711862/history"
                },
                "createdBy": {
                    "_links": {
                        "self": "https://xsoar-bd.atlassian.net/wiki/rest/api/user?accountId=5ff2e30b4d2179006ea18449"
                    },
                    "accountId": "5ff2e30b4d2179006ea18449",
                    "accountType": "atlassian",
                    "displayName": "John Doe",
                    "email": "dummy.dummy@dummy.com",
                    "isExternalCollaborator": false,
                    "profilePicture": {
                        "height": 48,
                        "isDefault": false,
                        "path": "/wiki/aa-avatar/5ff2e30b4d2179006ea18449",
                        "width": 48
                    },
                    "publicName": "John Doe",
                    "type": "known"
                },
                "createdDate": "2021-09-02T06:36:33.937Z",
                "latest": true
            },
            "id": "16711862",
            "space": {
                "_expandable": {
                    "lookAndFeel": "/rest/api/settings/lookandfeel?spaceKey=XSOAR",
                    "settings": "/rest/api/space/XSOAR/settings",
                    "theme": "/rest/api/space/XSOAR/theme"
                },
                "_links": {
                    "self": "https://xsoar-bd.atlassian.net/wiki/rest/api/space/XSOAR",
                    "webui": "/spaces/XSOAR"
                },
                "id": 2064386,
                "key": "XSOAR",
                "name": "XSOAR_Project",
                "status": "current",
                "type": "global"
            },
            "status": "current",
            "title": "XSOAR_Page_234567",
            "type": "page",
            "version": {
                "_expandable": {
                    "content": "/rest/api/content/16711862"
                },
                "_links": {
                    "self": "https://xsoar-bd.atlassian.net/wiki/rest/api/content/16711862/version/1"
                },
                "by": {
                    "_links": {
                        "self": "https://xsoar-bd.atlassian.net/wiki/rest/api/user?accountId=5ff2e30b4d2179006ea18449"
                    },
                    "accountId": "5ff2e30b4d2179006ea18449",
                    "accountType": "atlassian",
                    "displayName": "John Doe",
                    "email": "dummy.dummy@dummy.com",
                    "isExternalCollaborator": false,
                    "profilePicture": {
                        "height": 48,
                        "isDefault": false,
                        "path": "/wiki/aa-avatar/5ff2e30b4d2179006ea18449",
                        "width": 48
                    },
                    "publicName": "John Doe",
                    "type": "known"
                },
                "confRev": "confluence$content$16711862.2",
                "contentTypeModified": false,
                "friendlyWhen": "just a moment ago",
                "minorEdit": false,
                "number": 1,
                "when": "2021-09-02T06:36:33.937Z"
            }
        }
    }
}

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-create


Creates 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 Command

confluence-cloud-comment-create

Input

Argument 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 Output

Path 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

{
    "ConfluenceCloud": {
        "Comment": {
            "_expandable": {
                "children": "/rest/api/content/16711873/child",
                "descendants": "/rest/api/content/16711873/descendant",
                "restrictions": "/rest/api/content/16711873/restriction/byOperation"
            },
            "_links": {
                "base": "https://xsoar-bd.atlassian.net/wiki",
                "collection": "/rest/api/content",
                "context": "/wiki",
                "self": "https://xsoar-bd.atlassian.net/wiki/rest/api/content/16711873",
                "webui": "/spaces/XSOAR/blog/2021/08/06/2031630/XSOAR_blogpost?focusedCommentId=16711873#comment-16711873"
            },
            "body": {
                "storage": {
                    "_expandable": {
                        "content": "/rest/api/content/16711873"
                    },
                    "representation": "storage",
                    "value": "hello"
                }
            },
            "container": {
                "_expandable": {
                    "children": "/rest/api/content/2031630/child",
                    "container": "/rest/api/space/XSOAR",
                    "descendants": "/rest/api/content/2031630/descendant",
                    "restrictions": "/rest/api/content/2031630/restriction/byOperation",
                    "space": "/rest/api/space/XSOAR"
                },
                "_links": {
                    "editui": "/pages/resumedraft.action?draftId=2031630",
                    "self": "https://xsoar-bd.atlassian.net/wiki/rest/api/content/2031630",
                    "tinyui": "/x/DgAf",
                    "webui": "/spaces/XSOAR/blog/2021/08/06/2031630/XSOAR_blogpost"
                },
                "history": {
                    "_links": {
                        "self": "https://xsoar-bd.atlassian.net/wiki/rest/api/content/2031630/history"
                    },
                    "createdBy": {
                        "_links": {
                            "self": "https://xsoar-bd.atlassian.net/wiki/rest/api/user?accountId=5ff2e30b4d2179006ea18449"
                        },
                        "accountId": "5ff2e30b4d2179006ea18449",
                        "accountType": "atlassian",
                        "displayName": "John Doe",
                        "email": "dummy.dummy@dummy.com",
                        "isExternalCollaborator": false,
                        "profilePicture": {
                            "height": 48,
                            "isDefault": false,
                            "path": "/wiki/aa-avatar/5ff2e30b4d2179006ea18449",
                            "width": 48
                        },
                        "publicName": "John Doe",
                        "type": "known"
                    },
                    "createdDate": "2021-08-06T06:59:04.777Z",
                    "latest": true
                },
                "id": "2031630",
                "status": "current",
                "title": "XSOAR_blogpost",
                "type": "blogpost",
                "version": {
                    "_expandable": {
                        "content": "/rest/api/content/2031630"
                    },
                    "_links": {
                        "self": "https://xsoar-bd.atlassian.net/wiki/rest/api/content/2031630/version/1"
                    },
                    "by": {
                        "_links": {
                            "self": "https://xsoar-bd.atlassian.net/wiki/rest/api/user?accountId=5ff2e30b4d2179006ea18449"
                        },
                        "accountId": "5ff2e30b4d2179006ea18449",
                        "accountType": "atlassian",
                        "displayName": "John Doe",
                        "email": "dummy.dummy@dummy.com",
                        "isExternalCollaborator": false,
                        "profilePicture": {
                            "height": 48,
                            "isDefault": false,
                            "path": "/wiki/aa-avatar/5ff2e30b4d2179006ea18449",
                            "width": 48
                        },
                        "publicName": "John Doe",
                        "type": "known"
                    },
                    "confRev": "confluence$content$2031630.4",
                    "contentTypeModified": false,
                    "friendlyWhen": "Aug 06, 2021",
                    "minorEdit": false,
                    "number": 1,
                    "syncRev": "0.confluence$content$2031630.3",
                    "syncRevSource": "synchrony-ack",
                    "when": "2021-08-06T06:59:04.777Z"
                }
            },
            "extensions": {
                "location": "footer"
            },
            "history": {
                "_links": {
                    "self": "https://xsoar-bd.atlassian.net/wiki/rest/api/content/16711873/history"
                },
                "createdBy": {
                    "_links": {
                        "self": "https://xsoar-bd.atlassian.net/wiki/rest/api/user?accountId=5ff2e30b4d2179006ea18449"
                    },
                    "accountId": "5ff2e30b4d2179006ea18449",
                    "accountType": "atlassian",
                    "displayName": "John Doe",
                    "email": "dummy.dummy@dummy.com",
                    "isExternalCollaborator": false,
                    "profilePicture": {
                        "height": 48,
                        "isDefault": false,
                        "path": "/wiki/aa-avatar/5ff2e30b4d2179006ea18449",
                        "width": 48
                    },
                    "publicName": "John Doe",
                    "type": "known"
                },
                "createdDate": "2021-09-02T06:36:36.737Z",
                "latest": true
            },
            "id": "16711873",
            "space": {
                "_expandable": {
                    "lookAndFeel": "/rest/api/settings/lookandfeel?spaceKey=XSOAR",
                    "settings": "/rest/api/space/XSOAR/settings",
                    "theme": "/rest/api/space/XSOAR/theme"
                },
                "_links": {
                    "self": "https://xsoar-bd.atlassian.net/wiki/rest/api/space/XSOAR",
                    "webui": "/spaces/XSOAR"
                },
                "id": 2064386,
                "key": "XSOAR",
                "name": "XSOAR_Project",
                "status": "current",
                "type": "global"
            },
            "status": "current",
            "title": "Re: XSOAR_blogpost",
            "type": "comment",
            "version": {
                "_expandable": {
                    "content": "/rest/api/content/16711873"
                },
                "_links": {
                    "self": "https://xsoar-bd.atlassian.net/wiki/rest/api/content/16711873/version/1"
                },
                "by": {
                    "_links": {
                        "self": "https://xsoar-bd.atlassian.net/wiki/rest/api/user?accountId=5ff2e30b4d2179006ea18449"
                    },
                    "accountId": "5ff2e30b4d2179006ea18449",
                    "accountType": "atlassian",
                    "displayName": "John Doe",
                    "email": "dummy.dummy@dummy.com",
                    "isExternalCollaborator": false,
                    "profilePicture": {
                        "height": 48,
                        "isDefault": false,
                        "path": "/wiki/aa-avatar/5ff2e30b4d2179006ea18449",
                        "width": 48
                    },
                    "publicName": "John Doe",
                    "type": "known"
                },
                "contentTypeModified": false,
                "friendlyWhen": "just a moment ago",
                "minorEdit": false,
                "number": 1,
                "when": "2021-09-02T06:36:36.737Z"
            }
        }
    }
}

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-list


Returns a list of all Confluence spaces.

Base Command

confluence-cloud-space-list

Input

Argument 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 Output

Path 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

{
    "ConfluenceCloud": {
        "Space": [
            {
                "_expandable": {
                    "homepage": "/rest/api/content/12943822",
                    "lookAndFeel": "/rest/api/settings/lookandfeel?spaceKey=unique2",
                    "settings": "/rest/api/space/unique2/settings",
                    "theme": "/rest/api/space/unique2/theme"
                },
                "_links": {
                    "self": "https://xsoar-bd.atlassian.net/wiki/rest/api/space/unique2",
                    "webui": "/spaces/unique2"
                },
                "history": {
                    "createdBy": {
                        "_links": {
                            "self": "https://xsoar-bd.atlassian.net/wiki/rest/api/user?accountId=5ff2e30b4d2179006ea18449"
                        },
                        "accountId": "5ff2e30b4d2179006ea18449",
                        "accountType": "atlassian",
                        "displayName": "John Doe",
                        "email": "dummy.dummy@dummy.com",
                        "isExternalCollaborator": false,
                        "profilePicture": {
                            "height": 48,
                            "isDefault": false,
                            "path": "/wiki/aa-avatar/5ff2e30b4d2179006ea18449",
                            "width": 48
                        },
                        "publicName": "John Doe",
                        "type": "known"
                    },
                    "createdDate": "2021-08-26T08:50:12.879Z"
                },
                "id": 12943669,
                "key": "unique2",
                "name": "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",
                "status": "current",
                "type": "global"
            },
            {
                "_expandable": {
                    "homepage": "/rest/api/content/12976407",
                    "lookAndFeel": "/rest/api/settings/lookandfeel?spaceKey=unique22",
                    "settings": "/rest/api/space/unique22/settings",
                    "theme": "/rest/api/space/unique22/theme"
                },
                "_links": {
                    "self": "https://xsoar-bd.atlassian.net/wiki/rest/api/space/unique22",
                    "webui": "/spaces/unique22"
                },
                "history": {
                    "createdBy": {
                        "_links": {
                            "self": "https://xsoar-bd.atlassian.net/wiki/rest/api/user?accountId=5ff2e30b4d2179006ea18449"
                        },
                        "accountId": "5ff2e30b4d2179006ea18449",
                        "accountType": "atlassian",
                        "displayName": "John Doe",
                        "email": "dummy.dummy@dummy.com",
                        "isExternalCollaborator": false,
                        "profilePicture": {
                            "height": 48,
                            "isDefault": false,
                            "path": "/wiki/aa-avatar/5ff2e30b4d2179006ea18449",
                            "width": 48
                        },
                        "publicName": "John Doe",
                        "type": "known"
                    },
                    "createdDate": "2021-08-26T13:19:25.526Z"
                },
                "id": 12976314,
                "key": "unique22",
                "name": "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",
                "status": "current",
                "type": "global"
            }
        ]
    }
}

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-list


Returns the list of content of Confluence.

Base Command

confluence-cloud-content-list

Input

Argument 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 Output

Path 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

Context Example

{
    "ConfluenceCloud": {
        "Content": [
            {
                "_expandable": {
                    "children": "/rest/api/content/65639/child",
                    "descendants": "/rest/api/content/65639/descendant",
                    "restrictions": "/rest/api/content/65639/restriction/byOperation"
                },
                "_links": {
                    "editui": "/pages/resumedraft.action?draftId=65639",
                    "self": "https://xsoar-bd.atlassian.net/wiki/rest/api/content/65639",
                    "tinyui": "/x/ZwAB",
                    "webui": "/spaces/~680738455/pages/65639/demo"
                },
                "childTypes": {
                    "attachment": {
                        "_links": {
                            "self": "https://xsoar-bd.atlassian.net/wiki/rest/api/content/65639/child/attachment"
                        },
                        "value": false
                    },
                    "comment": {
                        "_links": {
                            "self": "https://xsoar-bd.atlassian.net/wiki/rest/api/content/65639/child/comment"
                        },
                        "value": true
                    },
                    "page": {
                        "_links": {
                            "self": "https://xsoar-bd.atlassian.net/wiki/rest/api/content/65639/child/page"
                        },
                        "value": true
                    }
                },
                "container": {
                    "_expandable": {
                        "lookAndFeel": "/rest/api/settings/lookandfeel?spaceKey=~680738455",
                        "settings": "/rest/api/space/~680738455/settings",
                        "theme": "/rest/api/space/~680738455/theme"
                    },
                    "_links": {
                        "self": "https://xsoar-bd.atlassian.net/wiki/rest/api/space/~680738455",
                        "webui": "/spaces/~680738455"
                    },
                    "id": 65538,
                    "key": "~680738455",
                    "name": "John Doe",
                    "status": "current",
                    "type": "personal"
                },
                "extensions": {
                    "position": "none"
                },
                "history": {
                    "_links": {
                        "self": "https://xsoar-bd.atlassian.net/wiki/rest/api/content/65639/history"
                    },
                    "createdBy": {
                        "_links": {
                            "self": "https://xsoar-bd.atlassian.net/wiki/rest/api/user?accountId=5ff2e30b4d2179006ea18449"
                        },
                        "accountId": "5ff2e30b4d2179006ea18449",
                        "accountType": "atlassian",
                        "displayName": "John Doe",
                        "email": "dummy.dummy@dummy.com",
                        "isExternalCollaborator": false,
                        "profilePicture": {
                            "height": 48,
                            "isDefault": false,
                            "path": "/wiki/aa-avatar/5ff2e30b4d2179006ea18449",
                            "width": 48
                        },
                        "publicName": "John Doe",
                        "type": "known"
                    },
                    "createdDate": "2021-08-02T09:53:05.077Z",
                    "latest": true
                },
                "id": "65639",
                "space": {
                    "_expandable": {
                        "lookAndFeel": "/rest/api/settings/lookandfeel?spaceKey=~680738455",
                        "settings": "/rest/api/space/~680738455/settings",
                        "theme": "/rest/api/space/~680738455/theme"
                    },
                    "_links": {
                        "self": "https://xsoar-bd.atlassian.net/wiki/rest/api/space/~680738455",
                        "webui": "/spaces/~680738455"
                    },
                    "id": 65538,
                    "key": "~680738455",
                    "name": "John Doe",
                    "status": "current",
                    "type": "personal"
                },
                "status": "current",
                "title": "demo",
                "type": "page",
                "version": {
                    "_expandable": {
                        "content": "/rest/api/content/65639"
                    },
                    "_links": {
                        "self": "https://xsoar-bd.atlassian.net/wiki/rest/api/content/65639/version/4"
                    },
                    "by": {
                        "_links": {
                            "self": "https://xsoar-bd.atlassian.net/wiki/rest/api/user?accountId=5ff2e30b4d2179006ea18449"
                        },
                        "accountId": "5ff2e30b4d2179006ea18449",
                        "accountType": "atlassian",
                        "displayName": "John Doe",
                        "email": "dummy.dummy@dummy.com",
                        "isExternalCollaborator": false,
                        "profilePicture": {
                            "height": 48,
                            "isDefault": false,
                            "path": "/wiki/aa-avatar/5ff2e30b4d2179006ea18449",
                            "width": 48
                        },
                        "publicName": "John Doe",
                        "type": "known"
                    },
                    "confRev": "confluence$content$65639.32",
                    "contentTypeModified": false,
                    "friendlyWhen": "yesterday at 11:39 AM",
                    "minorEdit": false,
                    "number": 4,
                    "syncRev": "0.confluence$content$65639.30",
                    "syncRevSource": "synchrony-ack",
                    "when": "2021-09-01T06:09:38.912Z"
                }
            },
            {
                "_expandable": {
                    "children": "/rest/api/content/65656/child",
                    "descendants": "/rest/api/content/65656/descendant",
                    "restrictions": "/rest/api/content/65656/restriction/byOperation"
                },
                "_links": {
                    "editui": "/pages/resumedraft.action?draftId=65656",
                    "self": "https://xsoar-bd.atlassian.net/wiki/rest/api/content/65656",
                    "tinyui": "/x/eAAB",
                    "webui": "/spaces/~680738455/pages/65656/Product+requirements"
                },
                "ancestors": [
                    {
                        "_expandable": {
                            "children": "/rest/api/content/65639/child",
                            "container": "/rest/api/space/~680738455",
                            "descendants": "/rest/api/content/65639/descendant",
                            "history": "/rest/api/content/65639/history",
                            "restrictions": "/rest/api/content/65639/restriction/byOperation",
                            "space": "/rest/api/space/~680738455"
                        },
                        "_links": {
                            "editui": "/pages/resumedraft.action?draftId=65639",
                            "self": "https://xsoar-bd.atlassian.net/wiki/rest/api/content/65639",
                            "tinyui": "/x/ZwAB",
                            "webui": "/spaces/~680738455/pages/65639/demo"
                        },
                        "extensions": {
                            "position": "none"
                        },
                        "id": "65639",
                        "status": "current",
                        "title": "demo",
                        "type": "page"
                    }
                ],
                "childTypes": {
                    "attachment": {
                        "_links": {
                            "self": "https://xsoar-bd.atlassian.net/wiki/rest/api/content/65656/child/attachment"
                        },
                        "value": false
                    },
                    "comment": {
                        "_links": {
                            "self": "https://xsoar-bd.atlassian.net/wiki/rest/api/content/65656/child/comment"
                        },
                        "value": true
                    },
                    "page": {
                        "_links": {
                            "self": "https://xsoar-bd.atlassian.net/wiki/rest/api/content/65656/child/page"
                        },
                        "value": false
                    }
                },
                "container": {
                    "_expandable": {
                        "lookAndFeel": "/rest/api/settings/lookandfeel?spaceKey=~680738455",
                        "settings": "/rest/api/space/~680738455/settings",
                        "theme": "/rest/api/space/~680738455/theme"
                    },
                    "_links": {
                        "self": "https://xsoar-bd.atlassian.net/wiki/rest/api/space/~680738455",
                        "webui": "/spaces/~680738455"
                    },
                    "id": 65538,
                    "key": "~680738455",
                    "name": "John Doe",
                    "status": "current",
                    "type": "personal"
                },
                "extensions": {
                    "position": 499279072
                },
                "history": {
                    "_links": {
                        "self": "https://xsoar-bd.atlassian.net/wiki/rest/api/content/65656/history"
                    },
                    "createdBy": {
                        "_links": {
                            "self": "https://xsoar-bd.atlassian.net/wiki/rest/api/user?accountId=5ff2e30b4d2179006ea18449"
                        },
                        "accountId": "5ff2e30b4d2179006ea18449",
                        "accountType": "atlassian",
                        "displayName": "John Doe",
                        "email": "dummy.dummy@dummy.com",
                        "isExternalCollaborator": false,
                        "profilePicture": {
                            "height": 48,
                            "isDefault": false,
                            "path": "/wiki/aa-avatar/5ff2e30b4d2179006ea18449",
                            "width": 48
                        },
                        "publicName": "John Doe",
                        "type": "known"
                    },
                    "createdDate": "2021-08-02T09:53:05.312Z",
                    "latest": true
                },
                "id": "65656",
                "space": {
                    "_expandable": {
                        "lookAndFeel": "/rest/api/settings/lookandfeel?spaceKey=~680738455",
                        "settings": "/rest/api/space/~680738455/settings",
                        "theme": "/rest/api/space/~680738455/theme"
                    },
                    "_links": {
                        "self": "https://xsoar-bd.atlassian.net/wiki/rest/api/space/~680738455",
                        "webui": "/spaces/~680738455"
                    },
                    "id": 65538,
                    "key": "~680738455",
                    "name": "John Doe",
                    "status": "current",
                    "type": "personal"
                },
                "status": "current",
                "title": "Product requirements",
                "type": "page",
                "version": {
                    "_expandable": {
                        "content": "/rest/api/content/65656"
                    },
                    "_links": {
                        "self": "https://xsoar-bd.atlassian.net/wiki/rest/api/content/65656/version/1"
                    },
                    "by": {
                        "_links": {
                            "self": "https://xsoar-bd.atlassian.net/wiki/rest/api/user?accountId=5ff2e30b4d2179006ea18449"
                        },
                        "accountId": "5ff2e30b4d2179006ea18449",
                        "accountType": "atlassian",
                        "displayName": "John Doe",
                        "email": "dummy.dummy@dummy.com",
                        "isExternalCollaborator": false,
                        "profilePicture": {
                            "height": 48,
                            "isDefault": false,
                            "path": "/wiki/aa-avatar/5ff2e30b4d2179006ea18449",
                            "width": 48
                        },
                        "publicName": "John Doe",
                        "type": "known"
                    },
                    "confRev": "confluence$content$65656.5",
                    "contentTypeModified": false,
                    "friendlyWhen": "Aug 02, 2021",
                    "minorEdit": false,
                    "number": 1,
                    "syncRev": "0.confluence$content$65656.2",
                    "syncRevSource": "synchrony-ack",
                    "when": "2021-08-02T09:53:05.312Z"
                }
            }
        ]
    }
}

Human Readable Output

Content(s)

ID Title Type Status Space Name Created By Created At Version
65639 demo page current John Doe John Doe 2021-08-02T09:53:05.077Z 2
65656 Product requirements page current John Doe John Doe 2021-08-02T09:53:05.312Z 2

confluence-cloud-content-delete


Delete the content depending on the content’s type and status.


Note: If the content’s type is page or blogpost, it should be moved to trash before deleting permanently.

Base Command

confluence-cloud-content-delete

Input

Argument Name Description Required
content_id The ID of the content to be deleted. Required
deletion_type The deletion type for the content to be deleted.
Possible values: move to trash (current), permanent delete (trashed), permanent delete draft (draft).
Optional

Context Output

There is no context output for this command.

Command Example

!confluence-cloud-content-delete content_id="3704312"

Human Readable Output

Content with Id 3704312 is deleted successfully.

confluence-cloud-content-update


Update the existing content with new content.

Note: Updating draft content is currently not supported.

Base Command

confluence-cloud-content-update

Input

Argument Name Description Required
content_id The ID of the content to be updated. Required
status The updated status of the content.
Possible values: current, trashed, historical, draft.

Note: The term ‘current’ refers to the content that is currently active.

Default is current.
Optional
version The new version for the updated content. Set the version to the current version number incremented by one. If the status changed to ‘draft’, then it must be 1.

Note: To retrieve the current version, execute the confluence-cloud-content-search command using the query=”id={content_id}” argument.
Required
title The updated title of the content. If the field is not changing, set the title to the current title.

Note: The maximum title length is 255 characters.
Required
type The type of content. Set the type to the current type of the content.
Possible values: page, blogpost, comment, attachment.
Required
body_value The body of the content in the relevant format. Optional
body_representation The content format type.
Possible values: view, export_view, styled_view, storage, editor2, anonymous_export_view.

Note: If type is comment, possible values are editor, editor2 or storage.
Optional

Context Output

Path 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 the 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 default.
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 default.
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 Display the information of 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 the 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 the 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-update content_id=2097159 title="testing123" type=page version=5

Context Example

{
    "ConfluenceCloud": {
        "Content": {
            "_expandable": {
                "children": "/rest/api/content/2097159/child",
                "descendants": "/rest/api/content/2097159/descendant",
                "restrictions": "/rest/api/content/2097159/restriction/byOperation"
            },
            "_links": {
                "base": "https://xsoar-bd.atlassian.net/wiki",
                "collection": "/rest/api/content",
                "context": "/wiki",
                "editui": "/pages/resumedraft.action?draftId=2097159",
                "self": "https://xsoar-bd.atlassian.net/wiki/rest/api/content/2097159",
                "tinyui": "/x/BwAg",
                "webui": "/spaces/XSOAR/pages/2097159/testing123"
            },
            "body": {
                "storage": {
                    "_expandable": {
                        "content": "/rest/api/content/2097159"
                    },
                    "representation": "storage"
                }
            },
            "container": {
                "_expandable": {
                    "lookAndFeel": "/rest/api/settings/lookandfeel?spaceKey=XSOAR",
                    "settings": "/rest/api/space/XSOAR/settings",
                    "theme": "/rest/api/space/XSOAR/theme"
                },
                "_links": {
                    "self": "https://xsoar-bd.atlassian.net/wiki/rest/api/space/XSOAR",
                    "webui": "/spaces/XSOAR"
                },
                "history": {
                    "createdBy": {
                        "_links": {
                            "self": "https://xsoar-bd.atlassian.net/wiki/rest/api/user?accountId=5ff2e30b4d2179006ea18449"
                        },
                        "accountId": "5ff2e30b4d2179006ea18449",
                        "accountType": "atlassian",
                        "displayName": "John Doe",
                        "email": "dummy.dummy@dummy.com",
                        "isExternalCollaborator": false,
                        "profilePicture": {
                            "height": 48,
                            "isDefault": false,
                            "path": "/wiki/aa-avatar/5ff2e30b4d2179006ea18449",
                            "width": 48
                        },
                        "publicName": "John Doe",
                        "type": "known"
                    },
                    "createdDate": "2021-08-06T06:18:11.470Z"
                },
                "id": 2064386,
                "key": "XSOAR",
                "name": "XSOAR_Project",
                "status": "current",
                "type": "global"
            },
            "extensions": {
                "position": "none"
            },
            "history": {
                "_links": {
                    "self": "https://xsoar-bd.atlassian.net/wiki/rest/api/content/2097159/history"
                },
                "createdBy": {
                    "_links": {
                        "self": "https://xsoar-bd.atlassian.net/wiki/rest/api/user?accountId=5ff2e30b4d2179006ea18449"
                    },
                    "accountId": "5ff2e30b4d2179006ea18449",
                    "accountType": "atlassian",
                    "displayName": "John Doe",
                    "email": "dummy.dummy@dummy.com",
                    "isExternalCollaborator": false,
                    "profilePicture": {
                        "height": 48,
                        "isDefault": false,
                        "path": "/wiki/aa-avatar/5ff2e30b4d2179006ea18449",
                        "width": 48
                    },
                    "publicName": "John Doe",
                    "type": "known"
                },
                "createdDate": "2021-08-06T06:23:36.076Z",
                "latest": true
            },
            "id": "2097159",
            "space": {
                "_expandable": {
                    "lookAndFeel": "/rest/api/settings/lookandfeel?spaceKey=XSOAR",
                    "settings": "/rest/api/space/XSOAR/settings",
                    "theme": "/rest/api/space/XSOAR/theme"
                },
                "_links": {
                    "self": "https://xsoar-bd.atlassian.net/wiki/rest/api/space/XSOAR",
                    "webui": "/spaces/XSOAR"
                },
                "id": 2064386,
                "key": "XSOAR",
                "name": "XSOAR_Project",
                "status": "current",
                "type": "global"
            },
            "status": "current",
            "title": "testing123",
            "type": "page",
            "version": {
                "_expandable": {
                    "content": "/rest/api/content/2097159"
                },
                "_links": {
                    "self": "https://xsoar-bd.atlassian.net/wiki/rest/api/content/2097159/version/4"
                },
                "by": {
                    "_links": {
                        "self": "https://xsoar-bd.atlassian.net/wiki/rest/api/user?accountId=5ff2e30b4d2179006ea18449"
                    },
                    "accountId": "5ff2e30b4d2179006ea18449",
                    "accountType": "atlassian",
                    "displayName": "John Doe",
                    "email": "dummy.dummy@dummy.com",
                    "isExternalCollaborator": false,
                    "profilePicture": {
                        "height": 48,
                        "isDefault": false,
                        "path": "/wiki/aa-avatar/5ff2e30b4d2179006ea18449",
                        "width": 48
                    },
                    "publicName": "John Doe",
                    "type": "known"
                },
                "confRev": "confluence$content$2097159.25",
                "contentTypeModified": false,
                "friendlyWhen": "38 minutes ago",
                "minorEdit": false,
                "number": 4,
                "syncRev": "0.confluence$content$2097159.22",
                "syncRevSource": "synchrony-ack",
                "when": "2021-09-02T05:58:18.823Z"
            }
        }
    }
}

Human Readable Output

Content

ID Title Type Status Space Name Created By Created At
2097159 testing123 page current XSOAR_Project John Doe 2021-08-06T06:23:36.076Z

confluence-cloud-content-search


Retrieves a list of content using the Confluence Query Language (CQL).

For more information on CQL, see: https://developer.atlassian.com/cloud/confluence/advanced-searching-using-cql/.

Base Command

confluence-cloud-content-search

Input

Argument Name Description Required
query The CQL (Confluence Query Language) string that is used to find the requested content. 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
content_status Filter the result based on the content status.
Possible values: current, draft, archived.

Note: Supports multiple comma-separated values. Possible values are: .
Optional
next_page_token Retrieves the next page records for the given query (next_page_token retrieved in previous content response). 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-search-get.

Note: To separate multiple values, use commas. Expanded properties will be populated in context data only.
Optional

Context Output

Path 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 the 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 (e.g., 2024-01-15T12:34:56Z).
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 (e.g., 2024-01-15T12:34:56Z).
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.
ConfluenceCloud.PageToken.name String The command name.
ConfluenceCloud.PageToken.next_token String The next page token.

confluence-cloud-user-list


Returns a list of users.

Base Command

confluence-cloud-user-list

Input

Argument 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 users.

Note: The minimum value supported is 0 and the maximum value supported is int32.

Default is 0.
Optional

Context Output

Path Type Description
ConfluenceCloud.User.type String Type of the user.
ConfluenceCloud.User.accountId String Account ID of the user.
ConfluenceCloud.User.accountType String Account type of the user.
ConfluenceCloud.User.publicName String The public name or nickname of the user.
ConfluenceCloud.User.profilePicture.path String Path of the user’s profile picture.
ConfluenceCloud.User.profilePicture.width Number Width in pixels of the user’s profile picture.
ConfluenceCloud.User.profilePicture.height Number Height in pixels of the user’s profile picture.
ConfluenceCloud.User.profilePicture.isDefault Boolean Whether the profile picture is the default profile picture.
ConfluenceCloud.User.displayName String Display name of the user.
ConfluenceCloud.User.isExternalCollaborator Boolean Whether the user is an external collaborator user.
ConfluenceCloud.User._links.self String Link to the user.

Command Example

!confluence-cloud-user-list limit=2

Context Example

{
    "ConfluenceCloud": {
        "User": [
            {
                "_links": {
                    "self": "https://xsoar-bd.atlassian.net/wiki/rest/api/user?accountId=5d9afe0010f4800c341a2bba"
                },
                "accountId": "5d9afe0010f4800c341a2bba",
                "displayName": "Opsgenie Incident Timeline",
                "isExternalCollaborator": false,
                "profilePicture": {
                    "height": 48,
                    "isDefault": false,
                    "path": "/wiki/aa-avatar/5d9afe0010f4800c341a2bba",
                    "width": 48
                },
                "publicName": "Opsgenie Incident Timeline",
                "type": "known"
            },
            {
                "_links": {
                    "self": "https://xsoar-bd.atlassian.net/wiki/rest/api/user?accountId=5d9b2860cd50b80dcea8a5b7"
                },
                "accountId": "5d9b2860cd50b80dcea8a5b7",
                "displayName": "Opsgenie Incident Timeline",
                "isExternalCollaborator": false,
                "profilePicture": {
                    "height": 48,
                    "isDefault": false,
                    "path": "/wiki/aa-avatar/5d9b2860cd50b80dcea8a5b7",
                    "width": 48
                },
                "publicName": "Opsgenie Incident Timeline",
                "type": "known"
            }
        ]
    }
}

Human Readable Output

User(s)

Account ID Name User Type
5d9afe0010f4800c341a2bba Opsgenie Incident Timeline known
5d9b2860cd50b80dcea8a5b7 Opsgenie Incident Timeline known

confluence-cloud-group-list


Returns all user groups.

Base Command

confluence-cloud-group-list

Input

Argument 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 groups.

Note: The minimum value supported is 0 and the maximum value supported is int32.

Default is 0.
Optional
access_type The group permission level for which to filter results.
Possible values: user, admin, site-admin.
Optional

Context Output

Path Type Description
ConfluenceCloud.Group.type String Type of the group.
ConfluenceCloud.Group.name String Name of the group.
ConfluenceCloud.Group.id String ID of the group.
ConfluenceCloud.Group._links.self String Link to the group.

Command Example

!confluence-cloud-group-list limit=2

Context Example

{
    "ConfluenceCloud": {
        "Group": [
            {
                "_links": {
                    "self": "https://xsoar-bd.atlassian.net/wiki/rest/experimental/group/administrators"
                },
                "id": "10453df5-f7fc-47be-8ca7-bc2949c1bd5b",
                "name": "administrators",
                "type": "group"
            },
            {
                "_links": {
                    "self": "https://xsoar-bd.atlassian.net/wiki/rest/experimental/group/confluence-users"
                },
                "id": "e50e7fe6-7961-4775-9bbf-99e4b50f8701",
                "name": "confluence-users",
                "type": "group"
            }
        ]
    }
}

Human Readable Output

Group(s)

ID Name
10453df5-f7fc-47be-8ca7-bc2949c1bd5b administrators
e50e7fe6-7961-4775-9bbf-99e4b50f8701 confluence-users

confluence-cloud-get-events


Retrieves a list of events from the Atlassian Confluence Cloud instance.

Base Command

confluence-cloud-get-events

Input

Argument Name Description Required
should_push_events Set this argument to True in order to create events, otherwise the command will only display them. Possible values are: true, false. Default is false. Optional
start_date Filters the results to the records on or after the start date. The start date must be specified as epoch time in milliseconds. Optional
limit The maximum number of records to return per page. Note, this may be restricted by fixed system limits. Optional

Context Output

Path Type Description
ConfluenceCloud.Event.author.type String The type of author who created this event.
ConfluenceCloud.Event.author.displayName String The display nName of the author who created this event.
ConfluenceCloud.Event.author.operations String Nullable. Author’s operations.
ConfluenceCloud.Event.author.username String Username of the author of this event.
ConfluenceCloud.Event.author.userKey String User key of the author of this event.
ConfluenceCloud.Event.author.accountId String Account ID of the author of this event.
ConfluenceCloud.Event.author.accountType String Type of account of the author of this event.
ConfluenceCloud.Event.author.externalCollaborator Boolean Deprecated. Is the author of this event an external collaborator.
ConfluenceCloud.Event.author.isExternalCollaborator Boolean Deprecated. Is the author of this event an external collaborator.
ConfluenceCloud.Event.author.publicName String The public name of the author of this event.
ConfluenceCloud.Event.remoteAddress String The remote address from which the event was performed.
ConfluenceCloud.Event.creationDate Number The creation date-time of the audit record, as a timestamp.
ConfluenceCloud.Event.summary Strings Summary of the audit.
ConfluenceCloud.Event.description String Description of the audit.
ConfluenceCloud.Event.category String Category of the event.
ConfluenceCloud.Event.sysAdmin Boolean Was the event created by a system administrator.
ConfluenceCloud.Event.superAdmin Boolean Was the event created by a super administrator.
ConfluenceCloud.Event.affectedObject.name String Name of the object affected by the event.
ConfluenceCloud.Event.affectedObject.objectType String Type of the object affected by the event.
ConfluenceCloud.Event.changedValues.name String Name of the changed value.
ConfluenceCloud.Event.changedValues.oldValue String The old value before the change the event describes.
ConfluenceCloud.Event.changedValues.hiddenOldValue String The old hidden value before the change the event describes.
ConfluenceCloud.Event.changedValues.newValue String The new value after the change the event describes.
ConfluenceCloud.Event.changedValues.hiddenNewValue String The new hidden value after the change the event describes.
ConfluenceCloud.Event.associatedObjects.name String Name of the associated object.
ConfluenceCloud.Event.associatedObjects.objectType String Type of the associated object.

Command Example

!confluence-cloud-get-events limit=1

Context Example

{
    "ConfluenceCloud": {
        "Event": [
            {
                "author": {
                    "type": "user",
                    "displayName": "<string>",
                    "operations": {},
                    "username": "<string>",
                    "userKey": "<string>",
                    "accountId": "<string>",
                    "accountType": "<string>",
                    "externalCollaborator": true,
                    "isExternalCollaborator": true,
                    "publicName": "<string>"
                },
                "remoteAddress": "<string>",
                "creationDate": 59,
                "summary": "<string>",
                "description": "<string>",
                "category": "<string>",
                "sysAdmin": true,
                "superAdmin": true,
                "affectedObject": {
                    "name": "<string>",
                    "objectType": "<string>"
                },
                "changedValues": [
                    {
                        "name": "<string>",
                        "oldValue": "<string>",
                        "hiddenOldValue": "<string>",
                        "newValue": "<string>",
                        "hiddenNewValue": "<string>"
                    }
                ],
                "associatedObjects": [
                    {
                        "name": "<string>",
                        "objectType": "<string>"
                    }
                ]
            }
        ]
    }
}

confluence-cloud-content-get


Retrieves a piece of content (e.g., page, blogpost) from Confluence Cloud by its ID.

Base Command

confluence-cloud-content-get

Input

Argument Name Description Required
content_id The ID of the content to retrieve. Required

Context Output

Path Type Description
ConfluenceCloud.Content.id String The content ID.
ConfluenceCloud.Content.type String The type of the content (e.g., page, blogpost).
ConfluenceCloud.Content.ari String The Atlassian Resource Identifier (ARI) for the content.
ConfluenceCloud.Content.base64EncodedAri String The Base64 encoded ARI of the content.
ConfluenceCloud.Content.status String The status of the content (e.g., current, archived, draft).
ConfluenceCloud.Content.title String The title of the content.
ConfluenceCloud.Content.body Unknown The body of the content.
ConfluenceCloud.Content.body.storage.value String The raw storage-format value of the content body (may contain HTML/XML).
ConfluenceCloud.Content.body.storage.representation String The representation format of the body (e.g., storage, view).
ConfluenceCloud.Content.body.storage.embeddedContent Unknown A list of embedded content objects in the body.
ConfluenceCloud.Content.body.storage._expandable String Link to the content resource for the body.
ConfluenceCloud.Content.extensions.position Number Position of the content in the page tree or order.
ConfluenceCloud.Content._links.editui String Link to edit the content in the UI.
ConfluenceCloud.Content._links.webui String Web UI link to the content.
ConfluenceCloud.Content._links.edituiv2 String Link to edit the content in the new UI.
ConfluenceCloud.Content._links.context String Context path of the Confluence instance.
ConfluenceCloud.Content._links.self String REST API self link for the content.
ConfluenceCloud.Content._links.tinyui String Tiny link to the content.
ConfluenceCloud.Content._links.collection String Link to the collection of content resources.
ConfluenceCloud.Content._links.base String Base URL of the Confluence site.

Command Example

!confluence-cloud-content-get content_id="123456"

Context Example

{
  "ConfluenceCloud": {
    "Content": {
      "id": "123456",
      "type": "page",
      "ari": "ari:cloud:confluence::content/123456",
      "base64EncodedAri": "YXJpOmNsb3VkOmNvbmZsdWVuY2U6OmNvbnRlbnQvMTIzNDU2",
      "status": "current",
      "title": "Demo Page",
      "body": {
        "storage": {
          "value": "<p>This is a demo body.</p>",
          "representation": "storage",
          "embeddedContent": []
        }
      },
      "extensions": {
        "position": 42
      },
      "_links": {
        "editui": "/pages/editpage.action?pageId=123456",
        "edituiv2": "/wiki/edit-v2/123456",
        "webui": "/spaces/ABC/pages/123456/Demo+Page",
        "context": "/wiki",
        "self": "https://example.atlassian.net/wiki/rest/api/content/123456",
        "tinyui": "/x/abc123",
        "collection": "/rest/api/content",
        "base": "https://example.atlassian.net/wiki"
      }
    }
  }
}

confluence-cloud-oauth-start


Starts the OAuth 2.0 authentication flow. Returns an authorization URL that the user must visit to authorize the integration.

Base Command

confluence-cloud-oauth-start

Input

There are no input arguments for this command.

Context Output

There is no context output for this command.

Command example

!confluence-cloud-oauth-start

confluence-cloud-oauth-complete


Completes the OAuth 2.0 authentication flow by exchanging the authorization code for access and refresh tokens.

Base Command

confluence-cloud-oauth-complete

Input

Argument Name Description Required
code The authorization code received from the OAuth callback URL after user authorization. Required

Context Output

There is no context output for this command.

Command example

!confluence-cloud-oauth-complete code=<authorization_code>

confluence-cloud-oauth-test


Tests the OAuth 2.0 authentication by verifying the current access token is valid.

Base Command

confluence-cloud-oauth-test

Input

There are no input arguments for this command.

Context Output

There is no context output for this command.

Command example

!confluence-cloud-oauth-test

confluence-cloud-get-events


Retrieves a list of events from the Atlassian Confluence Cloud instance. Use this command for development and debugging only, as it may produce duplicate events, exceed API rate limits, or disrupt the fetch mechanism.

Base Command

confluence-cloud-get-events

Input

Argument Name Description Required
should_push_events Set this argument to True in order to create events, otherwise the command will only display them. Possible values are: true, false. Default is false. Optional
start_date Filters the results to the records on or after the start date. The start date must be specified as epoch time in milliseconds. Optional
limit The maximum number of records to return per page. Note, this may be restricted by fixed system limits. Optional

Context Output

Path Type Description
ConfluenceCloud.Event.author.type String The type of author who created this event.
ConfluenceCloud.Event.author.displayName String The display name of the author who created this event.
ConfluenceCloud.Event.author.operations String Nullable. Author’s operations.
ConfluenceCloud.Event.author.username String Username of the author of this event.
ConfluenceCloud.Event.author.userKey String User key of the author of this event.
ConfluenceCloud.Event.author.accountId String Account ID of the author of this event.
ConfluenceCloud.Event.author.accountType String Type of account of the author of this event.
ConfluenceCloud.Event.author.externalCollaborator Boolean Deprecated. Is the author of this event an external collaborator.
ConfluenceCloud.Event.author.isExternalCollaborator Boolean Deprecated. Is the author of this event an external collaborator.
ConfluenceCloud.Event.author.publicName String The public name of the author of this event.
ConfluenceCloud.Event.remoteAddress String The remote address from which the event was performed.
ConfluenceCloud.Event.creationDate Number The creation date-time of the audit record, as a timestamp.
ConfluenceCloud.Event.summary Strings Summary of the audit.
ConfluenceCloud.Event.description String Description of the audit.
ConfluenceCloud.Event.category String Category of the event.
ConfluenceCloud.Event.sysAdmin Boolean Was the event created by a system administrator.
ConfluenceCloud.Event.superAdmin Boolean Was the event created by a super administrator.
ConfluenceCloud.Event.affectedObject.name String Name of the object affected by the event.
ConfluenceCloud.Event.affectedObject.objectType String Type of the object affected by the event.
ConfluenceCloud.Event.changedValues.name String Name of the changed value.
ConfluenceCloud.Event.changedValues.oldValue String The old value before the change the event describes.
ConfluenceCloud.Event.changedValues.hiddenOldValue String The old hidden value before the change the event describes.
ConfluenceCloud.Event.changedValues.newValue String The new value after the change the event describes.
ConfluenceCloud.Event.changedValues.hiddenNewValue String The new hidden value after the change the event describes.
ConfluenceCloud.Event.associatedObjects.name String Name of the associated object.
ConfluenceCloud.Event.associatedObjects.objectType String The type of the associated object.

confluence-cloud-blogpost-create


Creates a new blog post in Confluence Cloud (REST API v2).

Base Command

confluence-cloud-blogpost-create

Input

Argument Name Description Required
space_id The ID of the space where the blog post is created. Retrieve using the confluence-cloud-space-listv2 command. Required
title The title of the blog post. Required
status The status of the blog post to be created. Possible values are: current, draft. Default is current. Optional
body_value The content body value of the blog post. Required
body_representation The content format type of the body value. Possible values are: storage, atlas_doc_format, wiki. Default is storage. Optional

Context Output

Path Type Description
ConfluenceCloud.Blogpost.id String The ID of the blog post.
ConfluenceCloud.Blogpost.status String The status of the blog post.
ConfluenceCloud.Blogpost.title String The title of the blog post.
ConfluenceCloud.Blogpost.spaceId String The ID of the space the blog post belongs to.
ConfluenceCloud.Blogpost.authorId String The account ID of the blog post author.
ConfluenceCloud.Blogpost.createdAt Date Date and time, in ISO 8601 format, when the blog post was created (e.g., 2024-01-15T12:34:56Z).
ConfluenceCloud.Blogpost.version.number Number The version number of the blog post.

Command example

!confluence-cloud-blogpost-create space_id=98765 title="XSOAR Blogpost" body_value="Blog content" body_representation=storage

Context Example

{
    "ConfluenceCloud": {
        "Blogpost": {
            "id": "12345",
            "status": "current",
            "title": "XSOAR Blogpost",
            "spaceId": "98765",
            "authorId": "5ff2e30b4d2179006ea18449",
            "createdAt": "2024-01-01T10:00:00.000Z",
            "version": {
                "number": 1
            }
        }
    }
}

Human Readable Output

Blogpost

ID Title Status Space Id Author Id Created At Version
12345 XSOAR Blogpost current 98765 5ff2e30b4d2179006ea18449 2024-01-01T10:00:00.000Z 1

confluence-cloud-blogpost-update


Updates an existing blog post in Confluence Cloud (REST API v2).

Base Command

confluence-cloud-blogpost-update

Input

Argument Name Description Required
blogpost_id The ID of the blog post to update. Required
version_number The new version number for the blog post. Must be one greater than the current version. Required
title The title of the blog post. Required
status The status of the blog post. Possible values are: current, draft. Default is current. Optional
body_value The content body value of the blog post. Required
body_representation The content format type of the body value. Possible values are: storage, atlas_doc_format, wiki. Default is storage. Optional
version_message A message describing the update for the version history. Optional

Context Output

Path Type Description
ConfluenceCloud.Blogpost.id String The ID of the blog post.
ConfluenceCloud.Blogpost.status String The status of the blog post.
ConfluenceCloud.Blogpost.title String The title of the blog post.
ConfluenceCloud.Blogpost.spaceId String The ID of the space the blog post belongs to.
ConfluenceCloud.Blogpost.version.number Number The version number of the blog post.

Command example

!confluence-cloud-blogpost-update blogpost_id=12345 version_number=2 title="XSOAR Blogpost Updated" body_value="Updated blog"

Context Example

{
    "ConfluenceCloud": {
        "Blogpost": {
            "id": "12345",
            "status": "current",
            "title": "XSOAR Blogpost Updated",
            "spaceId": "98765",
            "version": {
                "number": 2
            }
        }
    }
}

Human Readable Output

Blogpost

ID Title Status Space Id Version
12345 XSOAR Blogpost Updated current 98765 2

confluence-cloud-footer-comment-create


Creates a footer comment in Confluence Cloud (REST API v2).

Base Command

confluence-cloud-footer-comment-create

Input

Argument Name Description Required
body_value The content body value of the comment. Required
body_representation The content format type of the body value. Possible values are: storage, atlas_doc_format. Default is storage. Optional
page_id The ID of the page to attach the comment to. One of page_id, blogpost_id, parent_comment_id, attachment_id, or custom_content_id is required. Optional
blogpost_id The ID of the blog post to attach the comment to. Optional
parent_comment_id The ID of the parent comment to reply to. Optional
attachment_id The ID of the attachment to attach the comment to. Optional
custom_content_id The ID of the custom content to attach the comment to. Optional

Context Output

Path Type Description
ConfluenceCloud.Comment.id String The ID of the comment.
ConfluenceCloud.Comment.status String The status of the comment.
ConfluenceCloud.Comment.pageId String The ID of the page the comment belongs to.
ConfluenceCloud.Comment.blogPostId String The ID of the blog post the comment belongs to.
ConfluenceCloud.Comment.parentCommentId String The ID of the parent comment.
ConfluenceCloud.Comment.version.number Number The version number of the comment.

Command example

!confluence-cloud-footer-comment-create page_id=12345 body_value="A footer comment"

Context Example

{
    "ConfluenceCloud": {
        "Comment": {
            "id": "98765",
            "status": "current",
            "pageId": "12345",
            "version": {
                "number": 1
            }
        }
    }
}

Human Readable Output

Footer Comment

ID Status Page Id Version
98765 current 12345 1

confluence-cloud-page-update


Updates an existing page in Confluence Cloud (REST API v2).

Base Command

confluence-cloud-page-update

Input

Argument Name Description Required
page_id The ID of the page to update. Required
version_number The new version number for the page. Must be one greater than the current version. Required
title The title of the page. Required
status The status of the page. Possible values are: current, draft. Default is current. Required
body_value The content body value of the page. Required
body_representation The content format type of the body value. Possible values are: storage, atlas_doc_format, wiki. Default is storage. Optional
space_id The ID of the space to move the page to. Optional
version_message A message describing the update for the version history. Optional

Context Output

Path Type Description
ConfluenceCloud.Page.id String The ID of the page.
ConfluenceCloud.Page.status String The status of the page.
ConfluenceCloud.Page.title String The title of the page.
ConfluenceCloud.Page.spaceId String The ID of the space the page belongs to.
ConfluenceCloud.Page.version.number Number The version number of the page.

Command example

!confluence-cloud-page-update page_id=12345 version_number=2 title="XSOAR Page Updated" body_value="Updated content"

Context Example

{
    "ConfluenceCloud": {
        "Page": {
            "id": "12345",
            "status": "current",
            "title": "XSOAR Page Updated",
            "spaceId": "98765",
            "version": {
                "number": 2
            }
        }
    }
}

Human Readable Output

Page

ID Title Status Space Id Version
12345 XSOAR Page Updated current 98765 2

confluence-cloud-space-createv2


Creates a new space in Confluence Cloud (REST API v2).

Base Command

confluence-cloud-space-createv2

Input

Argument Name Description Required
name The name of the new space. The maximum length is 200 characters. Required
key The key for the new space. It can contain any alphanumeric character (a-z, 0-9). The maximum length is 255 characters. Required
description_value The description text of the new space. Optional
description_format The format of the space description. Possible values are: plain, view. Default is plain. Optional
role_assignments A JSON array of role assignments granting access to principals. For example: [{“principal”: {“type”: “user”, “id”: “<accountId>”}, “roleId”: “<roleId>”}]. Optional

Context Output

Path Type Description
ConfluenceCloud.Space.id String The ID of the space.
ConfluenceCloud.Space.key String The key of the space.
ConfluenceCloud.Space.name String The name of the space.
ConfluenceCloud.Space.type String The type of the space.
ConfluenceCloud.Space.status String The status of the space.

Command example

!confluence-cloud-space-createv2 name="Engineering" key="ENG"

Context Example

{
    "ConfluenceCloud": {
        "Space": {
            "id": "98765",
            "key": "ENG",
            "name": "Engineering",
            "status": "current",
            "type": "global"
        }
    }
}

Human Readable Output

Space

Id Key Name Type Status
98765 ENG Engineering global current

confluence-cloud-page-create


Creates a new page in Confluence Cloud (REST API v2).

Base Command

confluence-cloud-page-create

Input

Argument Name Description Required
space_id The ID of the space where the page is created. Retrieve using the confluence-cloud-space-listv2 command. Required
title The title of the page. Required
status The status of the page to be created. Possible values are: current, draft. Default is current. Optional
body_value The content body value of the page. Required
body_representation The content format type of the body value. Possible values are: storage, atlas_doc_format, wiki. Default is storage. Optional
parent_id The ID of the parent page under which the new page is created. Optional

Context Output

Path Type Description
ConfluenceCloud.Page.id String The ID of the page.
ConfluenceCloud.Page.status String The status of the page.
ConfluenceCloud.Page.title String The title of the page.
ConfluenceCloud.Page.spaceId String The ID of the space the page belongs to.
ConfluenceCloud.Page.parentId String The ID of the parent page.
ConfluenceCloud.Page.authorId String The account ID of the page author.
ConfluenceCloud.Page.createdAt Date Date and time, in ISO 8601 format, when the page was created (e.g., 2024-01-15T12:34:56Z).
ConfluenceCloud.Page.version.number Number The version number of the page.

Command example

!confluence-cloud-page-create space_id=98765 title="Getting Started" body_value="Welcome to the team"

Context Example

{
    "ConfluenceCloud": {
        "Page": {
            "authorId": "5ff2e30b4d2179006ea18449",
            "createdAt": "2024-01-15T12:34:56Z",
            "id": "12345",
            "spaceId": "98765",
            "status": "current",
            "title": "Getting Started",
            "version": {
                "number": 1
            }
        }
    }
}

Human Readable Output

Page

Id Title Status Space Id Author Id Created At Version
12345 Getting Started current 98765 5ff2e30b4d2179006ea18449 2024-01-15T12:34:56Z 1

confluence-cloud-space-listv2


Returns a list of spaces from Confluence Cloud (REST API v2).

Base Command

confluence-cloud-space-listv2

Input

Argument Name Description Required
ids A comma-separated list of space IDs to filter by. Optional
keys A comma-separated list of space keys to filter by. Optional
type The type of spaces to filter by. Possible values are: global, personal. Optional
status The status of spaces to filter by. Possible values are: current, archived. Optional
sort Ordering of the results by a particular field. Prefix with ‘-‘ for descending order. Optional
limit The maximum number of records to return. Value must be between 1 and 250. Default is 50. Optional
cursor The cursor to use for fetching the next page of results (from a previous run’s ConfluenceCloud.PageToken output). Optional

Context Output

Path Type Description
ConfluenceCloud.Space.id String The ID of the space.
ConfluenceCloud.Space.key String The key of the space.
ConfluenceCloud.Space.name String The name of the space.
ConfluenceCloud.Space.type String The type of the space.
ConfluenceCloud.Space.status String The status of the space.
ConfluenceCloud.PageToken.Content.next_page_token String The cursor to use for fetching the next page of results.
ConfluenceCloud.PageToken.Content.name String The name of the command that produced the page token.

Command example

!confluence-cloud-space-listv2 limit=2

Context Example

{
    "ConfluenceCloud": {
        "Space": [
            {
                "id": "98765",
                "key": "ENG",
                "name": "Engineering",
                "status": "current",
                "type": "global"
            },
            {
                "id": "98766",
                "key": "MKT",
                "name": "Marketing",
                "status": "current",
                "type": "global"
            }
        ]
    }
}

Human Readable Output

Space(s)

Id Key Name Type Status
98765 ENG Engineering global current
98766 MKT Marketing global current

confluence-cloud-blogpost-delete


Deletes a blog post in Confluence Cloud (REST API v2).

Base Command

confluence-cloud-blogpost-delete

Input

Argument Name Description Required
blogpost_id The ID of the blog post to delete. Required
purge Whether to permanently purge the blog post from the trash. Requires the blog post to already be in the trash. Possible values are: true, false. Default is false. Optional

Context Output

There is no context output for this command.

Command example

!confluence-cloud-blogpost-delete blogpost_id=12345

Human Readable Output

Blogpost with ID “12345” was deleted successfully.

confluence-cloud-page-list


Returns a list of pages from Confluence Cloud (REST API v2).

Base Command

confluence-cloud-page-list

Input

Argument Name Description Required
id A comma-separated list of page IDs to filter by. Optional
space_id A comma-separated list of space IDs to filter by. Optional
status The status of pages to filter by. Possible values are: current, archived, deleted, trashed. Optional
title The title of pages to filter by. Optional
subtype The subtype of pages to filter by. Possible values are: page, live. Optional
sort Ordering of the results by a particular field. Prefix with ‘-‘ for descending order. Optional
limit The maximum number of records to return. Value must be between 1 and 250. Default is 50. Optional
cursor The cursor to use for fetching the next page of results (from a previous run’s ConfluenceCloud.PageToken output). Optional

Context Output

Path Type Description
ConfluenceCloud.Page.id String The ID of the page.
ConfluenceCloud.Page.status String The status of the page.
ConfluenceCloud.Page.title String The title of the page.
ConfluenceCloud.Page.spaceId String The ID of the space the page belongs to.
ConfluenceCloud.Page.authorId String The account ID of the page author.
ConfluenceCloud.Page.createdAt Date Date and time, in ISO 8601 format, when the page was created (e.g., 2024-01-15T12:34:56Z).
ConfluenceCloud.PageToken.Content.next_page_token String The cursor to use for fetching the next page of results.
ConfluenceCloud.PageToken.Content.name String The name of the command that produced the page token.

Command example

!confluence-cloud-page-list limit=2

Context Example

{
    "ConfluenceCloud": {
        "Page": [
            {
                "authorId": "5ff2e30b4d2179006ea18449",
                "createdAt": "2024-01-15T12:34:56Z",
                "id": "12345",
                "spaceId": "98765",
                "status": "current",
                "title": "Getting Started"
            },
            {
                "authorId": "5ff2e30b4d2179006ea18449",
                "createdAt": "2024-01-14T09:10:11Z",
                "id": "12346",
                "spaceId": "98765",
                "status": "current",
                "title": "Onboarding Guide"
            }
        ]
    }
}

Human Readable Output

Page(s)

Id Title Status Space Id Author Id Created At
12345 Getting Started current 98765 5ff2e30b4d2179006ea18449 2024-01-15T12:34:56Z
12346 Onboarding Guide current 98765 5ff2e30b4d2179006ea18449 2024-01-14T09:10:11Z

confluence-cloud-blogpost-list


Returns a list of blog posts from Confluence Cloud (REST API v2).

Base Command

confluence-cloud-blogpost-list

Input

Argument Name Description Required
id A comma-separated list of blog post IDs to filter by. Optional
space_id A comma-separated list of space IDs to filter by. Optional
status The status of blog posts to filter by. Possible values are: current, deleted, trashed. Optional
title The title of blog posts to filter by. Optional
sort Ordering of the results by a particular field. Prefix with ‘-‘ for descending order. Optional
limit The maximum number of records to return. Value must be between 1 and 250. Default is 50. Optional
cursor The cursor to use for fetching the next page of results (from a previous run’s ConfluenceCloud.PageToken output). Optional

Context Output

Path Type Description
ConfluenceCloud.Blogpost.id String The ID of the blog post.
ConfluenceCloud.Blogpost.status String The status of the blog post.
ConfluenceCloud.Blogpost.title String The title of the blog post.
ConfluenceCloud.Blogpost.spaceId String The ID of the space the blog post belongs to.
ConfluenceCloud.Blogpost.authorId String The account ID of the blog post author.
ConfluenceCloud.Blogpost.createdAt Date Date and time, in ISO 8601 format, when the blog post was created (e.g., 2024-01-15T12:34:56Z).
ConfluenceCloud.PageToken.Content.next_page_token String The cursor to use for fetching the next page of results.
ConfluenceCloud.PageToken.Content.name String The name of the command that produced the page token.

Command example

!confluence-cloud-blogpost-list limit=2

Context Example

{
    "ConfluenceCloud": {
        "Blogpost": [
            {
                "authorId": "5ff2e30b4d2179006ea18449",
                "createdAt": "2024-01-15T12:34:56Z",
                "id": "12345",
                "spaceId": "98765",
                "status": "current",
                "title": "Quarterly Update"
            },
            {
                "authorId": "5ff2e30b4d2179006ea18449",
                "createdAt": "2024-01-14T09:10:11Z",
                "id": "12346",
                "spaceId": "98765",
                "status": "current",
                "title": "Release Announcement"
            }
        ]
    }
}

Human Readable Output

Blogpost(s)

Id Title Status Space Id Author Id Created At
12345 Quarterly Update current 98765 5ff2e30b4d2179006ea18449 2024-01-15T12:34:56Z
12346 Release Announcement current 98765 5ff2e30b4d2179006ea18449 2024-01-14T09:10:11Z

confluence-cloud-page-delete


Deletes a page in Confluence Cloud (REST API v2).

Base Command

confluence-cloud-page-delete

Input

Argument Name Description Required
page_id The ID of the page to delete. Required
purge Whether to permanently purge the page from the trash. Requires the page to already be in the trash. Possible values are: true, false. Default is false. Optional

Context Output

There is no context output for this command.

Command example

!confluence-cloud-page-delete page_id=12345

Human Readable Output

Page with ID “12345” was deleted successfully.

<~PLATFORM>

License Requirements

The following configuration parameters require the Cortex XSIAM license:

  • Fetch Events

</~PLATFORM>

Configuration parameters

  • url — Site Name (e.g., https://${site-name}.atlassian.net) (required)
  • auth_method — Authentication Method
  • username — Email
  • cloud_id — Cloud ID
  • callback_url — Callback URL
  • client_credentials — Client ID
  • proxy — Use system proxy settings
  • insecure — Trust any certificate (not secure)
  • eventFetchInterval — Events Fetch Interval
  • max_events_per_fetch — Max number of events per fetch
  • isFetchEvents — Fetch Events

Commands (27)

  • confluence-cloud-blogpost-create

    Creates a new blog post in Confluence Cloud (REST API v2).

  • confluence-cloud-blogpost-delete

    Deletes a blog post in Confluence Cloud (REST API v2).

  • confluence-cloud-blogpost-list

    Returns a list of blog posts from Confluence Cloud (REST API v2).

  • confluence-cloud-blogpost-update

    Updates an existing blog post in Confluence Cloud (REST API v2).

  • confluence-cloud-comment-create Deprecated

    Deprecated. Use confluence-cloud-footer-comment-create instead. Creates a comment for the given content. Note: To view the expansion of the content properties, execute the confluence-cloud-content-list and confluence-cloud-content-search commands.

  • confluence-cloud-content-create Deprecated

    Deprecated. Use confluence-cloud-page-create or confluence-cloud-blogpost-create instead. Creates a page or blogpost for a given space. Note: To view the expansion of content properties, execute the confluence-cloud-content-list and confluence-cloud-content-search commands.

  • confluence-cloud-content-delete Deprecated

    Deprecated. Use confluence-cloud-page-delete or confluence-cloud-blogpost-delete instead. Delete the content depending on the content's type and status. Note: If the content's type is page or blogpost, it should be moved to trash before deleting permanently.

  • confluence-cloud-content-get Deprecated

    Deprecated. Use confluence-cloud-page-list or confluence-cloud-blogpost-list instead. Retrieves a Content Item by its Content ID.

  • confluence-cloud-content-list Deprecated

    Deprecated. Use confluence-cloud-page-list or confluence-cloud-blogpost-list instead. Returns the list of content of Confluence.

  • confluence-cloud-content-search

    Retrieves a list of content using the Confluence Query Language (CQL). For more information on CQL, see: https://developer.atlassian.com/cloud/confluence/advanced-searching-using-cql/.

  • confluence-cloud-content-update Deprecated

    Deprecated. Use confluence-cloud-page-update or confluence-cloud-blogpost-update instead. Update the existing content with new content. Note: Updating draft content is currently not supported.

  • confluence-cloud-footer-comment-create

    Creates a footer comment in Confluence Cloud (REST API v2).

  • confluence-cloud-get-events

    Retrieves a list of events from the Atlassian Confluence Cloud instance. Use this command for development and debugging only, as it may produce duplicate events, exceed API rate limits, or disrupt the fetch mechanism.

  • confluence-cloud-group-list

    Returns all user groups.

  • confluence-cloud-oauth-complete

    Completes the OAuth 2.0 authentication flow by exchanging the authorization code for access and refresh tokens.

  • confluence-cloud-oauth-start

    Starts the OAuth 2.0 authentication flow. Returns an authorization URL that the user must visit to authorize the integration.

  • confluence-cloud-oauth-test

    Tests the OAuth 2.0 authentication by verifying the current access token is valid.

  • confluence-cloud-page-create

    Creates a new page in Confluence Cloud (REST API v2).

  • confluence-cloud-page-delete

    Deletes a page in Confluence Cloud (REST API v2).

  • confluence-cloud-page-list

    Returns a list of pages from Confluence Cloud (REST API v2).

  • confluence-cloud-page-update

    Updates an existing page in Confluence Cloud (REST API v2).

  • confluence-cloud-space-create

    Creates a new space. Note: If no permissions are specified, the default space permissions defined by the Confluence cloud account admin will be used.

  • confluence-cloud-space-createv2

    Creates a new space in Confluence Cloud (REST API v2).

  • confluence-cloud-space-list Deprecated

    Deprecated. Use confluence-cloud-space-listv2 instead. Returns a list of all Confluence spaces.

  • confluence-cloud-space-listv2

    Returns a list of spaces from Confluence Cloud (REST API v2).

  • confluence-cloud-user-list

    Returns a list of users.

  • get-file-content

    Retrieves content from a Confluence page by its URL and returns it in a generic unified format under the FileContent context key. The command automatically extracts the content ID from the URL.

## Atlassian Confluence Cloud Integration Help

Register for an account on [Confluence Cloud](https://www.atlassian.com/software/confluence?&aceid=&adposition=&adgroup=101907929911&campaign=9612158811&creative=425988944117&device=c&keyword=confluence%20cloud&matchtype=e&network=g&placement=&ds_kids=p52349416713&ds_e=GOOGLE&ds_eid=700000001542923&ds_e1=GOOGLE&gclid=CjwKCAjwmeiIBhA6EiwA-uaeFbxU-wiqFNoxltPxNhqPoCIBuKQsopVLzAlxJkcuf_UfWL81Jp2lJhoCZycQAvD_BwE&gclsrc=aw.ds) using your work email address.

This integration supports two authentication methods:

### Option 1: Basic Authentication (Email + API Token)

#### Create an API token
- Log in to the [Confluence Cloud](https://id.atlassian.com/manage/api-tokens) account.
- Click the "Create API Token" button.
- Enter a label for the token and click the "Create" button.

### Option 2: OAuth 2.0 Authentication

OAuth 2.0 provides a more secure authentication method using the Atlassian Developer Console.

#### Prerequisites
1. Access to the [Atlassian Developer Console](https://developer.atlassian.com/console/myapps/)
2. Admin access to your Confluence Cloud instance

#### Create an OAuth 2.0 App
1. Go to the [Atlassian Developer Console](https://developer.atlassian.com/console/myapps/)
2. Click **Create** and select **OAuth 2.0 integration**
3. Enter a name for your app and click **Create**
4. Navigate to **Permissions** and add the required Confluence API scopes. The integration uses the Confluence REST API v2 and requires the following granular scopes:
   - `read:audit-log:confluence`**Required for event fetching** (audit log access)
   - `read:content:confluence`, `write:content:confluence`, `delete:content:confluence` — Read, write, and delete content
   - `read:content-details:confluence` — Read content details
   - `read:page:confluence`, `write:page:confluence`, `delete:page:confluence` — Read, write, and delete pages
   - `read:blogpost:confluence`, `write:blogpost:confluence`, `delete:blogpost:confluence` — Read, write, and delete blog posts
   - `read:custom-content:confluence`, `write:custom-content:confluence`, `delete:custom-content:confluence` — Manage custom content
   - `read:comment:confluence`, `write:comment:confluence` — Read and write footer comments
   - `write:template:confluence` — Manage templates
   - `read:space:confluence`, `write:space:confluence`, `delete:space:confluence` — Read, write, and delete spaces
   - `read:space-details:confluence` — Read space details
   - `read:group:confluence` — Read group information
   - `offline_access` — Enables refresh token for unattended access
5. Navigate to **Authorization** and configure the callback URL
6. Navigate to **Settings** to find your Client ID and Client Secret

#### Find Your Cloud ID
Your Cloud ID can be found by:
1. Navigate to your Confluence instance (e.g., https://your-site.atlassian.net)
2. Go to `https://your-site.atlassian.net/_edge/tenant_info`
3. The `cloudId` field contains your Cloud ID

#### Configure the Integration
1. Select **oauth** as the **Authentication Type**
2. Enter your Client ID
3. Enter your Client Secret
4. Enter your Cloud ID

> **Note:** Upgrading from a previous version? The new REST API v2 commands (pages, blog posts, footer comments, and spaces) need additional granular OAuth scopes. Add the scopes listed above to your OAuth 2.0 app, then re-authenticate by running `!confluence-cloud-oauth-start` and `!confluence-cloud-oauth-complete`. This reissues the access token with the new permissions.