v1
latestOpenAPI 3.0.32026-07-22238629559.2 KBCreate Jira tickets
Create Jira tickets for your findings. You can create tickets by passing in a list of issue_ids or by passing in filter query parameters to dynamically select findings. If passing in filters, Semgrep will skip already ticketed findings. This endpoint is synchronous, so it may take some time for your request to resolve. Unlike creating tickets in-app, if ticket creation fails we won't automatically retry. This endpoint accepts a limit parameter (defaulting to 20) to limit the number of tickets created per request. If you specify a list of issue_ids greater than this limit, or your selected filters match on a number of issues greater than this limit, issues that were not ticketed are included in the Failed part of the response object. You can send another request to create tickets for these skipped issues. By default, findings belonging to the same repository and the same rule will be grouped together into a single Jira ticket. You can override this using the group_issues query parameter. Up to 50 issues can be grouped into a single ticket. You can optionally override the Jira project you create tickets in by passing in a Jira project ID as jira_project_id (the numeric ID rather than the project key). You can fetch this ID using the Jira API.
Path parameters
Deployment slug. Can be found at /deployments, or in your Settings in the web UI.
Request body
Example request
{
"autotriage_verdict": "true_positive",
"categories": [
"security",
"performance"
],
"component_tags": [
"user authentication",
"user data"
],
"confidence": "high",
"dependencies": [
"lodash",
"express"
],
"epss_probability": [
"high",
"medium"
],
"exposures": [
"reachable",
"always_reachable"
],
"group_issues": true,
"include_historical": true,
"issue_ids": [
123,
456
],
"issue_type": "sca",
"limit": 20,
"policies": [
"rule-board-block",
"rule-board-pr-comments",
"rule-board-audit"
],
"policy_mode": [
"monitor",
"block"
],
"pro_only": true,
"project_tags": [
"my_project_tag_1",
"my_project_tag_2"
],
"ref": "refs/pull/1234/merge",
"repos": [
"myorg/repo1",
"myorg/repo2"
],
"repository_visibility": [
"public",
"private"
],
"rules": [
"typescript.react.security.audit.react-no-refs.react-no-refs",
"ajinabraham.njsscan.hardcoded_secrets.node_username"
],
"ruleset": [
"owasp-top-ten",
"default"
],
"secret_types": [
"Github",
"Heroku",
"AWS"
],
"severities": [
"low",
"high"
],
"status": "open",
"transitivities": [
"transitive",
"direct"
],
"triage_reasons": [
"acceptable_risk",
"false_positive"
],
"validation_state": [
"valid",
"invalid"
]
}Response
OK