import json


def get_issue_data(response):
    """Get the issue data contained in the response.

    Parameters
    ----------
    response : Response
        Response data.

    Returns
    -------
    issues : list
        Issue data.
    """

    issues = json.loads(response.content.decode("utf-8"))

    return issues