def METHOD_NAME():
    print 'Getting all project with field releaseIdToUsage'
    project_with_releaseIdToUsage_field = db.find(get_projects_with_releaseIdToUsage_field_query)
    for project in project_with_releaseIdToUsage_field:
        print 'migrating for project: ' + project["_id"]
        dependency_network = []
        try:
            for release_id, relation_with_project in project.get(releaseIdToUsageFieldName).items():
                createOn = relation_with_project.get('createdOn')
                createBy = relation_with_project.get('createdBy')
                node = {
                    'releaseId': release_id,
                    'releaseRelationship':relation_with_project.get('releaseRelation'),
                    'mainlineState': relation_with_project.get('mainlineState'),
                    'createOn': createOn,
                    'createBy': createBy,
                    'comment': relation_with_project.get('comment'),
                    'releaseLink': get_children_node(release_id, createBy, createOn)
                }
                dependency_network.append(node)
            project[newFieldName] = json.dumps(dependency_network, separators=(',', ':'))
            applyTransferData(project, log)
        except:
            log['Error updated project'].append({"id": project['_id']})