filter recently updates starting after one date

Jose Palanca
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!
October 20, 2023

Hi,

 

is there a way to filter the results of the "Recently Updated" macro? I would like to show updates done after a fix date where the content was published to the company.

We are using Confluence 8.5.1.

 

I do not find a filter that helps me to limit the results to changes done after Sep 30th.

 

Thank you for your help

1 answer

0 votes
Clémentine Arce December 5, 2023

Hello Jose,

I do not think this is possible using the "Recently updated" macro. 

However, the add-on Refined has a macro called "Activity stream" which can do what you are looking for. To show content updated after a specific date, the use of a CQL in the macro Activity Stream seems to be the most adequate choice.

Assuming you use the configuration by default for the "Recently updated" macro, here are the steps to configure the macro from Refined (using the example of a space called ABC):

  1. Give a title to the macro in the first field of the configuration panel (for example: "Updated After 2023/09/30")
  2. In the CQL field of the configuration panel, add a CQL specifying the following clauses (each separated by the AND operator):
    1. The space(s) the CQL should return results from (for example for a space with the space key ABC use: space = ABC)
    2. lastmodified >= 2023-09-30
    3. The contributor(s) the CQL should return results for (for example, if you wish to only see your own activity after September 30th, use: contributor = currentUser())

The example CQL (written in the "CQL" field of the macro configuration panel) is thus: space = ABC AND lastmodified >= 2023-09-30 AND contributor = currentUser()

image-2023-12-1_16-47-1.png image-2023-12-1_16-47-28.png image-2023-12-1_16-47-43.png

You could add other clauses in the CQL to further refine the results it would return, but that configuration is up to you depending on what you want to display!

Note that using a CQL will ignore all other fields completed in the configuration panel of the macro, except for the title which will be displayed in the page once it is published.

I hope this helps!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events