Hello, is it possible to create an automation that links a Confluence page to a task using Automation for Jira. I think I've looked everywhere, including entity properties, but I can't find a solution.
As a workaround, I'm just using the link in issue description, but since the front-end has this nice "Link Page" button that also looks neat after linking, I was hoping I could automate that as well.
Hi Dawid,
It isn't currently possible. We have an open issue in our backlog to implement it.
https://codebarrel.atlassian.net/browse/AUT-176
Sorry,
Scott.
This would be a very helpful function
Thanks Scott
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.
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.
As a workaround, you can also automatically add a comment and paste the link in the comment text if you don't want to use the issue description for this (e.g. if it is a copied issue).
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.
+1
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
+1
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
+1
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
well, not a good sign when it is still open... but what else to expect when Atlassian purchased it...
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
+1
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
+1
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
+1
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi team, any updates after 2.5 years?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
+1
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
+1
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.
+1
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
+1
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
4 years later - still waiting on this feature. Is there a ETA for when this would be made available? Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
To perform page linking via Automation you should:
1. create a "technical" account in jira an give hime neccessary rights
*I recomment using technical account, cause you'll have to save the authorization token into the roole and it will be visible
2. Log In with created Technicalaccount and Create Personal Api Token (PAT), here is instruction: https://support.atlassian.com/atlassian-account/docs/manage-api-tokens-for-your-atlassian-account/
** Certanly, you can create PAT to your account and use it, but i don't recommend it
*** Don't forget to Base 64 Encode the pair "techuser.email@yourdomain.com:<techuser personnal access token>"
3. Create an action "Send Web Request" like on screensot:
Web request URL:
https://yourdomain.atlassian.net/rest/confluenceIssueLink/1/confluence?issueId={{issue.id}}&pageUrl={{createdPage.url}}
Headers:
Authorization: Basic Your_Base_64_Encoded_pair_User_token
Checkboxes: Check/Uncheck as you like, I think checking both of them is good idea
4. Save your rule and test
5. Relax
**** Thanks to @Cristiano for his helpful article https://community.atlassian.com/t5/Jira-articles/Automation-for-Jira-Send-web-request-using-Jira-REST-API/ba-p/1443828
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You are my life saver 👍
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
+1
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
+1
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
+1
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
+1
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
+1
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If you want to link the same confluence page to jira issues as linked page it is possible via web request component in jira automation module.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I just published an article about how to create a new page and link it to a ticket. If you're trying to link an existing page, you might be able to modify the process; you'd need two webhooks - one to get the page, and one to post the changes (specifically the macro code for the link) back to it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Is it really not possible to have an Automation link a Jira Issue to a Confluence page?
If done manually then the Confluence Page has a lovely 'X Jira links' up the top, and the Jira Issue has a 'Wiki page' sub heading in the 'Issue links' section with all linked Confluence Pages.
This linking functionality is wonderful, but why oh why is it not possible to do this from within a Jira Automation?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
use scriptrunner and everything is possible, even with AUT
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
For anyone else who has stumbled across this thread I found RFE https://jira.atlassian.com/browse/AUTO-20 was created on 2022-07-22 for Improve Create Confluence Page action in A4J - automatically link the Confluence page to the Jira issue and/or be able to access the page/URL via smart values which exactly what I was looking for. It is still stuck in Gathering Interest status with only 62 votes however.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This has been fixed - you now have Confluence automations, you can create confluence pages, and then update the issue and choose "Confluence Link" as the part you want to edit and use the smart value {{createdPage.url}} to insert the Confluence page you created on a previous step in the automation. Here's a page to help with some of the details: https://support.atlassian.com/cloud-automation/docs/use-jira-automation-with-confluence/
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Ben Gallant , I tried to implement what you have described in the automation steps but haven't been able to find the "Confluence Link" field to be updated.
After I have created the Confuelce page from the automation, how do I update the "Confluence Link" for that issue in the same automation? Precisely, where exactly do I use the smart value {{createdPage.url}} for linking the issue with the Confluence page?
Is it a separate "action" component for the auotmation or did you mean from the action component "Edit issue fields" (if yes even there, there is no "Confluence-Link" field available)?
Thanks for your efforts:
Best Regards,
Nemil
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I created a custom field that is type "URL field". In the automation, after the action to create the Confluence page from template, I have an action to edit that custom field to add {{createdPage.url}}.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Is this still being worked on? I would love to be able to use this functionality
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.
Hi @Ben Gallant
What you have linked to only relates to pages created in Confluence using the Jira Automation, not being able to add existing Confluence pages via their URL in the Automation functions
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It's almost 2025 and still not possible to create a link to an existing Confluence page from a Jira Automation, for example when editing issue fields, by using smart values...
This shows that the Atlassian products still do not integrate that well on many fronts, while Jira and Confluence have such a tight relation in many companies.
Still, need to rely on handwritten rich text formatting markup :eyes-rolling:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Just for clarity, my organization is looking for this functionality to attach runbook Confluence documents to monitoring alarm tickets. This would be extremely handy.
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.
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.
+1
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.
+1
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Please add this to automation. We want to collect all remote links from the comments and add them to the link section. Mentioned Confluence pages as well as external URLs.
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.