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.
Your target version is now a "custom field", not a system field you can use directly in the standard API. You need to be treating it as a custom field now.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.