sourcesense / jira-multi-level-cascade-select

Jira Multi level cascade select
Other
13 stars 16 forks source link

In advanced search, multilevelcascadeOption() is returns "no results" when given a non-unique option #16

Open srujanreddy opened 12 years ago

srujanreddy commented 12 years ago

Hi,

Multi level cascade select custom fields search is not accurate in Advanced Search(JQL) when we have level-2 values are same different for level-1.

Eg: 'Module' custom field values:

   Level -1                      Level-2
   ========                 =======
   Product                         Server
                                          Client
                                          Jira
                                          Fisheye

  Test                               Unit Test
                                         System Test
                                         Server
                                          pTest

Where - Module in multilevelcascadeOption("Test", "Server") query is returns " No matching issues found."

Can you please look into this issue.

Thanks & Regards, Srujan Reddy

alessandrobenedetti commented 12 years ago

project = TST AND issuetype = Bug AND MultiNumbers in multilevelcascadeOption(10000, 10003)

This is an example of a JQL query. Using the advanced query mask, you must use your optionIds. To make searches for value you need to use other classes in the plugin that use value in indexing and search ( look at the classes starting with "Valuebased" . And change the references to this classes in the class : MultiLevelCascadingSelectSearcher4 ( the references are commented) .

Let me know