Creating a Macro from a Jira Dashboard Item

My team has developed a dashboard item plugin for Jira that uses the Jira Rest API and displays issue data to users as a table. I know that gadgets had the ability to be used as confluence macros and was wondering if anyone has familiarity with the process of getting a Jira server dashboard item to work as a Confluence server macro. There is very little information on the internet about this topic.