Advanced search "Filter" fieldtype

Are there best practices in usage of the advanced search Filter fieldtype? We want to create filters which all depend on 1 other saved filter.

For instance :

filter 'MyProjects' : "project in ("projectA", "projectB", ....,"projectX")

filter OpenIncidentsIssues : "status = Open AND issuetype = Incident AND filter = MyProjects

In that way if a new project is added, we only have to change 1 filter.

And what is the impact on performance?

1 answer

Hi Olivier iy you want a little more info of that you can see here:

http://stackoverflow.com/questions/12257496/jql-filter-other-query

Now, the impact on your performance it's the same I think. The problem will be the maintenance, if you have:

filter 'MyProjects' : "project in ("projectA", "projectB", ....,"projectX")

And you name this filter MyProjects2 and then you want to add more:

filter 'MyProjects2' : "project in ("projectA", "projectB", ....,"projectX")

You will have junk filters all over, and will be difficult to know what filters are for use and what for dump. And knowing what you have on MyProjects will mean you have to go inside MyProjects2 and then going inside MyProjects. Imagine if you have like 10 filters chained like that.

I think it's better to change filters whenever you need to add projects.

Just in case, there's a plugin for advance filters, here you have the list of tricks for JQL:

http://www.j-tricks.com/jql-tricks-plugin.html

Problem is that it's not free.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Tuesday in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

558 views 1 18
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