Forums

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

How do you do a search with contains and multiple fields?

Christine Ritchie July 13, 2018

This works

 

 project = APT AND FreeForm ~ NIRCAM AND FreeForm ~ "IMS=True" ORDER BY issue DESC

   This didn't work

   project = APT AND FreeForm ~ (NIRCAM AND "IMS=True") ORDER BY issue DESC

2 answers

1 accepted

0 votes
Answer accepted
Christine Ritchie July 13, 2018

Looks like this does it!

project = APT AND FreeForm  ~ "NIRCAM IMS=True"

0 votes
Tyler Brown
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.
July 13, 2018

Hey Christine,

Instead of AND in your brackets have you tried using a "," to separate your values?

Tyler

Christine Ritchie July 13, 2018

I hadn't but none of these work

project = APT AND FreeForm ~ (NIRCAM,"IMS=True") ORDER BY issue DESC

Operator '~' does not support the list value '("NIRCAM", "IMS=True")' for field 'FreeForm'.

 

project = APT AND FreeForm ~ NIRCAM,"IMS=True" ORDER BY issue DESC

didn't complain but didn't find anything whereas the more klunky search finds issues.

Tyler Brown
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.
July 13, 2018

Can you try FreeFrom in (NIRCAM, "IMS=True")

Christine Ritchie July 13, 2018

Got back

The operator 'in' is not supported by the 'FreeForm' field.

Christine Ritchie July 13, 2018

is doesn't seem to work either

 

project = APT AND FreeForm is ("NIRCAM", "IMS=True")

Got back

  • Operator 'is' does not support searching for non-empty values for field 'FreeForm'.
  • Operator 'is' does not support the list value '("NIRCAM", "IMS=True")' for field 'FreeForm'.
Christine Ritchie July 13, 2018

I just thought it could be neatened up ... but perhaps not.

Christine Ritchie July 13, 2018

I can get multiple fields with

project = APT AND FreeForm  ~ "NIRCAM IMS True"

but unfortunately this isn't IMS=True and there are other True options in the Freeform Field.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events