My requirement is as follows:
1. Say for ex, I've around 10 projects, which are created as 10 different Spaces in Confluence.
2. Respective team will create "Weekly status report - Proj Name - <from dt> <to dt>" each and every week and put it in one of sub-page in their respective project Space
3. Now may I know how do I write a script which I can run on every Monday evening to validate whether the report has been made available in the respective sub-page or not for all the Spaces.
Hello @kannan_poompatham !
As I understand, you need to check, every Monday, if the pages containing reports for the last week were created.
I am not sure how you could achieve this via scripts, but we can surely use the Content by Label macro to achieve pretty similar results.
What we can do is this:
- Create a label for those report pages
- Create a new page
- Insert as many Content by label macros as you need spaces to report into
- Define the label that the macros will be looking for
- Define the time frame in which the macro will need to look into
- Save the macros
- Publish the page
Now, if you visit the page in which you placed those macros, you should be able to check if the pages were correctly created.
Here is some documentation that can help you:
Let us hear from you!
Hi Community! We're thrilled to share that Team Calendars for Confluence is now a built-in feature for Confluence Data Center releases 7.11 and beyond. A long time favorite, Team Cale...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events