Hi,
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!
It works ; Thanks Diego.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Glad to know that this solution helped you!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.