final IssueRestClient issueClient = client.getIssueClient();
thrown.expect(RestClientException.class);
thrown.expectMessage("project is required");
final IssueInput issueInput = new IssueInput(ImmutableMap.of(
"summary", new FieldInput("summary", "Summary"),
"issuetype", new FieldInput("issuetype", ComplexIssueInputFieldValue.with("id", "1"))
));
issueClient.createIssue(issueInput).claim();
}