Smart Value {{createdPages.url}} is empty

KB January 15, 2024

I create multiple confluence pages and want to add all the links in one comment to Jira item.

Problem is, that it complains that the comment is empty, if I use {{createdPages.url}}. 

Reading the docs, this should contain all urls of all created pages.

What am I doing wrong?

1 answer

0 votes
Marc - Devoteam
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 15, 2024

Hi @KB 

In what kind of automation are you using this?

This smart value is only applicable within automation in relation to Confluence page created via an automation rule.

KB February 6, 2024

The automation is triggered in a Jira project. Within that automation the pages are created.

Marc - Devoteam
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 6, 2024

Hi @KB 

Yes within the realm of the execution of the automation rule.

Can you provide screenshot of the automation rule that you have constructed and is being triggered?

KB February 6, 2024

Here is the screenshot. Initially I had one comment at the end, summarizing with {{createdPages.url}}, but that did not work, so I split it into 2 comments.

 

Screenshot 2024-02-06 150903.png

Marc - Devoteam
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 6, 2024

What does the audit log sys on executing the rule.

But the rule depends on user input, as the user input is true the condition is met in one or both, but only then the action is executed.

But based on your rule, you will have a separate comment per created page.

The created pages summarised in one comment only works on create page actions done in single rule without different conditions or branch contains multiple

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events