You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
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 use an existing template or a global template like "Design Review" when creating the new page.
{
"title": "ABCD",
"type": "page",
"space": { "key": "ABC" },
"status": "current",
"body": {"storage": {"value": "Sample Text", "representation": "storage"}}
}
You can do this with an undocumented rest api.
First create a new page using the content api as a type of draft:
POST https://company.atlassian.net/wiki/rest/api/content
```
```
Use the id retreived from this page to update the draft from a template:
PUT https://company.atlassian.net/wiki/rest/api/content/content_id/instance
```
{
}
```
PUT https://company.atlassian.net/wiki/rest/api/content/content_id/instance
I tried that, but that endpoint does not exist anymore.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Why? This would have been useful...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.