Forums

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

Jira filter query building

Dennis De Braekeler
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!
November 19, 2018

Hi,

 

In Confluence I wish to display on each project documentation page the registered Jira issues related to that project. 

I used the Jira issue filter macro in confluecne with following search query:

project = "Project1" AND cf[10201] ~ AAAA

Which works fine.

Then I tried expanding my search to the following

project = "Project1" AND cf[10201] in ("AAAA", "BBBB")

Which "The Jira server didn't understand". How shall I search for two values in the field?

 

1 answer

1 accepted

0 votes
Answer accepted
Alexey Matveev
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.
November 19, 2018

Hello,

If it is a text field you should search like this:

project = "Project1" AND (cf[10201] ~ AAAA OR cf[10201] ~ BBBB)
Dennis De Braekeler
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!
November 19, 2018

It is indeed a text field.

Thank you, works perfectly.

Alexey Matveev
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.
November 19, 2018

@Dennis De Braekeler You are most welcome! If my asnwer helped you, kindly accept my answer.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events