.setDueDate(dueDate)
.setPriority(priority)
.setFieldValue("parent", ComplexIssueInputFieldValue.with("key", "TST-1"));
// create
final BasicIssue basicCreatedIssue = issueClient.createIssue(issueInputBuilder.build()).claim();
assertNotNull(basicCreatedIssue.getKey());
// get issue and check if everything was set as we expected
final Issue createdIssue = issueClient.getIssue(basicCreatedIssue.getKey()).claim();
assertNotNull(createdIssue);
assertEquals(basicCreatedIssue.getKey(), createdIssue.getKey());
assertEquals(project.getKey(), createdIssue.getProject().getKey());
assertEquals(issueType.getId(), createdIssue.getIssueType().getId());
assertEquals(summary, createdIssue.getSummary());
assertEquals(description, createdIssue.getDescription());