I want to automate the creation of confluence pages with the contents of a form from Jira. I want the populated form to be the content of a automatically created Confluence Page.
Is it possible to do without any add-on? If yes, how can i set it up?
Hi @Marcelo da Paz Pinto -- Welcome to the Atlassian Community!
If you are using a JSM form, the smart values were recently made available for such forms: https://support.atlassian.com/jira-service-management-cloud/docs/access-smart-values-for-forms-and-form-fields/
You could use the Create Confluence Page action in your rule, perhaps from a template. Then use the REST API endpoints with the Send Web Request action to load the page content, update it with your form data, and finally update the page with another REST API call.
I recommend trying to implement such a rule in steps to incrementally build / test it.
Kind regards,
Bill
Hi @Bill Sheboy Thank you for your response.
I don't understand how to proceed after the automation rule creates a confluence page.
Which endpoints do i have to use? Is it supposed to first "load" my issue form and then update the page with it? In this case, how do i structure these API calls?
Again, thank you for your help.
Best regards,
Marcelo.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You will need to review the REST API documentation to learn that in detail.
For Confluence page updates with automation rules, the general flow would be:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.