Forums

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

Automation to create a Confluence page

Will Buchner
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!
May 19, 2024

Hi All, scenario involves creating a page in Confluence. I know automation can do this, but I would like to know if/how you specify the parent page for the page being created. In particular, if the Parent page can be based on a value in a field. For example, we have issues in our project that represent business processes, and these issues have a page in Confluence. I’m curious to know, if we were to store the URL/ID/[some other location info] of the page on the Jira BP issue, whether automation could use that value to identify where to create a Confluence page. What would the automation look like? Any assistance appreciated.

Cheers, Will

4 answers

1 accepted

4 votes
Answer accepted
Sebastian Krzewiński
Community Champion
May 20, 2024

Hi @Will Buchner 

 

Based on your scenario you can (in confluence automation):

1. Use "Send web request" action to get value from field in a ticket via jira rest api

2. Based on response create new variable with value from point 1

3. Use "Send web request" action to create page via confluence rest api and use variable from point 2

 

Regards,

Seba

Will Buchner
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!
May 20, 2024

Thanks Seba, appreciate the response. Implemented and it works!

Cheers, Will

1 vote
Humberto Test user1
Contributor
May 20, 2024

Sorry, I'm missing something here, are you talking about to create a Confluence page from a jira ticket?

0 votes
Armin Meyer _Seibert - Coderay_
Atlassian Partner
May 21, 2024

Hi Will,

if an additional App is an option for you, our App "AutoPage" can be helpful for the use case. You can define where in the page tree a new page should be created, according the issue attributes,

Beside of this you can define page templates. These templates are used for page creation and with given macros you can display jira issue content in created pages.

The App is fully integrated with Jira automation

 

You can try the App for free in the Marketplace.

 

0 votes
Nikola Perisic
Community Champion
May 20, 2024

Welcome to the community @Will Buchner !

When you specify an Action in your automation rule, you will the option to specify the Parent page as well. Now the question is, are any conditions that need to be met here, since with what you have described a trigger of Issue created in Jira and also the action to Create page in Confluence would suit your needs.

Let me know what I'm missing here.

Suggest an answer

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

Atlassian Community Events