final IssueInputJsonGenerator generator = new IssueInputJsonGenerator();
final IssueInput issueInput = IssueInput.createWithFields(
new FieldInput("string", "String value"),
new FieldInput("integer", 1),
new FieldInput("long", 1L),
new FieldInput("complex", new ComplexIssueInputFieldValue(ImmutableMap.<String, Object>of(
"string", "string",
"integer", 1,
"long", 1L,
"complex", ComplexIssueInputFieldValue.with("test", "id")
)))