def METHOD_NAME(self, *args):
    self.login_as(user=self.user)
    group = self.create_group(project=self.project)
    url = "/api/0/issues/%s/plugins/issuetrackingplugin2/create/" % group.id
    response = self.client.get(url, format="json")
    assert response.status_code == 400
    assert response.json() == {
        "message": "Unable to create issues: there are " "no events associated with this group"
    }