Hi Community!
I just started playing around with the newish Automation feature of "Create Confluence Page". I have a very simple rule where Issue Created > Create Confluence Page. Ideally, I'd like to have the automation update the trigger issue with the generated Confluence page, via link in comment or any other linking methods. This would normally be a very simple task to achieve if I was linking a Jira issue, but I'm not finding ways to link the newly created Confluence page.
Please let me know if I've overlooked something or if you have any suggestions.
Thanks in advance!
Unfortunately the ability to link the Confluence page is not available via automation. Yet anyway. Your best option out of the box would be to add a link on the Confluence page back to the Jira issue.
Hey Jack,
Indeed, it is unfortunate. But the silver lining is that Automation is taking steps in the right direction.
Thanks for your confirmation!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Is is possible to automate adding a link to the triggered jira issue on the confluence page that is created?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
We developed an App called AutoPage that covers this.
Autopage automates rule based page creation from Jira issues and sets a link between Jira and Confluence automatically. Beside of this you can use templates for the page creation that contain the definition which information from the Jira issue should be shown in the created Confluence page.
The app is fully integrated with Jira automation. So you can use the full power of automation with it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Armin Meyer _Seibert - Coderay_ , please review the Community guidelines for marketplace vendors here. You should update your username to reflect that you are a marketplace vendor.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Jack Brickey sorry, didn't want to break the guidelines, therefore I just started my post with the information, that we are the developers of the app. I updated my username to emphasize this and hope it's good to go :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I faced the same problem: using the "basic" Edit was not saving the {{createdPage.url}} value in my custom field. I tried different things, moving the step, saving the value in an intermediate variable, etc ... nope, no result. Also tried to save the created page in the OOTB link value with no success either.
So I clicked on the "More Options" and pasted the proper json code: then it worked:
I hope this will help.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi. i am trying on this but it seem not working for my case.
Wonder what is "customfield_10047" . how can i check the field name for the Confluence Link in Jira issue ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @meefong_siew , Marie was adding the link into a custom field. So you would create a custom field and then find the field's ID from the URL when editing the field. Use that ID in the advanced rule as illustrated.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
got it. Thank you
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It's possible that this feature was added since you asked the question, but using the Create page in Confluence automation action creates a {{createdPage}} and {{createdPages}} smart values, which can then be added to comments or fields.
Unfortunately it doesn't seem like automation has (easy) access to the "Link Confluence Page" function which is accessed through the issue Action Menu, but it might be possible using Advanced Field Configuration or a call to the issue's editmeta.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
To add to this, it looks like the Confluence Links on an issue are a "remote link" and these don't appear to be editable via the Advanced Field Configuration on the "Edit Issue" Automation action.
So to link a Confluence page to an issue with Automation, it will have to be using the "Send web request" Automation action to use the API against the issue itself.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Mick Szucs , thank you for providing this! It's very interesting to me and I'd like to try something similar. Would you mind providing an example of what that Send web request would look like? It would help me greatly.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It's not something I've taken the time to build. My current use-case occurs rarely enough that I'm able to get away with just providing instructions on how to link the page to the issue manually.
If I come back around to it I'll update this thread.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
So what was found about this? How can we add a link to the wiki page generated generated via the web service macro? how do you get the response from the API and retrieve the link to the generated wiki page? There really does not seem to be a way to do it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The smart value options were great to know about. Does anyone know if their is a smart value for the confluence page link? {{createdPage}} appears to only show the text name of the page.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
try {{createdPage.url}} , that worked for me
only thing that anoys me is it shows just highlights as a link, doesnt show the preview of the site.
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.