Zephyr for Jira: how to change order of test cases

Hi, I'm just trying to create my projects and test cases in Zephyr for Jira. Is there any way how to change order of test cases in test cycle? Order is by Jira ID. What if I want to add some new test case? Is there any way how to do it? Thanks

23 answers

1 accepted

Hi Klara,

Currently there is not a way to re order the test cases in the cycle. However, you can add and remove test cases from a test cycle at any time. To add test cases to a test cycle click on the gear to the right of the test cycle and selec "Add Tests". You can also remove a test case from a cycle by clicking the little trash can to the right of the test case. This only removes the test case from the cycle and does not delete the test case itself.

Kind Regards,

Emily

Is this still not a feature? We are just getting started with Zephyr and we really need this reordering.

Klara, 

 

I see that this is still not a feature for the cloud version. I'm in the process of converting my test cases over from test lodge. which is a basic tool, that has the ability to reorder test cases within a test run.

 

The proposed work around does't work, meaning it negates the advantage of putting test cases into test runs and still doesn't allow me to set the correct order still.

 

Please add this ASAP!

I confirm, this is a cruelly missing feature.

When will this be available? It is very important to be able to reorder the test cases within a test cycle. I can click on ID or Status and re-order them but I either need to be able to click on Summary and re-order them or manually move them into the order I need.

Thank you.

Has there been any progress on this?  We badly need to re-order tests as well.

Any updates on the problem, could you please update us, is it planned to add ability to order test cases this, next year, or Zephyr does not plan to add the feature at all?

Still no solution to this? unbelievable, guess we need to switch to another tool

This is very big drawback we noticed in Zephyr for Jira. There is no way to order the test cases. Zephyr should seriously consider this.

Hi Deepak,

