Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
  • Community
  • Q&A
  • Jira
  • Questions
  • JQL for where issue type is DefectOrStoryOrTask but pick only certain types of Tasks based on TaskOp

JQL for where issue type is DefectOrStoryOrTask but pick only certain types of Tasks based on TaskOp

Jyoti Singh March 19, 2025

I was to write a JIRA filter to see all the issues that belongs to QA in currentSprint

My current query looks like following, but I only want the tasks that belong to QA meaning where Task Options field of a Task issueType is either "QA General" or "Automation Task"

Query:

project = XYZ AND issuetype in ("New Feature","Production Defect",Task) and "Team Name" = "ABC"AND Sprint in openSprints()

 

 

1 answer

0 votes
Gary Spross
Community Champion
March 19, 2025

Does this work?

project = XYZ AND "Team Name" = "ABC" AND Sprint in openSprints() AND (issuetype in ("New Feature", "Production Defect") OR (issuetype = Task AND "Task Options" IN ("QA General", "Automation Task")))

 

Suggest an answer

Log in or Sign up to answer