How to Set Assignee to Unassigned via REST API in JIRA
目的
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.
ソリューション
- Don't:
例:
{
"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:
例:
{
"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.
最終更新日 2020 年 4 月 21 日
Powered by Confluence and Scroll Viewport.