Merge branch 'main' into avm99963-monorail
Merged commit 4137ed7879acadbf891e8c471108acb874dae886.
GitOrigin-RevId: b6100ffc5b1da355a35f37b13fcaaf746ee8b307
diff --git a/api/v3/issues_servicer.py b/api/v3/issues_servicer.py
index ebd545b..e5ff087 100644
--- a/api/v3/issues_servicer.py
+++ b/api/v3/issues_servicer.py
@@ -234,10 +234,14 @@
ingested_issue = self.converter.IngestIssue(
request.issue, project_id)
send_email = self.converter.IngestNotifyType(request.notify_type)
-
+ ingested_attachments = self.converter.IngestAttachmentUploads(
+ request.uploads)
with work_env.WorkEnv(mc, self.services) as we:
created_issue = we.MakeIssue(
- ingested_issue, request.description, send_email)
+ ingested_issue,
+ request.description,
+ send_email,
+ attachment_uploads=ingested_attachments)
starred_issue = we.StarIssue(created_issue, True)
return self.converter.ConvertIssue(starred_issue)