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 votes
Accepted answer

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 Sign up to answer
Community showcase
Published yesterday in Agile

How Scrum works? It starts with training and education

To answer “How scrum works,” most of the teams I've worked with first addressed the question: “where to start?”  That question applies to both implementation and improvements on the Scrum framew...

117 views 3 3
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