Can you order an advanced search by something other than "date"

I'm currently trying to return unique files, counting how many times the file changed. However, I want to order by the file changes decending (Most changes to a particular file at the "top" of the report). This query will give us greater insight on problem areas/code within our code base.

The current query looks something like this, but it fails to parse anything other than "order by date." Would love to be able to order by count(revisions). Is it possible?

Thanks

Sample Query:

select revisions from dir "<some dir path>"

order by date desc

group by file

return path,

count(revisions) as "Total Fixes",

sum(linesAdded) as "Lines Added",

sum(linesRemoved) as "Lines Removed"

1 answer

1 accepted

Hi John,

In EyeQL, "order by date" is a defined query. You cannot change it to "order by revisions" or anything else.

So the answer to your question would be No you cannot.

You might want to create a New Feature request at https://jira.atlassian.com/browse/FE

Thanks for the quick response.

Do you know if any other integrated way (i.e. REST sdk or "report builder") that would allow my to customize the queries a little futher to suit what I'm trying to do?

Can you tell me more about what exactly you are trying to do? Yes you have a lot of options.

1. Work directly on the database and generate reports

2. Use Report Builder to connect to the database

3. Write your own plugin refer https://developer.atlassian.com/display/FECRUDEV/Plugin+Module+Types

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Thursday in Stride

Get Started in Stride in 3 Easy Steps

Get started on Stride in 3 easy steps   If you’re new to Stride, welcome! We’re super excited to have you aboard. Stride is easy to use and set up, so don’t worry about reading tons of borin...

59 views 0 2
Read article

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