thrown.expect(RestClientException.class);
thrown.expectMessage(String
.format("Field '%s' cannot be set. It is not on the appropriate screen, or unknown.", fieldId));
final IssueInput issueInput = new IssueInputBuilder("TST", 1L, "Should fail")
.setFieldValue(fieldId, "test")
.build();
issueClient.createIssue(issueInput, pm);
}