Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Is there a way to pass search criteria to a filter

George Carvill
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 6, 2013

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
Answer accepted
Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 6, 2013

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.

George Carvill
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 6, 2013

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.

Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 6, 2013

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

George Carvill
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 6, 2013

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"

Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 6, 2013

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!

George Carvill
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 7, 2013

Thanks. I just did.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events