This is an automated email from the ASF dual-hosted git repository.

zhangliang2022 pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git


The following commit(s) were added to refs/heads/main by this push:
     new 10e86a49 fix: jira apiv2models json value (#2060)
10e86a49 is described below

commit 10e86a4979c9e956423ebc49bb6768af856aaccc
Author: abeizn <[email protected]>
AuthorDate: Thu Jun 2 13:59:45 2022 +0800

    fix: jira apiv2models json value (#2060)
---
 plugins/jira/tasks/apiv2models/changelog.go | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/plugins/jira/tasks/apiv2models/changelog.go 
b/plugins/jira/tasks/apiv2models/changelog.go
index 1ea50c81..bfe66897 100644
--- a/plugins/jira/tasks/apiv2models/changelog.go
+++ b/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"`
-       FromValue  string `json:"from_value"`
+       FromValue  string `json:"from"`
        FromString string `json:"fromString"`
-       ToValue    string `json:"to_value"`
+       ToValue    string `json:"to"`
        ToString   string `json:"toString"`
 }
 

Reply via email to