likyh commented on code in PR #3839:
URL:
https://github.com/apache/incubator-devlake/pull/3839#discussion_r1037745048
##########
plugins/jira/models/transformation_rules.go:
##########
@@ -24,12 +24,12 @@ import (
)
type JiraTransformationRule struct {
- common.Model
- Name string `gorm:"type:varchar(255)"`
- EpicKeyField string `json:"epicKeyField"
gorm:"type:varchar(255)"`
- StoryPointField string `json:"storyPointField"
gorm:"type:varchar(255)"`
- RemotelinkCommitShaPattern string
`json:"remotelinkCommitShaPattern" gorm:"type:varchar(255)"`
- TypeMappings json.RawMessage `json:"typeMappings"`
+ common.Model `mapstructure:"-"`
Review Comment:
tag `json` control output and mapstructure control input.
--
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]