Skip to content

Commit

Permalink
EPMRPP-91640 || 'Assignee' is not assigned in Jira Cloud after issue …
Browse files Browse the repository at this point in the history
…is posted
  • Loading branch information
APiankouski authored Aug 28, 2024
2 parents 0627536 + 4242572 commit e2f46f7
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -139,11 +139,13 @@ public static IssueInput toIssueInput(JiraRestClient client, Project jiraProject
continue;
}
if (one.getId().equalsIgnoreCase(IssueFieldId.ASSIGNEE_FIELD.id)) {
issueInputBuilder.setAssigneeName(one.getValue().get(0));
issueInputBuilder.setFieldInput(new FieldInput(IssueFieldId.ASSIGNEE_FIELD.id,
ComplexIssueInputFieldValue.with("id", one.getValue().get(0))));
continue;
}
if (one.getId().equalsIgnoreCase(IssueFieldId.REPORTER_FIELD.id)) {
issueInputBuilder.setReporterName(one.getValue().get(0));
issueInputBuilder.setFieldInput(new FieldInput(IssueFieldId.REPORTER_FIELD.id,
ComplexIssueInputFieldValue.with("id", one.getValue().get(0))));
continue;
}
if (one.getId().equalsIgnoreCase(IssueFieldId.AFFECTS_VERSIONS_FIELD.id)) {
Expand Down

0 comments on commit e2f46f7

Please sign in to comment.