Instead of IncidentArtifactRest, ArtifactRest can provide filtering with Artifact Type, and then a further query of related_incident_artifacts with artifact_id recursively can provide you a list of incidents. Just you need to handle the aggregation of duplicated incidents.
------------------------------
Leo Kuo
------------------------------