Forums

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

syntax for field "environment"

luis coria
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 2, 2018

hi, i have a question about syntax for the field "environment".

i'd like to get a report where it shows me two enviroments : TESTING and PRODUCTION

but I just get one environment on screen, and I don't know how to see both of them:

this is my query that works (but just one environment as result):

project = ISP AND resolution = Unresolved AND environment ~ "\"production\""

 

do you know how to add the second value, so i can get the two enviroment on screen?

 

thanks

1 answer

0 votes
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.
October 2, 2018

Use an "or"

project = ISP AND resolution = Unresolved AND (environment ~ "\"production\"" or environment ~ "\"testing\"")

luis coria
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 2, 2018

Thanks, but that operator is not allowed to use with the field environment.

I solved the issue with the following query:

 

project = ISP AND resolution = Unresolved AND (environment ~ testing OR environment ~ production)

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events