Use Jira automation to create a confluence page using the template dropdown

Ben Gallimore November 9, 2022

I have built a rule in Jira Automation, that creates a confluence page under a folder in a space in a confluence instance, using the "create page in confluence" function.

The same automation also creates a new task in the correct project and updates the description with the URL of the confluence page. (this is awesome!)

However, I want to use a template to pre-populate the information in the confluence page. 

There is a Template dropdown, but there are no templates listed, how do I get a page added to this template drop-down or am I missing something.

Jira automation conf creation.png
Any help would be appreciated 

4 answers

1 accepted

3 votes
Answer accepted
Alex Koxaras _Relational_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 9, 2022

Hi @Ben Gallimore 

You have to create a few templates on Confluence first. These templates can either be global or space specific templates.

Global templates: https://support.atlassian.com/confluence-cloud/docs/create-a-global-template/

Space templates: https://support.atlassian.com/confluence-cloud/docs/create-a-template/

Ben Gallimore November 9, 2022

Thanks @Alex Koxaras _Relational_ I stumbled across the global template solution about an hour after login this question, and I was on my way to update this when you responded.

Thanks for confirming my findings!

I will have a look at the space templates too.

 

Cheers

Ben

2 votes
Fabian Brünger
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 18, 2024

I figured out that templates with variables are not appearing in the drop down menu of the Create Confluence Page automation action. 

Eduardo Lima March 5, 2024

Hi @Fabian Brünger 

I've noticed the same behavior: If your Template has a "New variable" gadget it will not display in the drop down menu :(

Like Fabian Brünger likes this
Fabian Brünger
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!
March 5, 2024

Yep. It would have saved me a lot of time having this info before I started on this topic :D

Eduardo Lima March 5, 2024

Have you found a way to insert data in the new created Confluence page, using  Jira Automation?

I can create a new page in Confluence, but I cannot append any piece of information from Jira to Confluence :( 

Jenna Le
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!
March 20, 2024

Wondering the same, struggled for a while until i realized a variable was the reason the templates weren't showing up.

Is anyone aware of an open issue/thread for this particular problem?

Guy Geron
Contributor
June 26, 2024

Same here. I'm experiencing the same issue. I will raise a support ticket and provide it here once I get a reply: https://support.atlassian.com/requests/CES-43300/

Guy Geron
Contributor
June 27, 2024

Atlassian confirmed it's not working and mentioned a workaround and a feature request.

0 votes
Armin Meyer _Seibert - Coderay_
Atlassian Partner
March 5, 2024

If an additional App is an option for you. Our App AutoPage is specialized to prepopulate and even keep data in sync between Jira and Confluence after page creation. 

Autopage automates rule based page creation from Jira issues and sets a link between Jira and Confluence automatically.

You can use AutoPage-Templates for the page creation that contain the definition which information from the Jira issue should be shown in the created Confluence page. The difference to the approach of page templates is, that you are able to add Jira issue information.

The app is fully integrated with Jira automation. So you can use the full power of automation with it.

0 votes
Gianni Pucciani
Contributor
February 7, 2024

@Alex Koxaras and all, do I understand correctly that only space templates are visible in that dropdown list?

For me it was empty. I added a space template and then this was visible. It would be nice to be able to use Global templates, do you know if this is possible?

Also, do you know if we can recover the Confluence link and be able to link the JIRA to the Confluence page?

Btw, we can use smart values in the title, which is great.

 

Suggest an answer

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

Atlassian Community Events