How to show all confluence pages created in the last week? Edited

Seems very easy question, but i want to Show all pages that are created in the last week, without showing pages that were created earlier but are edited in the last week.

 

Thanks for ýour help!

 

paul

2 answers

1 accepted

4 votes
Accepted answer
Stephen Deutsch Community Champion Jan 23, 2018

Hi Paul,

If it's a big international company, then it's likely that they are running Confluence on their own servers, as normally the Cloud version only has a maximum of 2000 users.

There's another way to set up a search result of pages created in the last week, but you need to have the Confluence Source Editor installed (so this would only work for Confluence Server, although you could probably get it to work for Confluence Cloud by changing the source through the API).

Insert the "Content By Label" macro into the page, choose any random label, then add a filter for type and choose "Page", add a filter for created and choose "Last Week", expand the options and choose sort by "creation", check the box "Reverse Sort", set maximum results as 99999, and uncheck the box "Show Labels for Each Page", then save the macro.

Since you have the Source Editor installed, click the "< >" icon in the upper right (note that it only appears after the page has been saved at least once), find the macro "contentbylabel" and under the cql parameter remove from the beginning "label = <randomlabel> and " and then click "Apply".

Once you save the page then you should have a list of pages created in the last week sorted by creation date (most recent at the top).

Thomas Schlegel Community Champion Jan 23, 2018

Hey @Stephen Deutsch, I didn't know this hack! Awesome!! :-)

Thats Awesome! This gives me the chance to get almost every filter I want!

If I have such a filter, is there a way to also show it in JIRA, if I do not have the right to subscribe to Confluence Gadgets?

 

Thanks a lot!

Paul

Stephen Deutsch Community Champion Jan 23, 2018

Thanks @Thomas Schlegel and @paul enggruber!

As far as whether there is a way to show this in Jira, unfortunately I'm not totally sure, especially if you don't have the right to subscribe to Confluence Gadgets.

1 vote
Thomas Schlegel Community Champion Jan 23, 2018

Hi Paul,

you can search for that in the search window of Confluence:

http://<your-confluence-url>/dosearchsite.action?cql=created+%3E%3D+now(%27-1w%27)

Or manually:

  1. click on "Add a filter"
  2. Choose "Created" and then "Last Week"

image.png

Hello Thomas,

Thanks for your quick Reply. I would like to show These pages on top of my Dashboard, so I guess I have to integrate the "search" makro and find the right "search text". I am not sure how to apply your method for this.

 

Best

Paul 

Thomas Schlegel Community Champion Jan 23, 2018

Hmm, this is tricky. I would use the app "Reporting for Confluence" for creating such a result page. There may also be other apps, but this is the one, we use for reporting content from Confluence. The framework is not so easy to understand, but it is very powerful. 

I don't know another way to put a search result on a page. Maybe a link to the search itself might be sufficient for you?

Hello Thomas,

I inserted the link know, and hope it will be sufficient!

The Reporting for COnfluence app does not seem to be available in the Confluence I am working. i dont have rights to add it.

Thank you very much!

Thomas Schlegel Community Champion Jan 23, 2018

You're welcome, @paul enggruber

Do you use the cloud version of Confluence? This Reporting app is only available for the server-version.

I guess it is the Cloud Version, since it is for a big international company

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Monday in Confluence

Organizing your space just got easier - Page Tree Drag & Drop is here

Hi Community! I’m Elaine, Confluence Product Manager. You may have read my earlier post about page tree in space navigation sidebar. I'm excited to share another improvement that helps you organize ...

58 views 3 2
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you