warren830 commented on code in PR #2025:
URL: https://github.com/apache/incubator-devlake/pull/2025#discussion_r884664664


##########
plugins/jira/tasks/apiv2models/changelog.go:
##########
@@ -44,9 +44,9 @@ func (c Changelog) ToToolLayer(connectionId, issueId uint64) 
(*models.JiraChange
 type ChangelogItem struct {
        Field      string `json:"field"`
        Fieldtype  string `json:"fieldtype"`
-       From       string `json:"from"`
+       FromValue  string `json:"from_value"`
        FromString string `json:"fromString"`
-       To         string `json:"to"`
+       ToValue    string `json:"to_value"`

Review Comment:
   json should not be changed, please check api response



##########
plugins/jira/tasks/apiv2models/changelog.go:
##########
@@ -44,9 +44,9 @@ func (c Changelog) ToToolLayer(connectionId, issueId uint64) 
(*models.JiraChange
 type ChangelogItem struct {
        Field      string `json:"field"`
        Fieldtype  string `json:"fieldtype"`
-       From       string `json:"from"`
+       FromValue  string `json:"from_value"`

Review Comment:
   json should not be changed, please check api response



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to