Hey folks, I’m new here and could use some help with Jira Xray gadgets. I’ve got a Test Plan with over 300 tests, but I’m only focused on 22 of them. These are run daily by multiple team members.
I’ve set up filters for Pass/Fail results, but I’m stumped on how to show all 22 tests at once. Ideally, I want a table with:
I’ve encountered a similar challenge with Xray gadgets. One effective approach is to leverage the Xray API in conjunction with a custom script. This allows you to pull data for all 22 tests simultaneously and format it into the desired table structure.
Consider creating a separate dashboard widget that uses the Xray API to fetch test execution data. You can then process this data to generate the table you described. While it requires some initial setup and potentially assistance from your development team, it offers greater flexibility and customization than standard Jira gadgets.
Additionally, explore the ‘Xray - Test Execution and Test Plan Progress’ gadget. It might not provide the exact layout you want, but it could serve as a starting point for displaying multiple test statuses concurrently.
I’ve been in your shoes, davidw. Xray can be tricky when you’re trying to consolidate multiple test results. Here’s what worked for me:
Create a custom Scripted REST endpoint in Jira. This lets you fetch data for all 22 tests in one go. You’ll need to write some Groovy or Java code, but it’s worth the effort.
Once you have the endpoint set up, use a Script Runner dashboard item to display the results. This gives you full control over the layout and lets you create that exact table format you’re after.
It’s not a plug-and-play solution, but it’s incredibly powerful. You can even add color coding or conditional formatting to highlight critical tests or trends.
Just be prepared for a bit of a learning curve if you’re not familiar with Jira’s scripting capabilities. Don’t hesitate to reach out to your dev team for assistance – they might even have some existing scripts you can adapt.
hey davidw, welcome to the forum! i’ve dealt with similar xray issues. have u tried using JQL queries to combine ur 22 tests? might work better than individual filters. also, custom scripts could help generate that table format ur after. just brainstorming - lemme know if u need more specifics!