Creating new preset filter

Hello,

I’m trying to create a new system filter, this filter would be universal so that all users would get this filter without any administration needed.

I’ve followed the link below on adding one but it’s obvious that the documentation is pretty old… Also it doesn’t work.
https://developer.atlassian.com/server/jira/platform/creating-a-custom-preset-filter/

I’ve also completely wiped the contents of the system-preset-filters-sections.xml file and somehow my filters are still there when I restart Jira so it seems like the documentation could be off.

Any insight would be great, thanks