AssignmentId allows you filter on the ID of the Assignment associated with a Script Run or Automated Test Run.
This field and the Assignment field can both be used for searching by AssignmentId - but key differences are that:
- AssignmentId does not support the use of sub-selects.
- Aggregating by "Assignment" will group by name.
- Aggregating by "AssignmentId" will group by the Unique ID of the script/test associated with the assignment.
Matching by single Id:
AssignmentId = 07649a3b-f086-4d0d-94b8-a14d00850fe9
Matching by multiple Id's:
AssignmentId IN [07649a3b-f086-4d0d-94b8-a14d00850fe9, 91f8769a-1f02-4201-9c85-a14d008e9a43]