Details
-
Suggestion
-
Resolution: Won't Fix
-
None
-
None
-
1
-
Description
Problem Definition
Jira currently has the ability to search for issues that contain components with certain users as Component Leads, per Advanced searching - functions reference : componentsLeadByUser()
Per the above reference, the componentsLeadByUser accepts a username as a parameter to identify issues which are part of components where the user in question is the component lead. Additionally, it can be left blank to instead use the current user as the component lead.
At this time, there is no ability to supply a NULL or empty parameter to identify issues which are part of a component with no component lead. Admins will find this handy should they ever need to identify this population of issues.
Suggested Solution
Implement a new function, or extend the current componentsLeadByUser to accept a NULL or empty type parameter in order to match against components which have no lead.
Why this is important
For a system which uses components regularly as part of the system's regular workflow, components which have no lead (and the issues in those components) becomes a point of interest for admins. Jira currently offers no way to bulk identify these components, and by extension, no way to identify issues which are in these components.
Workaround
Identify all components with no lead directly from the database:
- select * from component where LEAD is NULL;
The results can be used as arguments in JQL to find these issues manually.