How do I create a confluence page using a global template from Jira automation?

ppushpam January 28, 2022

Hi,

I have created Jira automation rule to create a confluence page. Right now, the page format is basic using Json, I want to create a page using a global template but its throwing 500 error If I am using below line in code:

"template": {"template name"}

Is there any solution for this? could you please help me with that.

Thanks

2 answers

1 accepted

0 votes
Answer accepted
Vishwas
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.
January 29, 2022

Hey @ppushpam 

Welcome to Atlassian Community !!

I hope you are creating a automation rule using "send web request" as mentioned in this link 

https://confluence.atlassian.com/jirakb/create-confluence-pages-from-jira-using-automation-1041826324.html

passing "template": {"template name"} in json body wont work.

Looks like there isn't a easy way to achieve this, there might be possibility that this is not there yet, please check this thread for more info.

https://community.atlassian.com/t5/Confluence-questions/Creating-Confluence-Page-from-template-using-an-API-call/qaq-p/1818453

 

Regards,

Vishwas

0 votes
Charlie Gavey
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 7, 2022

Hi @ppushpam and @Vishwas

To better support this use case, we've recently introduced a new "Create Confluence page" action to Automation - you can read more about this here: https://support.atlassian.com/cloud-automation/docs/use-jira-automation-with-confluence/ 

Paul Taylor October 5, 2022

Can you document how to register templates, so that they show up in the dropdown

Like # people like this
oliver.trebbe June 27, 2023

Is there any Information to register a template- yet?

Suggest an answer

Log in or Sign up to answer