Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,13 @@ public JiraUser(String propertyName, String value) {
}

public static JiraUser unassigned(String propertyName) {
return new JiraUser(propertyName, null);
// {
// "name": "-1"
// }
// Note: If the name is "-1" default assignee is used.
//
// Note: we do not send something like "name": null as that will get dropped
// from the request and not sent at all.
return new JiraUser(propertyName, "-1");
}
}