Hello everyone,
I'm trying to set up an automation that follows this structure:
Jira issue is created on a specific project-> Confluence page with a specific template is created.
Jira issue is updated -> The Confluence page is then updated with the changes made to the Jira issue.
What is working:
When a Jira issue of a specific type is created in a particular project, it creates a Confluence page in a space using a specific template. This is currently working by using Jira automation to send a webhook, which I then use to collect the data points and create the Confluence page via the API. The Confluence template has placeholders, like [tag], which are replaced with the content of the appropriate Jira field.
What is not working:
Currently my automation takes the empty template, replaces the placeholders with Jira values, then posts the update. This would be a decent working solution, but the issue is, it's deleting any kind of manual input in the Confluence page, as the process of updating the Confluence is basically the same as creating a new page, when it comes to the content of 'storage'.
I am unable to come up with a solution where only specific sections of the Confluence page are updated. For example, fields on specific cells of a table, that would correspond to Description, Tags, Jira issue assignee, etc.
I would be grateful to receive any guidance or ideas. I have the feeling that the solution is somewhere between HTML (being able to create specific sections in the Confluence page) and clever usage of the API to target those sections specifically.
Thanks in advance,
Eric.
Hi @Eric Segui Haugli -- Welcome to the Atlassian Community!
I believe your last paragraphs outline what is needed for this scenario using built-in features:
Experimentation is key for scenarios like this to ensure the page does not get "broken" by the updates.
Kind regards,
Bill
Thanks @Bill Sheboy for the suggestion! I will take a look at Confluence smart values and try with those.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.