Forums

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

insert page name with automation

Dietrich Lehr
Contributor
January 18, 2023

I'm trying to use the automation in confluence to send a reminder to review items that haven't been updated in a while, but I cannot get the page name to dynamically populate. I've tried {{page.title}} , {{title.page}}  , {{page}} , and {{title}} but none work. The email comes through blank where that variable was.

1 answer

1 accepted

1 vote
Answer accepted
Ste Wright
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 18, 2023 edited

Hi @Dietrich Lehr 

{{page.title}} should work - this is the smart value for page title.

I tested it also, and it works fine for me. What's the rest of your rule look like? A screenshot of it might be beneficial :)

---

Edit: I tried this using your Branch - Related Entities - and had the same experience.

So I tried using "for each Page" instead (which allows you to set a last updated period, but not the label parameter) - and it works fine with {{page.title}} in this Branch.

It would appear "for each Page" is the Branch option for this type of Action for now - but I'd recommend raising it as a potential Bug in JAC for further review - do this from here: https://jira.atlassian.com/secure/Dashboard.jspa

Ste

Dietrich Lehr
Contributor
January 19, 2023

2023-01-19_7-51-56.png

 

--------------------

 

No luck with this. It doesn't put anything in there for the {{page.title}}. This is the email I receive

 

2023-01-19_7-53-48.png

Ste Wright
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 20, 2023

Hi @Dietrich Lehr 

Strange!

I tried this using your Branch - Related Entities - and had the same experience.

So I tried using "for each Page" instead (which allows you to set a last updated period, but not the label parameter) - and it works fine with {{page.title}} in this Branch.

It would appear "for each Page" is the Branch option for this type of Action for now - but I'd recommend raising it as a potential Bug in JAC for further review - do this from here: https://jira.atlassian.com/secure/Dashboard.jspa

Ste

Like Dietrich Lehr likes this
Dietrich Lehr
Contributor
January 23, 2023 edited

Now I can't get it to send the email. The CQL query was validated. It works if I remeove the CQL condition. However, I have parent pages working as a folder and get alerted. Thats why I want to exclude certain pages with labels.


2023-01-23_10-28-06.png

Dietrich Lehr
Contributor
January 23, 2023

doesn't look like I have permissions to submit a bug request

Dietrich Lehr
Contributor
February 1, 2023 edited

this seems to have fixed the {{page.title}} insert issue. I'm trying to insert a CQL query to exclude pages with a certain label. Can you modify your first response to include the info from the second so i can mark as answer?

Ste Wright
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 4, 2023

Done :)

Ste

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
atlassian, atlassian government cloud, fedramp, webinar, register for webinar, atlassian cloud webinar, fedramp moderate offering, work faster with cloud

Unlocking the future with Atlassian Government Cloud ☁️

Atlassian Government Cloud has achieved FedRAMP Authorization at the Moderate level! Join our webinar to learn how you can accelerate mission success and move work forward faster in cloud, all while ensuring your critical data is secure.

Register Now
AUG Leaders

Atlassian Community Events