Xray allows you to create Xray issues (e.g., Tests, Pre-Conditions, etc.) from Confluence pages. It also allows you to embed Jira gadgets in pages, including standard ones like Filter Results or Xray-specific gadgets.
Once you have configured your Jira server with your Confluence server, you can see the Jira content in Confluence. If you face any issues you may look at Troubleshooting section below.
Xray issue types can be created directly from Confluence.
This feature has still some limitations regarding custom fields. Xray custom fields are limited by this issue.
Xray custom fields can also be included in the listing.
Since Xray uses different issue types (e.g., Test, Pre-Condition, Test Set, Test Execution, Test Plan) for the different testing-related entities, you can use standard Jira gadgets to create useful reports using Jira dashboards. These gadgets can also be included in Confluence pages. The example below illustrates the use of the "Pie Chart" Jira gadget for listing Test issues and generating statistics based on the TestRunStatus custom field.
You can include Xray gadgets (e.g., "Overall Requirement Coverage") in Confluence pages. For this, you just need to insert the proper macro.
Try referencing a gadget directly in the Confluence page by using its XML URL and see if it works. The URLs of all the Jira gadgets URL are in its feed (e.g., ") . Example below: