JIRA Filter Using Order Logic Based On Filter Results

The goal is to have a report showing all JIRA issues that were ever assigned to an associate in my group.

I'm attempting to use the following filter in JIRA:

Project = Abends AND created >= startOfMonth() AND created <= endOfMonth() AND assignee was in (DT01781, DT03430, DT14833, DT14242, DT21947, DT25940, DT28802, DT10498, DT25238, DT20636, DT19317, DT29796, DT19506, DT37403, DT09973, DT25965, DT05773, DT38857, DT39542, DT59228, DT14203, DT66309, DT81630, DT72977, DT79512, DT75970, DT87215, DT78483, DT75980, DT80849, DT72634, DT87716) ORDER BY assignee ASC, status ASC, created ASC

The problem is the results. It currently displays the current assignee, not the 'assignee was in' list in my filter. How do I display the results, broken down by the ID's I've listed in my filter? And if this is possible, will it display using the ID, or the actual name associated?

Is this too complex, or am I missing something?

4 answers

1 accepted

This widget could not be displayed.

There's nothing wrong with your query. What you are missing is that JQL is for finding issues, NOT reporting on them.

The list you are getting is right. You are then displaying the list of results in a function that reads the details and displays them (such as the issue navigator). That function is built to render the current values for the fields selected. It has no possible way to know that you want to display something other than, well, what you (and the developers) have told it to render.

You're going to need a spot of code to get this one - something that will pull out previous assignees from the issues.

I agree, the query is showing exactly what it's told, I was just hoping it was smart enough to understand that the assignee had been defined in the query, and would be able to dynamically order the query by it.

If this is impossible without special code, I'm assuming by going against the underlying data, that's what I'll have to do.


This widget could not be displayed.

This is pretty complex, and what are you going to do when 2 of your people had the same issue assigned to them?

This widget could not be displayed.

It should count for both.

This widget could not be displayed.

It should count for both.

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

226 views 3 0
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