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

1 vote
Answer 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,

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:

ZQL reference page:

Kind Regards,


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?



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:


ZAPI download:

Our ZAPI REST API library:

Kind Regards,


Suggest an answer

Log in or Sign up to answer
Community showcase
Published Mar 13, 2019 in Marketplace Apps

Marketplace Spotlight: Marketing apps for Confluence to keep your teams working on the same page


202 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