---
title: "assignIssue"
canonical: "https://support.appfire.com/space/JCLI/70785712/assignIssue"
format: markdown
---
> Macro (aura-html)

See also: [Actions](https://appfire.atlassian.net/wiki/spaces/JCLI/pages/70787366)

> Macro (details)
> 
> | **Description** | Assign an isssue to a userId. Use @default for userId to set the assignee to the project default. If userId is blank or not provided, the assignee is set to null. |
> | --- | --- |
> | **Required Parameters** | [issue](https://appfire.atlassian.net/wiki/spaces/JCLI/pages/70784877) |
> | **Optional Parameters** | [userId](https://appfire.atlassian.net/wiki/spaces/JCLI/pages/70785776) |
> | **Type** | [Update](https://appfire.atlassian.net/wiki/spaces/JCLI/pages/70780909/Action+Types#ActionTypes-Update) |
> | **Category** | [Issues](https://appfire.atlassian.net/wiki/spaces/JCLI/pages/70780591/Action+Categories#ActionCategories-Issues) |
> | **Output Formats** |  |
> | **Replacement Variables** |  |
> | **Hosting** | cloud,server,datacenter |
> | **Since Version** |  |
> | **Examples** | [assignIssue](https://appfire.atlassian.net/wiki/spaces/JCLI/pages/70782732/Examples#Examples-assignIssue) |

## Related How To's

> Macro (cql-query)