-
Notifications
You must be signed in to change notification settings - Fork 547
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug][jira] field_id is empty in issue_changelogs #7911
Comments
The Here is the relevant part of the code: Convert: func(row *IssueChangelogItemResult) ([]interface{}, errors.Error) {
changelog := &ticket.IssueChangelogs{
DomainEntity: domainlayer.DomainEntity{Id: changelogIdGenerator.Generate(
row.ConnectionId,
row.ChangelogId,
row.Field,
)},
IssueId: issueIdGenerator.Generate(row.ConnectionId, row.IssueId),
AuthorId: accountIdGen.Generate(connectionId, row.AuthorAccountId),
AuthorName: row.AuthorDisplayName,
FieldId: row.FieldId, // This is where FieldId is assigned
FieldName: row.Field,
OriginalFromValue: row.FromString,
OriginalToValue: row.ToString,
CreatedDate: row.Created,
}
// ... rest of the code
} The type IssueChangelogItemResult struct {
models.JiraIssueChangelogItems
IssueId uint64 `gorm:"index"`
AuthorAccountId string
AuthorDisplayName string
Created time.Time
} To resolve this issue, ensure that the |
…) (apache#7912) * fix: fill field_id of changelog item of Jira in tool layer (apache#7911) * fix: e2e test data (apache#7911)
…) (apache#7912) * fix: fill field_id of changelog item of Jira in tool layer (apache#7911) * fix: e2e test data (apache#7911)
Resloved. |
Search before asking
What happened
Jira plugin's issue_changelog_convertor doesn't fill
field_id
What do you expect to happen
fill
field_id
valueHow to reproduce
Check the data in
issue_changelogs
tableAnything else
No response
Version
5de4908
Are you willing to submit PR?
Code of Conduct
The text was updated successfully, but these errors were encountered: