I've managed to solve my issue but in a way that seems not particularly efficient.
'CALL apoc.periodic.iterate('UNWIND $batch as row RETURN row',
'MATCH (s:STORY), (t:ISSUE) WHERE s.id = row.id AND t.id = row.cat_id
CREATE (s)-[r:IS_TAGGED_WITH]->(t...