How can I implement a rule to find a specific page and copy a renamed version of it?

Tom Borghard
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 10, 2025

In our team we have a weekly on a set day and time. In our confluence space we have a page "Weekly" with child-pages for each meeting. The names of these child-pages are the date in "yyyy-mm-dd" format.

Until now I had a rule implemented to create an empty project overview child-page every week that worked just fine.
Now I am trying to implement a rule, that creates a copy of the last meeting overview as a starting point for the next one. 
So let's say we have a meeting every Monday from 10 to 11 am. By rule every Monday at 11:15 am i want to create a copy of that child-page under the same parent page and give it the name of next week's meeting's date. 

E.g. next Monday (2025-01-13) at 11:15 the page 2025-01-20 is automatically created and contains a copy of the page 2025-01-13. So that every team member just needs to update their project status instead of everyone first copying them from last meeting.

I added a rule, the validation works without errors, but no page is created. 

I created it with the date and time as trigger, added a page-branch (checking for pages created by me) and if the condition pagename {{now.jiraDate}} is met, than use "copy page" with the name {{now.plusWeeks(1).jiraDate}}. It does not work.
Branching without any filters did not work either. 
I tried without branching at all before but got an error message, that copying pages by rule does not work without.

I would appreciate if someone knows where my mistake is.


Thanks in advance

1 answer

0 votes
Cyrille Martin
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 10, 2025

Hi @tom_borghard 

So here is what I did to get something close to your expected behavior:

Capture d’écran 2025-01-10 à 21.09.03.png

For the the smart value {{date}}, the calculation is {{now.plusDays(5).jiraDate}}

You have to change the CQL filter to get the page created one week ago and not one day ago like in my query [created >= now("-1d")]

The page having all meeting reports is the page id : 757858320

Regards,

 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events