"Run CLI Action - JIRA" BobSwift: Auto-create a confluence page from a template

I am looking to use JIRA to auto-create a confluence page based on a confluence template. 

Can I copy a template using "Run CLI Action - JIRA" addon? (I am currently evaluating this.)

I am guessing I need to use something like the one below. Can I use the template id here instead of the page id?

.......  --action copyPage --id "341566327" --newTitle "%original_summary%" --parent "Home" .......

2 answers

1 accepted

This widget could not be displayed.

No. We always recommend using regular pages as "templates" for automation. There are a number of advantages as well like copying page hierarchies or entire spaces including attachments for instance.

Ok. For my particular scenario, I need to trigger a page creation from a template. (I am not interested in copying page hierarchies or entire spaces). So, I can copy a template to create a page to make this work.

Eventually it would be beneficial to trigger a page creation from a template especially when I am using JIRA to trigger page creation. Otherwise, I will need to have a template in Confluence (for general confluence use) + a duplicate page for this template just for CLI to be able to copy this.

Confluence traditionally has had poor support for template access from remote APIs. Still the case for server I think, but I see Cloud now has some.

Thanks. Since there is a workaround, that should suffice for now.

This widget could not be displayed.

@Bob Swift [Bob Swift Atlassian Add-ons] - this one's for you.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Monday in Confluence

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

482 views 6 6
Join discussion

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