Currently search queries are executed using 'Artifact', as it provides an easy way to search all types of bugs. This prevents filtering by type specific properties, though. For example, to implement a search by iteration either 'Task' or 'HierarchicalRequirement' needs to be searched. This can already be implemented using direct calls to bug-rpc, but the query can't be repeated as the endpoint used is not stored in the results:
- store endpoints with the search results
- allow specifying endpoint in search queries