jira-spaces

Create, list, and delete Confluence spaces via the REST API.

10|1|Updated Dec 11, 2025
One-click install
npx skills add https://github.com/01000001-01001110/agent-jira-skills --skill jira-spaces
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: jira-spaces
Source: https://github.com/01000001-01001110/agent-jira-skills/tree/main/jira-spaces
Command: npx skills add https://github.com/01000001-01001110/agent-jira-skills --skill jira-spaces

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill enables programmatic management of Confluence spaces to organize project documentation, create new spaces with templates, list existing spaces, and delete spaces when they are obsolete.

Core Features & Use Cases

  • Space creation: Create a new Confluence space with a unique key and name.
  • Space listing: Retrieve and review available spaces for planning documentation structure.
  • Space deletion: Remove spaces and all contained content when no longer needed.

Quick Start

In the jira-spaces directory, use the Python script to create a space: python create-space.py DOCS "Project Documentation" "Documentation for the project"

Frequently Asked Questions about jira-spaces

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate Confluence space creation and management?

Automate Confluence space creation, listing, and deletion using the Confluence Cloud REST API. This Skill provides Python scripts to programmatically manage spaces with unique keys, apply templates, and organize documentation by space type (global or personal) without manual UI interaction.

What REST API endpoints does Confluence provide for space management?

Confluence Cloud exposes /space (GET, POST) endpoints to list and create spaces, and /space/{spaceKey} (GET, DELETE) endpoints to retrieve or remove individual spaces. This Skill implements full validation of space keys and standard error handling across all endpoints.

Can I create Confluence spaces with templates and organize them by team?

Yes. Create new Confluence spaces with templates and assign space types (global for organization-wide or personal for individual initiatives) to organize teams and projects. Space keys must be unique and validated before creation.

What environment setup is required to manage Confluence spaces programmatically?

Provide environment variables for your Jira/Confluence domain, user email, and API token. These credentials authenticate REST API calls to create, list, and delete spaces without requiring manual Confluence UI access.

How do I delete obsolete Confluence spaces and their content?

Use the DELETE /space/{spaceKey} endpoint to remove spaces and all contained documentation. This Skill handles space key validation and standard error responses to prevent accidental deletion or invalid requests.

Can I list all existing Confluence spaces to plan documentation structure?

Retrieve all available spaces using the GET /space endpoint to review your current documentation structure, identify naming patterns, and plan new spaces. Results include space metadata for organizing teams and initiatives.