Hello, team!
I would like to create an automation that links Jira tickets with certain characteristics to a Confluence page. This Confluence page already exists and has a fixed url.
From what I read here - https://community.atlassian.com/forums/Automation-questions/Automatically-add-Confluence-page-link-in-Jira-ticket-based-on-a/qaq-p/2544968 - it is only possible to automate linking to a new Confluence page, created from the automation itself.
This is consistent with what I am seeing, which is that sending a web request requires a smart value {{createdPage.url}}, which needs to be created within the automation itself.
Since 2023, have there been any developments? Is it now possible to link a Jira ticket to a pre-existing Confluence page?
Thank you in advance!
Ana Santos
Hi @Ana Santos
There are a couple of ways to update an existing page...
There is a new rule action Edit Page, which supports adding text to the end of a page. This action is based on updating either the "trigger page" or the "current page" within the rule scope. And, I expect if you add the Jira work item as a URL it will appear as such on the page.
As you note, the REST API endpoint to edit the page may be used for more structured content:
Kind regards,
Bill
Hello, Bill!
Thank you so much for your answer.
I think I did not explain myself too well. My goal is not to update the Confluence page at all. The Confluence page is a fixed SOP and I definitely don't want to add the Jira work items as URLs.
I just want the URL of the Confluence page to be linked to the Jira work item, same way we do manually:
Hope this made sense!
Kind regards,
Ana
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for clarifying!
I believe the REST API is still needed, using the remote link endpoint. Here is the documentation for it and an explanation in the developer community:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Ana Santos
Just following up to check if this answered your question. If so, please consider marking this one as "answered". That will help others with a similar need find solutions faster. If not, please let the community know what help you need with the rule changes.
Thanks!
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.