Forums

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

issue with JQL results w .r t custom fields(multiple context)

Anees Sultana February 22, 2022

Hi Team,

I have one custom field "customer platform". it is having default context and project specific context as well.

Custom field : Customer platform 

Default context default values : DA,DB,DC

Project "A" context default Values: AA,AB,AC

Project "B" context default values : BA,BB,BC

 

Issue what I am seeing is with my JQL results.

If I select project A , in customer platform I am able to see values as AA,AB,AC

but when I select project A, B both(multi select project) then in customer platform I am not seeing any values.

I was expecting result to be AA,AB,AC,BA,BB.BC .

Please help with proper reasoning/reference for this behavior of JQL and also let me know if I am missing anything

1 answer

1 accepted

0 votes
Answer accepted
Radek Dostál
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.
February 22, 2022

Try doing Advanced search with this:

project in (A, B) and "Customer platform" in (AA,AB,AC,BA,BB,BC)

 

Chances are the simplified dropdown selector is not able to recognize available options due to the different contexts. JQL search itself uses option values (i.e. the pretty name), so it should return any issues with those values regardless of contexts or different options ids in the event the options would have the same value, but different id because they belong to different contexts.

If you are able to get the results with advanced query like above, then I will assume it's just that the simple filter options lack the ability to merge contexts (I haven't used those simple searches in years but I remember it having quite some downsides with custom fields).

Anees Sultana February 22, 2022

Hi Radek Dostál,

 

Thank your response.

I can very well fetch values by given advanced JQl given by you.

But when I write query till 

project in (A, B) and "Customer platform" in ( 
--after this point I want my JQL results to show me all the values as
drop to select) which is not happening, It is showing me all default configurations values

It should show me (AA,AB,AC,BA,BB,BC) but results is showing me all the values
of default configuration values (AA,AB,AC,BA,BB,BC,CA,CD,CE).

Any inputs on this behavior is highly appreciated

Thank,
Anees
 
Radek Dostál
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.
February 23, 2022

That's normal and wanted - advanced search does not attempt to do any smarty pants optimizations - it suggests all available options which exist for that field.

Anees Sultana February 23, 2022

Really appreciate your immediate response on this.

Thanks again @Radek Dostál 

Suggest an answer

Log in or Sign up to answer