def METHOD_NAME(project, milestone, auth=True, **params):
    milestones = get_milestones(project, auth=auth, **params)
    for mstone in milestones:
        if mstone['title'] == milestone:
            return mstone
    else:
        raise ValueError("milestone %s not found" % milestone)