# Jira create issue API does not honor assignee or reporter fields

**URL:** <https://community.developer.atlassian.com/t/jira-create-issue-api-does-not-honor-assignee-or-reporter-fields/39956>\
**Category:** Jira Cloud\
**Created:** [July 14, 2020, 10:33pm UTC](https://community.developer.atlassian.com/t/jira-create-issue-api-does-not-honor-assignee-or-reporter-fields/39956 "2020-07-14T22:33:50Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![RobertRoss](https://sea1.discourse-cdn.com/atlassiandeveloper/user_avatar/community.developer.atlassian.com/robertross/32/40326_2.png) [@RobertRoss](https://community.developer.atlassian.com/u/RobertRoss)\
**Post date:** [July 14, 2020, 10:33pm UTC](https://community.developer.atlassian.com/t/jira-create-issue-api-does-not-honor-assignee-or-reporter-fields/39956/1 "2020-07-14T22:33:50Z")

</div>

Hello, I’ve followed the API documentation for creating an an issue in Jira with an assignee ID, however it does not set the assignee when I view the ticket via either the API or the UI.

My payload looks like this:

```json
{
  "fields": {
    "summary": "another one",
    "description": {
      "type": "doc",
      "version": 1,
      "content": [
        {
          "type": "paragraph",
          "content": [
            {
              "type": "text",
              "text": ""
            }
          ]
        }
      ]
    },
    "project": {
      "id": "10002"
    },
    "issuetype": {
      "id": "10004"
    },
    "labels": [
      "firehydrant",
      "UNSET"
    ]
  },
  "assignee": {
    "id": "5bd7c9cabfe6ba4263f72879"
  }
}

```

However the assignee does not get set. Same thing if I set the `reporter` field as well.

I receive no error from the API, too. It creates the issue just fine, but with no assignee.

I’m using an OAuth2 bearer token to perform this request.

---

<div class="post-metadata">

**Author:** ![dmorrow](https://sea1.discourse-cdn.com/atlassiandeveloper/user_avatar/community.developer.atlassian.com/dmorrow/32/35895_2.png) [@dmorrow](https://community.developer.atlassian.com/u/dmorrow)\
**Post date:** [July 15, 2020, 4:30am UTC](https://community.developer.atlassian.com/t/jira-create-issue-api-does-not-honor-assignee-or-reporter-fields/39956/2 "2020-07-15T04:30:16Z")

</div>

Hi @RobertRoss,

The `assignee` field needs to be directly under the `fields` field. I think it is a peer to the `fields` field in your code.

Regards,  
Dugald
