Is there any way to copy/paste role filters from one foreman instane to another?

Problem:
Is there any way to copy/paste role filters from one foreman instane to another ?

Regards

Foreman and Proxy versions:
3.10
Foreman and Proxy plugin versions:
3.10
Distribution and version:
RHEL 8.10

One way to do this is by using the Foreman API or Hammer CLI to export the filters from one instance and import them into another. However, there might be other methods that I’m not aware of.

Unfortunately there is no option to export all filters from a role. It requires a complex process to correlate a role and all filters associated