How to query to retrieve tasks or bugs with no components

deereshgupta September 17, 2014

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 votes
deereshgupta September 17, 2014

Thank you Jobin it works....

0 votes
Jobin Kuruvilla [Adaptavist]
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.
September 17, 2014

You can use a JQL.

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

Suggest an answer

Log in or Sign up to answer