I need help with a document report filter. I want to show documents uploaded to an issue where the user team is assigned to a private approval process
Hey Community. It is a bit complicated.
I have issues/requests with documents attached.
Approval processes are also added to the issues/requests.
There are teams assigned to the approval processes.
Besides other filters I want to show documents where the user is part of the approver team. But I don't get to the data via EXISTS statement.
This is what I currently have:
currentVersion:proofID_Mod=notblank EXISTS:A:$$OBJCODE=OPTASK EXISTS:A:ID=FIELD:opTaskID EXISTS:A:teamAssignment:teamID=$$USER.teamIDs EXISTS:A:teamAssignment:teamID_Mod=in opTask:status=CLS RLV opTask:status_Mod=notin OR:1:currentVersion:proofID_Mod=notblank OR:1:opTask:status=CLS RLV OR:1:opTask:status_Mod=notin OR:1:owner:homeTeamID=$$USER.teamIDs OR:1:owner:homeTeamID_Mod=in
The last OR filter for approver teams is missing because i don't know how.
Last try was:
OR:1:EXISTS:B:$$OBJCODE=OPTASK
OR:1:EXISTS:B:ID=FIELD:opTaskID
OR:1:EXISTS:B:approvalProcess:accessorIDs=$$USER.ID
OR:1:EXISTS:B:approvalProcess:accessorIDs_Mod=containsBut this doesn't work
Thanks in advance