'Bulk create new issues and return an issue Resource for each successfully created issue.
See `create_issue` documentation for field information.
:param field_list: a list of dicts each containing field names and the values to use. Each dict
is an individual issue to create and is subject to its minimum requirements.
:param prefetch: whether to reload the created issue Resource for each created issue so that all
of its data is present in the value returned from this method.'

def create_issues(self, field_list, prefetch=True):

    data = {u'issueUpdates': []}
    for field_dict in field_list:
        issue_data = _field_worker(field_dict)
        p = issue_data[u'fields'][u'project']
        if (isinstance(p, string_types) or isinstance(p, integer_types)):
            issue_data[u'fields'][u'project'] = {u'id': self.project(p).id}
        p = issue_data[u'fields'][u'issuetype']
        if isinstance(p, integer_types):
            issue_data[u'fields'][u'issuetype'] = {u'id': p}
        if (isinstance(p, string_types) or isinstance(p, integer_types)):
            issue_data[u'fields'][u'issuetype'] = {u'id': self.issue_type_by_name(p).id}
        data[u'issueUpdates'].append(issue_data)
    url = self._get_url(u'issue/bulk')
    r = self._session.post(url, data=json.dumps(data))
    raw_issue_json = json_loads(r)
    issue_list = []
    errors = {}
    for error in raw_issue_json[u'errors']:
        errors[error[u'failedElementNumber']] = error[u'elementErrors'][u'errors']
    for (index, fields) in enumerate(field_list):
        if (index in errors):
            issue_list.append({u'status': u'Error', u'error': errors[index], u'issue': None, u'input_fields': fields})
        else:
            issue = raw_issue_json[u'issues'].pop(0)
            if prefetch:
                issue = self.issue(issue[u'key'])
            else:
                issue = Issue(self._options, self._session, raw=issue)
            issue_list.append({u'status': u'Success', u'issue': issue, u'error': None, u'input_fields': fields})
    return issue_list
