def create_labels(team, name, calender, client, sprints):
    """
    Helper function to create labels for a project.

    :param Dict team: Team dict
    :param Dict calender: Calender dict
    :param jira.client.JIRA client: JIRA client
    :param String name: Team name
    :param List sprints: List of sprints
    :return: Newly Created Issue
    :rtype: jira.Issue
    """
    # There is no way to 'manage' labels.
    # See https://community.atlassian.com/t5/Jira-questions/How-to-manage-labels/qaq-p/296536
    # Best way is to create an issue for our new board

    # First gather our labels
    labels = []
    for sprint, value in calender.items():
        if value['quarter_string'] not in labels:
            labels.append(value['quarter_string'])

    # Create a new JIRA issue
    title = '%s Sprint Planning for %s-%s' % (
        name, calender[0]['quarter_string'], calender[0]['quarter_string']
    )
    issue = client.create_issue(fields={
        'summary': title,
        'issuetype': {'name': 'Story'},
        'labels': labels
    })

    # Add issue to first sprint
    client.add_issues_to_sprint(sprints[0].id, issue_keys=[issue.key])

    return issue