def get_used_per_ticket_fields(self):
        fields = []
        for filename in os.listdir(self.path):
            full_path = os.path.join(self.path, filename)
            matched = self.FIELD_MATCHER.match(filename)
            if matched and os.path.isfile(full_path):
                field_name = matched.group(1)
                if field_name not in constants.FILE_FIELD_BLACKLIST:
                    fields.append(field_name)

        return fields
dataset/ETHPy150Open coddingtonbear/jirafs/jirafs/jirafieldmanager.py/WorkingCopyJiraFieldManager.get_used_per_ticket_fields/original