It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Zephyr for Jira: how to change order of test cases

Klara Oct 17, 2013

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

25 answers

1 accepted

1 vote
Answer accepted
Emily Schneider Oct 17, 2013

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

AJ Cox Rudolph Oct 07, 2016

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

Chris Schroeder Jan 04, 2017

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!

11 votes
Anaïk Trihoreau Nov 07, 2013

I confirm, this is a cruelly missing feature.

4 votes
Emre Cosar Jan 30, 2017

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

4 votes
Marcus Mangelsdorf Aug 20, 2018

2018 and still no custom order?

3 votes
Tatyana Shevchenko Nov 19, 2016

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?

2 votes
Morena Carvalho May 13, 2014

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.

2 votes
Le Nguyen Oct 28, 2015

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

2 votes
Damian Burger Nov 11, 2015

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

2 votes
Mandy Duvall Aug 16, 2016

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

1 vote
Jessica Sullivan Nov 14, 2013

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.

1 vote
Heather Derringer Apr 03, 2014

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.

1 vote
Dennis Hestbech Nov 30, 2014

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 vote
Fiona Maher Sep 11, 2015

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

1 vote
Nicolai Lindholm Oct 26, 2015

+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

 

 

 

1 vote
Nikola Milikic Aug 28, 2018

Why is this issue marked as solved when it is not solved? This is a basic feature one would expect from this kind of a tool.

0 votes
Deepak Bansal Jan 30, 2014

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.

Emily Schneider Jan 31, 2014

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

Deepak Bansal Feb 02, 2014

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.

Deepak Bansal Mar 11, 2014

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.

Marcus Crowley Apr 21, 2016

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?

Alex Mrynsky May 08, 2016

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.

0 votes
Johan Garnolf Mar 11, 2014

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

0 votes
Emily Schneider Mar 11, 2014

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
0 votes
Deepak Bansal Apr 06, 2014

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.

0 votes
Alejandro Marcos Apr 28, 2014

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,

0 votes
Emily Schneider May 13, 2014

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

Bastian Erdnuess Sep 19, 2014

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.

0 votes
Dagfinn Rosnes Sep 15, 2014

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

Rupinder Grewal Aug 28, 2017

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

0 votes
Bastian Erdnuess Sep 19, 2014

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.

0 votes
rsud Oct 09, 2014

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.

0 votes
Nikita Ratkevich Oct 07, 2017

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

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

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published in Jira

Try Jira Cloud for Outlook: Organize your work without leaving your inbox

Hi Atlassian community, My name is Max and I work on the product integration team at Atlassian. I am pleased to announce the early access program for the Jira Cloud add-in for Outlook. This add-in...

1,201 views 2 13
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you