As a user I want for the visibility macro to automatically delete a condition if the value doesn't exist in Confluence

We have a show-if/hide-if macro that the condition set is to match a group. However we've been deleting groups from Confluence, but the macro still has the group value set as a condition to be show the content inside the macro. We expect for the macro to delete the group automatically if the group is deleted from the Confluence instance.

  • Amir Alvarez
  • Jan 7 2022
  • Needs review
Hosting platform Data Center
  • Attach files
  • Sinan Yildirim commented
    17 Jan, 2022 10:12am

    We have some cases where users added show-if/hide-if macro in to space header with deprecated group as parameter. That means each page view on that space is throwing that warning. It is overflooding our logfiles in this case and makes other analysis harder.

    However, I would suggest to have some mechanism which is checking if the group is existing or not by schedule job. If not existing, sending the space admins a mail or any pop-up to space admins with page link which forcing the space admin to change that deprecated group. It is free to you to develop a better solution :)

  • +2