v1

latestOpenAPI 3.0.32026-07-22238629559.2 KB
ExternalTicketingService

Create External Tickets

Create tickets in your issue tracking system for Semgrep findings.

post/api/notifications/deployments/{deploymentId}/ticketing/v2/{ticketingInstanceId}/create_tickets

Path parameters

deploymentIdinteger required

The unique numerical identifier of the deployment associated with the finding. Can be found via the Deployments Service or in your Settings in the web UI.

Example:1234
ticketingInstanceIdinteger required

The unique numerical identifier of the ticketing instance. Can be found via the Get External Ticketing Instances endpoint.

Example:5678

Request body

groupIssuesboolean

Whether to group issues from the same rule and repository into a single ticket.

projectIdstring

Optionally specify which Jira project the ticket should be created in. If not specified, the default project configured in your integration settings will be used.

issueIdsinteger[]
issueType'ISSUE_TYPE_SAST' | 'ISSUE_TYPE_SCA' | 'ISSUE_TYPE_SECRETS' | 'ISSUE_TYPE_RESEARCH' | 'ISSUE_TYPE_AI_SAST' enum
valuedescription
ISSUE_TYPE_SASTDetected by Code rules
ISSUE_TYPE_SCADetected by Supply Chain rules
ISSUE_TYPE_SECRETSDetected by Secrets rules
ISSUE_TYPE_RESEARCHDetected by research rules or scanners
ISSUE_TYPE_AI_SASTDetected by AI detection code scanning

Response

OK