Details
-
Bug
-
Resolution: Fixed
-
High
-
2.4.0, 2.4.1, 2.4.2, 2.4.3, 2.5-M5
-
1
-
Description
It appears that creating reviews using JSON in the latest version is broken. For example, the using the following request:
POST /rest-service/reviews-v1 HTTP/1.1 Authorization: Basic ZGhhbnNlbjp0ZXN0aW5n Accept: application/json Content-Type: application/json {"createReview": {"changesets": {"changesetData": [{"id": 37}], "repository": "SubversionHTTP"}, "reviewData": {"moderator": {"userName": "dhansen"}, "metricsVersion": 1, "description": "test", "allowReviewersToJoin": "true", "author": {"userName": "dhansen"}, "creator": {"userName": "dhansen"}, "projectKey": "CR", "name": "JSON Test"}}}
Will result in the following error:
{"status-code":500,"message":"Can not find a Value deserializer for abstract type [simple type, class com.atlassian.crucible.spi.data.CommentDataImpl]"}
Attachments
Issue Links
- mentioned in
-
Wiki Page Loading...