Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Smart value {{page.url}} is not giving back the correct URL

Eric Vervoordeldonk November 3, 2025

We have an automation in place that will send an e-mail to the page owner if the page is not updated for more that 90 days. We use the following template:

Please review <a href="{{page.url}}">{{page.title}}</a> in confluence as the page was last updated on {{page.dateLastUpdated}}, and if it is up-to-date (again) please set the status from {{page.status}} to 'Verified'.

It sems that the {{page.url}} is not giving the correct URL (It gives back https://nedschroef.atlassian.net/spaces/GITKB/pages/3243900930 but is should be https://nedschroef.atlassian.net/wiki/spaces/GITKB/pages/3243900930 ) It seems that the  smart value is missing the /wiki part.

5 answers

1 accepted

2 votes
Answer accepted
Rilwan Ahmed
Community Champion
November 3, 2025

Hi @Eric Vervoordeldonk ,

I tried "{{page.url}}" and it gives the correct url. If you still have the issue, please contact Atlassian Support directly from https://support.atlassian.com/contact/#/

As a workaround, you can make use of below content in smart values. 

Please review <a href="https://nedschroef.atlassian.net/wiki/spaces/{{page.space.key}}/pages/{{page.id}}">
{{page.title}}</a> in Confluence as the page was last updated on {{page.dateLastUpdated}}, and if it is up-to-date (again) please set the status from {{page.status}} to 'Verified'.

4 votes
Sebastian Krzewiński
Community Champion
November 3, 2025

Hi @Eric Vervoordeldonk 

 

Looks like a bug. Please try to use {{content.url}} instead {{page.url}} and see if result is the same. If yes, you should ask Atlassian Support (https://support.atlassian.com) to clarify it.

 

Regards,

Seba

Eric Vervoordeldonk November 4, 2025

Unfortunately it gives the same results.

0 votes
Aron Gombas _Midori_
Community Champion
November 4, 2025

Until Atlassian rolls out the fix, you could just use the "replace()" method on the URL to replace the first occurrence of "/spaces/" with "/wiki/spaces/".

It may be easier that building up the complete URL from smart value, and when the fix is out, you can just drop the "replace(...)" from the end of your temporary expression.

0 votes
Thiago P _Atlassian Support_
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
November 3, 2025

Hey there @Eric Vervoordeldonk ,

Can you clarify if your Automation rule is using Branches?

If that's the case, you should use the List Smart Value instead of Pages:

{{authorInactivePages.url}}

The "Notify people about inactive pages when scheduled (recurring)" Template can be used as a reference.

Hope this helps! =]

Eric Vervoordeldonk November 4, 2025

Hi @Thiago P _Atlassian Support_ I am indeed using Branches. 
2025-11-04 10_01_23-Greenshot.png

Thiago P _Atlassian Support_
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
November 4, 2025

Ah yes, in that case a {{page.url}} should be the appropriate Smart Value.

Please open a Support ticket so we can investigate this.

0 votes
Valerie Knapp
Community Champion
November 3, 2025

Hi @Eric Vervoordeldonk , thanks for your post.

Have you tried also https://support.atlassian.com/cloud-automation/docs/smart-values-in-confluence-automation/#Content-properties--pages-and-blogs- 

{{content.url}}

to see if this smart value has the same issue / problem?

In any case, please open a support ticket to Atlassian, who would need to correct this - https://support.atlassian.com/contact/#/ 

If the content.url works as a workaround, great, but Atlassian should be made aware of this missing 'wiki' from page.url smart value.

Cheers

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