0

HP ALM/QC rest's API seems to default on AND when filtering and using a semi-column. How can i use OR between the following 3 fields instead of an AND.

&query={user-02[NOT Dev];user-08[NOT Y];status[NOT Closed]}

I tried to simulate this in the UI and see the generated filter but with no success.

  • According to the API reference, you cannot use OR here, but maybe you can rework your query using `inclusive-filter[false]` statement. See details: https://admhelp.microfocus.com/alm/en/12.55/api_refs/REST_TECH_PREVIEW/ALM_REST_API_TP.html#REST_API_Tech_Preview/General/Filtering.html%3FTocPath%3DHow%2520to%2520Do%2520Common%2520Tasks%7CQuery%2520a%2520Collection%2520of%2520Entities%7C_____1 – Sergi Aug 22 '22 at 09:56
  • Well i did two api calls with a list of rejects first that i filtered by code in the next call. How can apply the inlusive-filter that you suggest on defects? do you have an example? – Halim Saad-Rached Aug 23 '22 at 13:16

0 Answers0