Zephyr Squad Cloud

Search, vote, comment and create ideas for Zephyr Squad Cloud improvements. Please visit our Support Center if you have to report a bug or submit a ticket with our Support Team.

When I add test cases to a cycle, they get added in a random order. Can we default sort by key id?

  • Guest
  • Jul 30 2021
  • Future consideration
As a... Test Manager
I would like... test cases that are added to a cycle be automatically sorted by id
So that I... don't have to rearrange them manually
  • Attach files
  • Guest commented
    19 Jun 04:30pm

    I am also looking for solution of this issue..

  • Radek Muzatko commented
    24 May 02:01pm

    This is received from the support: As of now, we can sort the Issue id with ascending or decreasing order but we can't order the test cases in the cycle.

    I think the most wanted case is to be able to order it manually in the test cycle when I add a new test case.

  • Simon Burch commented
    20 Sep, 2021 09:16am
  • John Zhang commented
    26 Aug, 2021 10:04pm

    Additionally, could you confirm whether it is actually my "issue id"? I copied the url for some of the test cases in the cycle list view without clicking on ordering, and here is what I find:







    The order is incorrect

    But it seems that it is sorted by another field by default "execution.id":






    Could you confirm if this is expected?

  • John Zhang commented
    26 Aug, 2021 04:55pm

    Thank you @sanjeev! To me, I would prefer data model change so that Issue Key could be used for sorting.

    At the same time since it gest sorted by Issue Id, is there a way we can define that field? Our tests are now imported using the internal importer, but I don't see a field I could map as "Issue Id" in the import Mapping step. Thank you!

  • Admin
    Sanjeev Pande commented
    26 Aug, 2021 12:06pm

    Today it gets sorted by Issue Id, i.e. 10000, 10001, 10002 and not Issue Key. As Issue Key is a Jira field, we are not storing it at our end, so sorting is not available on that today.

    To make sorting available on Issue Key, either we need to update our data model to save that info or we can provide a client side sorting on the data per page of the grid.

    Would you prefer any of this option?

    The feature of custom reordering is in our roadmap and we have already planned to implement it. The application is currently undergoing infrastructural changes, where the underlying database is getting replaced with another one. As the implementation of this feature requires the existing data model and schema changes, we would be implementing it with that. I will be providing an update soon once we start the implementation.

    Thank you.

  • Nick dp commented
    26 Aug, 2021 08:52am

    I would also like to be able to re-order the tests in a cycle by dragging and dropping.

    Right now, it's not clear how they are ordered. It appears to be neither by test Test ID, nor in order the tests are added to the cycle.

  • John Zhang commented
    24 Aug, 2021 11:15pm

    Is this a bug that caused the tests to be ordered randomly?

  • Guest commented
    13 Aug, 2021 09:54am

    Or ability to drag/drop to manually re-order into the desired logical sequence, handy if test cases are added later, but they need to go into the middle of the cycle (ID sort would then be of no use). But ID sort is also very useful as an addition.

  • Guest commented
    4 Aug, 2021 07:42pm

    or better yet, retain the sorting that I set (or at least today's session)?