{"record":{"id":"2d7f7aeb612dff42","repo":"projectdiscovery/nuclei","slug":"error-commenting-on-issue-s-s","errorCode":null,"errorMessage":"error commenting on issue %s: %s","messagePattern":"error commenting on issue (.+?): (.+?)","errorType":"http","errorClass":null,"httpStatus":null,"severity":"error","filePath":"pkg/reporting/trackers/linear/linear.go","lineNumber":141,"sourceCode":"\t\t\t\treturn nil, fmt.Errorf(\"error reopening issue %s: %s\", existingIssue.ID, err)\n\t\t\t}\n\t\t}\n\n\t\tcommentInput := map[string]interface{}{\n\t\t\t\"issueId\": types.ToString(existingIssue.ID),\n\t\t\t\"body\":    description,\n\t\t}\n\t\tvariables := map[string]interface{}{\n\t\t\t\"commentCreateInput\": commentInput,\n\t\t}\n\t\tvar resp struct {\n\t\t\tCommentCreate struct {\n\t\t\t\tLastSyncID int `json:\"lastSyncId\"`\n\t\t\t}\n\t\t}\n\t\terr := i.doGraphqlRequest(ctx, commentCreateExistingTicketMutation, &resp, variables, \"CommentCreate\")\n\t\tif err != nil {\n\t\t\treturn nil, fmt.Errorf(\"error commenting on issue %s: %s\", existingIssue.ID, err)\n\t\t}\n\t\treturn &filters.CreateIssueResponse{\n\t\t\tIssueID:  types.ToString(existingIssue.ID),\n\t\t\tIssueURL: types.ToString(existingIssue.URL),\n\t\t}, nil\n\t}\n}\n\nfunc priorityFromSeverity(sev severity.Severity) float64 {\n\tswitch sev {\n\tcase severity.Critical:\n\t\treturn linearPriorityCritical\n\tcase severity.High:\n\t\treturn linearPriorityHigh\n\tcase severity.Medium:\n\t\treturn linearPriorityMedium\n\tcase severity.Low:\n\t\treturn linearPriorityLow","sourceCodeStart":123,"sourceCodeEnd":159,"githubUrl":"https://github.com/projectdiscovery/nuclei/blob/265b3a3dec374741614e342f813c10f8b38d2bb7/pkg/reporting/trackers/linear/linear.go#L123-L159","documentation":"Error \"error commenting on issue %s: %s\" thrown in projectdiscovery/nuclei.","triggerScenarios":"Thrown at pkg/reporting/trackers/linear/linear.go:141 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"265b3a3dec374741614e342f813c10f8b38d2bb7","analyzedAt":"2026-08-15T20:05:51.855Z","schemaVersion":2},"datasetVersion":"2026-08-15T22:17:37.221Z"}