Forums

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

How can we write a JQL query to exclude sub-tasks that have a bug parent?

Rachel Rhodes
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!
May 18, 2020

We are using Aha (which we love) but we're getting error when Jira is sending sub-tasks that have bug parents. It appears we are already excluding bugs (yay!) but not their sub-tasks. How can we write a JQL query to exclude sub-tasks that have a bug parent?

Thank you!

1 answer

1 accepted

1 vote
Answer accepted
Jack Brickey
Community Champion
May 18, 2020

Hi Rachel, welcome to the Community. You cannot do this OOTB. Consider an addon, e.g. jql-search-extensions-for-jira-reports , Scriptrunner, etc. With the first addon you can leverage something like the following and work it into your current JQL.

...issue not in subTaskOf ("issuetype=bug")

Rachel Rhodes
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!
May 18, 2020

Thanks, Jack! I feel less crazy that I couldn't figure it out.

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, rovo agent workshop, build a rovo agent, interactive workshop, Atlassian Intelligence, rovo agent building, automated triage, ai agents, cloud app development, atlassian learning, rovo studio, developer productivity, Rovo workshop

Let's build A Rovo Agent 🤖

Want to build your own Rovo Agent? Join this interactive workshop and dive into a powerful Rovo use case: improving resolution time with automated triage.

Save your spot
AUG Leaders

Atlassian Community Events