Project

General

Profile

action #155398

Updated by mkittler 5 months ago

## Motivation 
 In #134933 and related tickets openQA gained new features to filter by `group_glob` including `not_group_glob` to filter out certain job groups. However it is either not possible or not clear how to filter out groupless jobs, e.g. see https://github.com/grisu48/openqa-mon/issues/135 


 ## Acceptance criteria 
 * **AC1:** A specific suggestion is provided on https://github.com/grisu48/openqa-mon/issues/135 how to filter out groupless jobs using the openQA API 

 ## Suggestions 
 * Extend the openQA API query functionality to filter out groupless jobs applicable for UI queries on /tests and /tests/overview as well 
     * Maybe add `not_groupid` which would behave like `not_group_glob` except that it takes a group ID and 0 is interpreted as "no group". 
     * Maybe tweak the existing `groupid` parameter to also interpret 0 as "no group" for the sake of consistency. 
 * Consider extending documentation in github.com/os-autoinst/openQA/tree/master/docs/ 
 * Provide a specific on https://github.com/grisu48/openqa-mon/issues/135 how to filter out groupless jobs using the openQA API

Back