Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How to create a confluence page using a template from jira via REST API


In case we have a template in confluence and want to create the page using the template then how should the template be passed in the API call?

Also how can I copy the URL of the page inside the JIRA ticket(maybe in description)? so that user can access the page directly from JIRA after it is created.



4 answers

1 accepted

1 vote
Answer accepted

I was able to figure this out. You need to pass the template as an inline xml within html inside pageBody parameter. It worked for me. I wish there was a structured way of doing this but this is working for me as of now !

brbojorque Community Leader Jul 11, 2018

@Bhupesh Nagda

Can you post your example code man?


For me it's a huge line of code, maybe you can mention where you are stuck or need help.

This documentation is helpful.






How do you copy a huge storage format to run by scriptrunner?



3 votes
brbojorque Community Leader Jul 09, 2018

@Bhupesh Nagda, can you post your solutions here please, for the sake of other people.

Hi Bhupesh

We launched a new app that allows you to create pages from templates through Jira Workflow post-function and store the Confluence page in a Jira customfield to apply more actions like:

Workflow postfuntions

  • Update page permissions
  • Update page content
  • Update page title

Workflow conditions

  • Check if page was modified after a certain status transition
  • Check if page still has a placeholder

And so much more.

Please give it a try, I believe it would streamline alot of repeated effort on your team

Jira Confluence Workflow Extensions (JCWE) 

Give it a try I am confident you'll love it.

If you have any inquires or requests please drop me an email at

Hell Bhupesh!

You sir, need to look at our documentation!

As you can see this is covered in this article!

Hope that read helps you out. If it doesn't, let me know.



Hi @Daniel Yelamos [Adaptavist] 

I was able to create a basic page from the article listed by you.

Can you please tell me how to create a page from a template ? 



Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Apps & Integrations

Marketplace Partner Spotlight: Fine Software

Happy New Year, everybody! What better way to kick off 2022 than with a new Marketplace Partner Spotlight ✨ This month, we're getting to know Daniel Franz, co-founder of Fine Software. Fine Software ...

372 views 2 15
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you