Hi,
I do not get any smart values in the following automation. I only receive a blank email.
However, it recognizes the affected pages in the audit log.
Does anyone have an explanation or solution for this?
Thank you :-)
Hi everyone, this is Trevor from the Confluence automation team. I believe this syntax should work (just tested it):
{{#lookupPages}}
{{title}}
{{url}}
{{/}}
I found this syntax for lists documented here: https://support.atlassian.com/cloud-automation/docs/jira-smart-values-lists/#list.join-separator-
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Try changing from pages to page.
{{page.title}}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Shawn,
I'm experiencing the same issue. I can send an email with the smart value {{lookupPages}} in the Content field, but it looks like this:
I tried changing the syntax (see below), but the email is blank.
{{#lookupPages}}
{{page.url}}
{{/}}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I haven't used lookupPages yet. Looks like it was added last December, but the documentation hasn't caught up with it yet....
https://support.atlassian.com/cloud-automation/docs/smart-values-in-confluence-automation/
Your {{/}} is too far away from the # try {{#lookupPages}}{{/}} to get a count of the pages.
I would assume {{page.url}} is empty because you are doing a CQL search that returns multiple pages.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for your help Shawn. Unfortunately, {{#lookupPages}}{{/}} also returns a blank. I checked the audit log and it says it found 150 pages. Doesn't seem like the # works with lookupPages?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I haven't tried it myself. Worth putting in a bug report.
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.