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

Mahima Srivastav 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
Site Admin
TAGS
AUG Leaders

Atlassian Community Events