We have added further features since the date of these posts. You are able to order test cases from the Search Test Executions Nagigator (https://zephyrdocs.atlassian.net/wiki/display/ZTD/Search+Test+Executions) What you will want to do is go to the Search Test Executions navigator. It can be accessed from the Tests drop down. Once here, perofrm a ZQL to search for specific executions (here is a link to our ZQL reference page: https://zephyrdocs.atlassian.net/wiki/display/ZTD/ZQL+Reference). Once you pull up the executions you want, you can click on the columns "Cycle Name", "Issue Key", "Project Name" and so on. By clicking on these columns you can order or test cycles by that column.

Kind Regards,

Emily

Test Execution Navigator is not at all useful for ordering. Columns on which sorting can be done are not configurable. It does not even show 'Summary' of test case there.

It should have been helpful if we could show a custom field there in which we could put order like 1,2,3... and then sort this on interface to get ordering. But it is still a workaround which does not exist.

Also, this interface does not show test cases which are unexecuted. So to start execution, this interface is useless. If you could make columns on this interface configurable and sortable, it will take away big pain on oredering and execution.

So here we are two years later and still no way to reorder test cases in a test cycle? Is Zephyr still a supported and viable product?

Any news regarding the problem? What is needed - at least add ability to order tests by Test Summary field. Then it will be possible to use some prefixes (0001, 0002, ...) to workaround the problem.

Lack of sorting is an issue that I hope gets prioritization:

1. Sorting of test cases in a test cycle

2. Sorting of test cycles in a version

Hi Johan,

You have the ability to sort tests within a cycle. You just need to do it from the Search Test Executions screen.

What you will do is craft a ZQL to pull all the executions from a specific cycle. Once you do this you will see all the executions in that cycle. Now you can sort by the column headers and you can execute from here.

Information on the Search Test Executions Screen:

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

ZQL reference page:

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

Regarding sorting of the test cycles within a version, Zephyr for JIRA does not have the ability to sort the cycles available with native functionality.

Our Product Management team has been made aware of this feature request. They will review the same for consideration. We appreciate your valuable feedback in making Zephyr for JIRA better.
For further questions/assistance please feel free to open a service request by sending us an email.
Kind Regards,
Emily

RESOLUTION:

Okay folks, I've figured this all out. After many headaches.
This is how to order tests correctly using the Zephyr plug in for JIRA.

STEP 1: You will need to add numbers in the beginning of the Test Summary on each test. So let's say you have 100 tests. You will use the following number convention:

001, 002, 003, ....021, 022, .....100

If you have 1,000 plus tests, you will have to add an additional zero to the front of the test summary.

STEP 2: Tests > Search Test Executions >

cycleName = "YOUR PROJECT NAME" ORDER BY summary ASC

Save as: "YOUR PROJECT NAME" Regression Suite (for example) you can name it whatever you want.

STEP 3: Tests > Manage Execution Filters >

Click on "YOUR PROJECT NAME" that you just saved.

This will display all your tests now.

OMG..............THEY ARE NOT IN ORDER STILL. I know, I know........

STEP 4: You have to have ADMIN rights for this part or you'll have to contact your administrator for this piece.

Admin > Add-ons > Under Zepher for JIRA > General Configuration > Click the Re-Index button

STEP 5: Your tests are NOW IN ORDER.

NOW send me a shot out and tell me thank you and that you love me.

This was always known as not that good workaround. Just upgraded to new version 2.2 to check improvements on test execution. But to my disapprointment, still the 'columns' cannot have sortable 'Labels' in 'search executions'. This could have helped big way in easing out execution and ordering.

We use the labels to identify functionalities under test, so sort by label is a must in our testing process. I hope you include this improvement in future versions.

thanks

Alex,

This is a shocking lack of functionality. If you are going to execute a cycle, obvisouly you'll need to follow a certain order. I'm trying to push a Zephyr workflow to the group I work with but this is a real stopper.

Hi Morena,

If you search for the cycle you want to execute in Search Test Executions navigator, you can then order the tests in the cycle. Then you can go through and execute that cycle right from the Search Test Executioons navigator. What specific order are you looking to have your tests in within the cycle?

Kind Regards,

Emily

Hi Emily, it's the specific order in which the tests have to be executed. It is really an order and not a sorting! You cannot first make a step forward and then stand up. It must be the other way around. Doing something on a computer program changes its state and each test needs a certain state when execution starts. It would be totaly rediculus to start every test with "1) Switch on the light. 2) Sit down on the computer. 3) Switch the computer on. 4) Do something. 5) ... 132) Switch off the compter. 133) Switch off the light." and then start over with the next test from scatch. I design the test in an order that make it easy for an tester to execute them. Sometimes one test sets up a certain state---e.g. loads a specific file or starts a certain mode---the next two tests utilize this specific state and the next test resets the state back to normal. Putting all this steps in one big test case makes in hard to manage it and impossible to link tests in a meaningful way to requiriments. Even if I'm not dependent on a specific state for a test I order them in a way that the tester tests functionality in an order that reflects the accessability on the GUI application, e.g. I test the funcionality reachable by one menu or by one toolbar in order. That's the order in which the test ARE and it would be great to have that reflected in the software. As others already told, test case order is a very basic an crucial reqirement on a test management software.

Hi @Emily Schneider,

I can't see the option to do any kind of ordering from the "Search Test Executions" navigator. It is merely a list of test executions.

Instead I was making use of the "Reorder Executions" function that was introduced in the latest plugin update, version 2.5.1. We have a BIG problem with this function, as it is only giving us the option to order max 200 test executions. We have cases with more than 200, and I see no option to increase this number.

How can we order more than 200 executions?


Best Regards,

Dagfinn Rosnes, Tieto

Hello @Dagfinn Rosnes ,

I have the same problem. Could you please let me know if you were able to get this resolved.

Thank you

Rupinder Grewal

Unfortunately the order also does not survive when one clones the test cycle.  It would be nice since some test cycles often apply to the next release again.

We're battling with the same problem. We have a custom JIRA field called 'Test Case Priority'. Now, in an execution cycle, if I want to order execution of test cases sorted by descending order of 'Test Case Priority', there is no way to do this.

I'd like to also 'vote' for a solution to execution order.

The main reason for this, is my wish to add a kind of Setup(), Teardown() functionality for each test cycle - just like all major unit testing frameworks; when a test class is instantiated, the setup() method is invoked before any test method of the class, and finally, the teardown() method is invoked.

But, like some of the above, I'd like to stress the fact, that cloning a test cycle for a new version to test, should of course keep the ordering of the test cases.

+1

Agree, a basic functionality where you want to execute the test in a sequence. This would be a "in my view" a fairly quick turnaround...

Suggestion:

  • Can you create a new automatically added field which would get updated in the sequence you drag&Drop the test cases in? (The same way as you can order test steps within a test case). This would solve it

 

 

 

When is feature reorder test cases in a test cycle available?

Also agree this is basic feature required for a test management tool

This is seriously disappointing. I'm surprised it hasn't been addressed yet.

0 vote

Это п...ц, ребята.. Просто п...ц. За 4 года они не могут внедрить простую фичу...

Жаль, что много заказчиков пользуется Зефиром. Есть хорошие бесплатные аналоги для тест дизайна с привязкой к джире. Вопрос, как их переманить? Если уже купили зефир... Удалять тесты и добавлять заново чтобы всунуть тест - это курам на смех (с) Миссия Серенити

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,233 views 14 19
Join discussion

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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot