example:
key in (ISSUE-2, ISSUE-1, ISSUE-3)
will get me an output of:
while i would like the results to be sorted this way:
is there anything i can use to do that while using JIRA for Cloud?
UPDATE:
As for the reason i'd like the 'key' to be in the order i've dictated:
My original need was to have the ability to sort my results by
After I've exhausted all my googling efforts in search for a solution I've reached the point where I thought about the following steps:
... ORDER BY "Epic Link"
Include 'key' and 'subtasks' filed as a column and export the results.
The output gave me the sorting order I desired by stringing the key followed by it's subtasks
Now I have an array of keys in the right sorting order.
I presume I could add an extra field to each of these issues and sort by it but that won't give me the dynamic I need since it changes everyday.
Any thought?
I have a user that's trying to accomplish something very similar - Search output/view for a project, displayed/sorted as Epic - Task - subtask(s) (in other words, grouped by Epic, then grouped by task associated with the Epic.
Does anyone know of a way to do this?
Late to the party but the Structure add-on by ALM Works supports this and a whole lot more. We've used it for over 5 years and found it very effective.
Atlassian Marketplace page for Structure
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Alex, Structure makes this quite straightforward. You would:
You can then define one or more views and sort on any column in the view.
I did a webinar which explains exactly how to do all of this.
Standard disclaimers apply: YMMV, deuces are wild, I have no association with ALM Works except that of a happy customer. :-)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
i was trying to do the same thing. Temporarily, i listed the Keys (tickets) in a query to replicate a spreadsheet people use. i want the output to ORDER BY the order I put them in the query like the above request. Still looking for this answer.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If you write an Atlassian Connect add-on then you can put entity properties on every issue that define a unique sort order. That is quite a complicated solution to the problem however: https://developer.atlassian.com/static/connect/docs/latest/modules/jira/entity-property.html
What is the invariant that dictates your sort order? It is clearly not ascending or descending order.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Odd... but if that's what you want, there is probably something other than the Key that's driving the order you want. If so, include that field in the "report" and sort on it. Otherwise you can add an additional field called Order for example and sort on those values.
There is no manual moving issues up or down in the search capability. Another option would be to export the results to Excel and manipulate the order there.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.