> Markdown versions of all pages of this connector library are available by appending `.md` to the page URL. For the full index of connectors, see [llms.txt](https://connectors.appmixer.com/llms.txt).

# appmixer.jira.issues.AssignIssue

- Component: `appmixer.jira.issues.AssignIssue`
- Kind: Action
- Version: 1.0.0
- Visibility: Public
- Connector: [appmixer.jira 4.0.5](https://connectors.appmixer.com/connector/appmixer.jira/4.0.5.md)
- Component page: <https://connectors.appmixer.com/connector/appmixer.jira/4.0.5/component/appmixer.jira.issues.AssignIssue>

Assign an Issue to an Assignee.

## Input ports

### Port `in`

| Field | Type | Description |
| --- | --- | --- |
| Issue ID or Key (`id`) | text | Enter the ID or key of the issue. |
| Assignee ID (`accountId`) | text | Enter the account ID of the assignee. |

## Output ports

### Port `issue`

| Field | Type | Description |
| --- | --- | --- |
| Issue ID/Key (`id`) | string | - |
| Assignee ID (`accountId`) | string | - |

## Full metadata (component.json)

```json
{
  "name": "appmixer.jira.issues.AssignIssue",
  "description": "Assign an Issue to an Assignee.",
  "author": "Jimoh Damilola <jimoh@client.io>",
  "auth": {
    "service": "appmixer:jira",
    "scope": [
      "write:jira-work",
      "read:jira-work"
    ]
  },
  "inPorts": [
    {
      "name": "in",
      "schema": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "accountId": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "accountId"
        ]
      },
      "inspector": {
        "inputs": {
          "id": {
            "type": "text",
            "label": "Issue ID or Key",
            "index": 1,
            "tooltip": "Enter the ID or key of the issue."
          },
          "accountId": {
            "type": "text",
            "label": "Assignee ID",
            "index": 2,
            "tooltip": "Enter the account ID of the assignee.",
            "source": {
              "url": "/component/appmixer/jira/issues/ListField?outPort=out",
              "data": {
                "messages": {
                  "in": {
                    "type": "assignee"
                  }
                },
                "transform": "./ListField#fieldToSelectArray"
              }
            }
          }
        }
      }
    }
  ],
  "outPorts": [
    {
      "name": "issue",
      "schema": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "title": "Issue ID/Key",
            "example": "10002"
          },
          "accountId": {
            "type": "string",
            "title": "Assignee ID",
            "example": "5b10a2844c20165700ede21g"
          }
        }
      }
    }
  ],
  "icon": "(data URI omitted)"
}
```
