Before we use issueBuilder.setFixVersions(jiraBuild.fixVersion) to set Fix Version/s. It works well.
Now, our Jira systems has updated, and new version field Target Version is used instead of Fix Version/s.
If issueBuilder.setFixVersions(jiraBuild.targetVersion) is used,
the error message: RestClientException{statusCode=Optional.of(400), errorCollections=[ErrorCollection{status=400, errors={fixVersions=Field 'fixVersions' cannot be set. It is not on the appropriate screen, or unknown.}, errorMessages=[]}]}
Quetion, which method I should use to update this new version field?
Thanks.