Link an Existing Ticket to Findings
Link an existing external ticket (e.g. Jira) to one or more Semgrep findings by providing the ticket URL and a list of finding IDs. This does not create a ticket in your issue tracker — it only records the association in Semgrep. If a finding is already linked to a different ticket, the existing link is replaced.
Authorizations
Get access to data with your API token. Example header:
Authorization: Bearer 2991e2fb4b540fe75b8f90677b0b892b6314e4961cb001fe6eb452eee248a628
The token can be provisioned from the Tokens section in your Settings, and requires explicitly enabling Web API access.
Path Parameters
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.
1234
The unique numerical identifier of the ticketing instance. Can be found via the Get External Ticketing Instances endpoint.
5678
Body
LinkTicket
The URL of the external ticket to link (e.g. https://myorg.atlassian.net/browse/SEC-123).
An array of Semgrep finding IDs to link the ticket to.