Skip to content
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

feat(issueMatch): Fix issueMatch creation by adding createdBy field to handler #402

Open
2 tasks
BlakePatterson opened this issue Nov 22, 2024 · 0 comments · May be fixed by #403
Open
2 tasks

feat(issueMatch): Fix issueMatch creation by adding createdBy field to handler #402

BlakePatterson opened this issue Nov 22, 2024 · 0 comments · May be fixed by #403
Assignees

Comments

@BlakePatterson
Copy link
Collaborator

Task Description

While testing the os scanner, I found that issue match creation was failing after the addition of metadata to issueMatch. The new foreign key constraint on the created_by field was failing on issue match creation since the logic in the OnComponentVersionAttachmentToIssue event was not setting the created_by field.

To fix this I'll just add the Metadata.CreatedBy field to the new issue match using the same userId being used for the UserId field.

Acceptance Criteria:

  • Add Metadata.CreatedBy field to the new issue match being created in the OnComponentVersionAttachmentToIssue event
  • Issue matches should be created when component versions are attached to issues

Expected Test:

Testing by running the os scanner to see if issue matches get created correctly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant