Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Create Confluence Space when a new Jira Project is created

Ron Stinson II August 16, 2024

I am trying to setup an automation to create a confluence space and link it to the newly created project. The space name should be the same as the project.

I used the AI tool, but the automation it built only creates a page.

The prompt I used was:

"When a new project is created, create a Confluence space with the same name as the project and link the space to the new project."

TYIA for your help.

2 answers

5 votes
Trudy Claspill
Community Champion
August 16, 2024

Hello @Ron Stinson II 

There is not a pre-built action in Jira Automations for creating a Confluence space.

The work-around is to use the Send Web Request action to call the Confluence API for creating a space.

https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-space/#api-wiki-rest-api-space-post

If you are unfamiliar with using the Send Web Request action you may find this article helpful.

https://community.atlassian.com/t5/Jira-articles/Automation-for-Jira-Send-web-request-using-Jira-REST-API/ba-p/1443828

3 votes
Seon Shakespeare
Community Champion
August 16, 2024

Hi Ron,

Jira Cloud can automatically create a Confluence space when you create a new company-managed project.

Just look for the option to "Connect your work" in the project creation wizard. You'll be able to create a new Confluence space right there and link it to your project.

Screenshot 2024-08-17 at 01.00.32.png

Hope this helps!

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events