Is it possible to sort tests within a Zephyr test cycle by the "Component" or "Label" tag?

I am trying to sort tests within my test cycle to expidite the testing process. My team has been creating, editing and adding tests for a long time now so sorthing by ID does not really make sense at this point. Is there a way that the user can sort the tests added to a cycle by the component field?

3 answers

1 accepted

Hi Mike,

These sorts aren't currently supported. We didn't originally introduce them because we didn't have the technology to sort with the multiple values that are allowed in the field.

We have that now, so we'll examine the posibility of adding that function in a coming release of Zephyr. The next release, 1.7, is locked down in terms of features and is in the final phase of testing.

Kind Regards,
Chris

Thank you for the quick reply and the info. We look forwad to this being added at some point in the future!

Hi Chris, Can you please let me know if this has been released? Because I am still not able to sort the fileds in Zephyr for JIRA version 2.1

Hi Rakesh,

You can sort the fields in Zephyr for JIRA 2.2. What you will need to do is use the Search Test Executions navigator. In here you can perform a ZQL to pull up all the test executions in a specific cycle. Once you pull them up you can sort by the column headers. For more information on how to do this:

Search Test Executions page:

https://zephyrdocs.atlassian.net/wiki/display/ZTD/Search+Test+Executions

ZQL reference page:

https://zephyrdocs.atlassian.net/wiki/display/ZTD/ZQL+Reference

Kind Regards,

Emily

Sorting by the "summary" field isn't working correctly.

We, and our clients, do not use the ZQL or Search Test Executions pages. We only use the Test Cycle Summary pages because it is much more high-level-user friendly. When we will be able to sort by Summary, Component, and Label on this page by clicking on the column header?

I've already installed the 2.2 version but I can t find the "labels" column at the "Test Execution navigator". Is there any way I can add it to this screen?

Thanks

Alex,

Hi Alex,

The only place you can add labels is to the issue type Test. Not the executions directly. Since you can not add labels to the executions, only the test case, there is not a way to search your executions based on labels (since labels are not attached to them). What you can do, is if you want to search based on labels you can use JIRA API's and ZAPI (Zephyr for JIRA API's). With them you will use JIRA API's to pull all the issue type Test by a specific label. Then you can use ZAPI to pull all the executions that belong to the test case that has that specific label. But this is the closest you can get too achieving what you need.

Just in case, below is a list of our ZAPI information if you want to check it out/get started:

A video to help get you started:
https://www.youtube.com/watch?v=oqk7vvsc8l8

Docs:
http://developer.yourzephyr.com/zapi/index.php

ZAPI download:
https://marketplace.atlassian.com/plugins/com.thed.zephyr.zapi

Our ZAPI REST API library:
http://docs.getzephyr.apiary.io/

Kind Regards,

Emily

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Jul 10, 2018 in Marketplace Apps

If you’re an Atlassian app developer, you’ll want to know about Atlas Camp!

This September 6-7, hundreds of Atlassian App developers will flock to Barcelona Spain to build skills, discover product roadmaps, meet face-to-face with the Atlassian team, and learn how to extend t...

179 views 0 4
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you