Xray provides integration with Confluence, allowing 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 JIRA standard gadgets (e.g. Filter Results) or Xray specific gadgets.
Once you have configured your JIRA Server with your Confluence Server, you can see JIRA Content in Confluence
Create Xray issues from Confluence
Xray issue types can be created directly from confluence.
Please note that this feature has still some limitations regarding custom fields. Xray custom fields are limited by this issue.
Confluence "JIRA Issue/Filter" macro
Xray custom fields can also be included in the listing.
JIRA Gadgets
Standard JIRA gadgets
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 make some useful reports using JIRA dashboards. These gadgets can also be included in Confluence pages.
Xray specific gadgets
You may include Xray gadgets (e.g. "Overall Requirement Coverage") in Confluence pages. For this, you just need to insert the proper macro.