How to query to retrieve tasks or bugs with no components

Hi, I have written query which gives me all tasks & bugs which have components, which i have retrieving  using components which that particular task or bug have. Now i have a requirement to show Tasks & bugs that have No Components attached to it. To my surprise i did not see any component like "NoComponent" in component table of JIRA DB. Please help me.

 

2 answers

0 vote

You can use a JQL.

(issuetype = Bug or issuetype = Task) AND component is EMPTY

Thank you Jobin it works....

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Amir Kazemi
Posted 5 hours ago in Jira

We want to know what Jira Service Desk apps you're using!

Hi Community! My name is Amir and I’m on the Jira Service Desk product marketing team at Atlassian. Our team would love to understand how you’re leveraging our ecosystem for Jira Service Desk. Wha...

22 views 0 4
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you