I would like to tag all existing reports in a project where cases has zip-files attached.
I am thinking in the lines of this (pseudo) example:
Array project = getCasesInProject(project);
foreach (case in project)
{
Array attachment = getAttachmentsInCase(case);
foreach(attachment)
{
if(attachment.type == zip) addTag("hasZip")
}
}