Hi There
I am trying to include a variable URL into a Confluence page creation Automaton rule:
Currently, I have tried: https://mycompany.atlassian.net/wiki/spaces/OPS/pages/{{page.id}}/{{issue.summary}}
However, {{page.id}} does not work as this is always different upon page generation.
Can someone advise me as to what the URL composition should look like please, as I can't work it out?
Cheers
Hi @Lyle de Groot -- Welcome to the Atlassian Community!
For a question like this, it is helpful to post images of your complete rule, the relevant action details, and the audit log details showing the rule execution. Those will provide context for the community to offer suggestions. Thanks!
How are you trying to create the page: with a Jira automation, web request action; with a Confluence automation rule; or something else?
Kind regards,
Bill
Hi Bill
Thanks for the reply,
I am using a JIra automation, and trying to insert a URL from a Confluence page into a Jira automation 'Send Email' Action.
See attached screenshot for more info..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for that information. The Create Page action doesn't "return" anything to reference the page, and there are no branches to "most recently created page" to reference it either.
A work-around would be to use the Send Web Request action after your page is added, get the page information, and then use that in your Send Email action.
Here is a reference to the REST API functions for Confluence pages: https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-page/#api-group-page
And here is a how-to article for calling a REST API function from an automation rule: 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.
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.