The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

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 Champions.
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)

TAGS
AUG Leaders

Atlassian Community Events