how to create a confluence page from template via rest api

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

6 answers

1 accepted

Accepted Answer
4 votes

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.

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

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

Hi There,

 

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

Any update regarding this feature?

0 votes

Any updates on this issue?

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 

Suggest an answer

Log in or Sign up to answer
Community showcase
Published yesterday in Jira Ops

Jira Ops Early Access Program Update #2: Let’s talk severity levels

Welcome to your weekly Jira Ops Early access program update, where we’re sharing news and updates on Jira Ops' progress as we work toward our 1.0 release. If you ever want to drop us feedback or idea...

39 views 0 0
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you