I've got a current confluence page, where I use the standard <ac:structured-macro> to embed a table of jira work items based on a filter/jql. As I understand it, the "legacy" jira macros are being deprecated and going away.
I'm looking for whatever the equivalent would be to do it the new way with the new editor changes. Obviously, within the cloud editor itself, it's easy to just add it via URL or filter. I need to do this via API, as we have a tool that generates reports and posts them to confluence. As part of that report, it includes a table with the jira issues that match the filter. Since it's dynamic (only showing tickets in a certain state), I can't build the table statically.
I've been digging through the API documentation and have come up short on how to replicate the legacy <ac:structured-macro> using whatever is the permitted new way after deprecation lands in January.