You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

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

JIRA content in Confluence

 

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. The example below ilustrates using the "Pie Chart" JIRA gadget for listing Test issues, making statistics based on the TestRunStatus custom field.


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.





Troubleshooting

  • make sure your application links are created correctly OK, in both your JIRA and Confluence instances
  • make sure your external gadgets are provisioned in Confluence administration; you can register one by one or, even better, you can subscribe to all gadgets from your JIRA instance
  • in Confluence, make sure you have authenticated against JIRA; you may have some notification in order to authenticate or you may force it (for example, by listing a set of JIRA issues in Confluence by using the "JIRA issue/filter" macro
  • you can try referencing a gadget directly in the Confluence page by using the XML URL of it and see if that works. You can know all the JIRA gadgets URL in its feed (e.g. http://192.168.56.101/rest/gadgets/1.0/g/feed) . Example below:

    {gadget:url=http://192.168.56.101/rest/gadgets/1.0/g/com.xpandit.plugins.xray:overall-requirement-covereage-gadget/gadgets/overall-requirement-coverage/overall-requirement-coverage-gadget.xml|width=600}

References

  • No labels