how to create a confluence page from template via rest api

Ming Ho August 15, 2014

is it possible to create a confluence page from a template via rest api or other cmd tool?

8 answers

1 accepted

6 votes
Answer accepted
Sorin Sbarnea (Citrix)
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 Leaders.
April 2, 2015

Currently there is not nice and clean solution for that. We used some workarounds but these were unstable and prone to get broken.

We raised a feature request at https://jira.atlassian.com/browse/CONF-37129 so please do not forget to vote it and to comment on it, explaining Atlassian how important is to add the minimal level of functionality for working with templates via REST.

Philipp Buck August 4, 2016

Heey, can you tell me some of your workarounds please? I need a solution to create confluence pages from a template. Thank you!

Amanda Folson May 8, 2019

As of right now this issue is stagnant and it looks like Atlassian has no intention of fixing this or creating a good solution for the REST API. Check back later. :|

1 vote
Alexey_Rjeutski__Polontech_
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 Leaders.
August 17, 2014

Confluence REST API is in deep development yet. Please see the https://docs.atlassian.com/atlassian-confluence/REST/latest/#d3e120 for the list of possibilities. And as I see from the https://docs.atlassian.com/atlassian-confluence/latest/com/atlassian/confluence/api/service/content/ContentService.html and https://docs.atlassian.com/atlassian-confluence/latest/com/atlassian/confluence/api/model/content/Content.html - there are no hidden variables that could help with POST query (the only one is the metadata). If you need such kind of REST service - you can write / order your own that will extend needed functionality.

As for the other possibilities - please see https://answers.atlassian.com/questions/58952/page-from-template-using-xml-rpc-or-soap-api for the details

And as I see https://docs.atlassian.com/atlassian-confluence/latest/index.html?com/atlassian/confluence/rpc/soap/ConfluenceSoapService.html - there are no specific methods to work with templates.

0 votes
Shanta Nathwani January 28, 2020

The ticket mentioned above no longer exists. The current ticket for adding support for templates to the API is https://jira.atlassian.com/browse/CONFCLOUD-11393 and still hasn't been implemented. It is currently gathering interest, so vote it up!

0 votes
Rajiv Cj October 24, 2018
0 votes
Pavel Pavlovsky
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 Leaders.
July 20, 2018

Hi all,

A bit off-top but might be useful for some teams.

We've made a tool that creates documents in Confluence or Google Drive from the Template with specified recurrence and posts links to a Slack channel. Check it out https://www.notemate.co/

We use it on daily basis for standups, retrospectives and other recurrent meetings. It really helps us to keep notes and follow regular processes.

Any feedback appreciated.

Cheers,

Pavel 

0 votes
Rafal Kalinowski July 20, 2018

Any updates on this issue?

0 votes
brbojorque
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
July 10, 2018

Any update regarding this feature?

0 votes
Srinivas M June 12, 2018

Hi There,

 

Any update on this issue. I could not find any rest API documentation related to it.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events