Hi all,
My specific use case:
I want to create a monitoring, which alerts me if there are projects with more than one "Project Manager”.
For this i tried the following GET request to the awork api:
/api/v1/projects?filterby=members/any(m: m/projectRoleId eq guid’ROLE-PROJECT-MANAGER-GUID’) and members/count() gt 1
This returns all projects having at least one member with the role “Project Manager” and having more than one member.
Is it possible to combine any and count in a way, that only the already filtered members by the “any-part” are counted?
Thanks in advance and kind regards,
Nicola