Forums

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

How to create a Child Page via Confluence REST API with only Parent Page Title.

Mahima Srivastav
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
February 3, 2021

I'm trying to use the "Send web request" option in JIRA's Project Automation to generate a Confluence Page via REST API.

I'm able to use the following code but I don't know how to force Confluence to create a child page under a Parent Page for which I will only have the Page Title available.

Since I'm trying to automate this process, I will not know the Page ID.

Can someone let me know how I can get the Page ID from the Page Title or generate the child page with just the Page Title.

{
"title": "ABCD",
"type": "page",
"space": { "key": "ABC" },
"status": "current",
"body": {"storage": {"value": "Sample Text", "representation": "storage"}}
}

0 answers

Suggest an answer

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

Atlassian Community Events