Forums

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

How to programmatically create a Confluence Page from a template?

Callie Buruchara
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 3, 2024

We have an internal tool that collects data around incidents. We'd like to export that data for a given incident into a editable Confluence page/document. We'd like this to happen programmatically.

For example: in our internal tool, we'd like to be able for the user to click a button that says "Generate into Confluence Doc". The tool would then programatically fill out a Confluence template and replace variables with actual values. It would then share the URL of this new Confluence document with the user.

It's basically this: https://support.atlassian.com/confluence-cloud/docs/create-a-template/ but doing it programatically instead of through the UI.

Is there a way to do this? Thanks!

1 answer

0 votes
Ajay _view26_
Community Champion
January 3, 2024

Hi @Callie Buruchara 

Welcome to the Atlassian Community!

Can you check the below community post which answers your query

https://community.atlassian.com/t5/Confluence-questions/How-can-i-create-a-new-page-from-a-users-template-using-rest-api/qaq-p/1059884 

Suggest an answer

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

Atlassian Community Events