How to filter two issuetypes using JQL?

Edited

Hi everone!

I´m looking for ways to fetch Bugs and DevBugs together with JQL, I know they are similar categories but both are used in my project. 

I´m trying to look "project=X AND sprint in (XX) AND sprint in openSprints() AND issuetype=Bug AND issuetype=DevBug" but return a error.

Thanks!

3 comments

Comment

Log in or Sign up to comment
Somnath Patil
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.
Feb 23, 2023

Hi Ana,

 

You should try the following JQL :  

 

"project=X AND sprint in (XX) AND sprint in openSprints() AND issuetype=Bug OR issuetype=DevBug" .

Like Ana Luiza Chagas likes this
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Feb 23, 2023

"project=X AND sprint in (XX) AND sprint in openSprints() AND issuetype=Bug OR issuetype=DevBug" might not do what you need.

Try "project=X AND sprint in (XX) AND sprint in openSprints() AND (issuetype in "Bug", " devBug")"

Like # people like this

Hi guys! Thanks for to help.

I found a solution similiar this: "project=X AND sprint in (XX) AND sprint in openSprints() AND issuetype in (Bug, DevBug)"

TAGS
AUG Leaders

Atlassian Community Events