How to Set Assignee to Unassigned via REST API in JIRA

Still need help?

The Atlassian Community is here for you.

Ask the community


Purpose

The purpose of this article is to show how to set assignee field to "Unassigned" via REST API in JIRA. The complete REST API documentation can be found at REST API and versions.

Resolution

  • Don't:

Example:

{
 "name": "Unassigned"
}

Note: Performing such way will throw "Unassigned is not an assignable user" error. This is because "Unassigned" is not an user in JIRA.

  • Do:

Example:

{
 "name": "-1"
}

Note: If the name is "-1" default assignee is used. If your default assignee is not "Unassigned", then please do as following:

{
 "name": null
}

Note: A null name will remove the assignee.

Last modified on Apr 21, 2020

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.