{"record":{"id":"03bb73922e8fe864","repo":"projectdiscovery/nuclei","slug":"error-reopening-issue-s-s","errorCode":null,"errorMessage":"error reopening issue %s: %s","messagePattern":"error reopening issue (.+?): (.+?)","errorType":"http","errorClass":null,"httpStatus":null,"severity":"error","filePath":"pkg/reporting/trackers/linear/linear.go","lineNumber":123,"sourceCode":"\t} else {\n\t\tif existingIssue.State.Name == \"Done\" {\n\t\t\t// Update the issue state to open\n\t\t\tvar issueUpdateInput struct {\n\t\t\t\tStateID string `json:\"stateId\"`\n\t\t\t}\n\t\t\tissueUpdateInput.StateID = i.options.OpenStateID\n\t\t\tvariables := map[string]interface{}{\n\t\t\t\t\"issueUpdateInput\": issueUpdateInput,\n\t\t\t\t\"issueID\":          types.ToString(existingIssue.ID),\n\t\t\t}\n\t\t\tvar resp struct {\n\t\t\t\tIssueUpdate struct {\n\t\t\t\t\tLastSyncID int `json:\"lastSyncId\"`\n\t\t\t\t}\n\t\t\t}\n\t\t\terr := i.doGraphqlRequest(ctx, existingIssueUpdateStateMutation, &resp, variables, \"IssueUpdate\")\n\t\t\tif err != nil {\n\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)","sourceCodeStart":105,"sourceCodeEnd":141,"githubUrl":"https://github.com/projectdiscovery/nuclei/blob/265b3a3dec374741614e342f813c10f8b38d2bb7/pkg/reporting/trackers/linear/linear.go#L105-L141","documentation":"Error \"error reopening issue %s: %s\" thrown in projectdiscovery/nuclei.","triggerScenarios":"Thrown at pkg/reporting/trackers/linear/linear.go:123 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"}