Is there a way to pass search criteria to a filter

I can write a filter that says "id in (em-878, em-1086,em-894, em-1087)" and that's fine. But is there a way to write it so I can type in the items in the list when I execute the filter?

Something like this:

id in (GetUserInput())

1 answer

1 accepted

0 vote

No, because there's not a lot of point. The simple filtering allows you to do filtering without much complexity, and if you're going to start typing advanced queries, then you're already typing and you're probably clever enough to know you want to do more than that, so you might as well use the text in front of you.

Although for that particular query (a list of issues), you could use the Jira Toolkit, add an "issue searcher" field and then you can type in an arbitrary list of issue ids into it in the simple search.

Thanks. That was my guess.

But you mention the "Issue Searcher" field. That reminds me that I have the plugin and tried it. I added the field and added it as a navigator column. But I don't see the field to enter the IDs into.

Go into the simple search and look for <whatever you called the field>

I go to search.

I see these buttons:

Project/All Issue Type/All Status/All Assignee/All Contains text +More Criteria

I use +More Criteria to add my field 'Multi Issue Search' and it has an "All" dropdown.

When I click the All drop down nothing happens.

The field is of the type "Multi Issue Key Searcher"

Hmm. Actually, that looks like Atlassian have broken it in Jira 5.2. It doesn't work on their site either.

In 5.1 and below, the old simple-search was a list of fields, and it would appear there as a text box. I hadn't tried it on 5.2 (my clients haven't gone that high yet, for various reasons).

I think that's a bug in 5.2 and should be raised with them!

Thanks. I just did.

Suggest an answer

Log in or Join to answer
Community showcase
Jason Wong
Published Tuesday in Agility Beta

Welcome to agility

Every team in the world is unique, and so   Atlassian believes   that each and every team's best way of working  needs to  be molded to their unique circumstances  – ...

408 views 6 16
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot