Object

JiraTicket

A Jira ticket that is linked to an issue found by a scan.

Fields

id(): ID!
A unique identifier for the Jira ticket.
external_key(): String
The Jira issue key.
issue_type(): String
The type of issue that was found by a scan, for example, an SQL injection vulnerability.
summary(): String
A brief description of the issue.
project(): String
The Jira project to which this ticket belongs.
status(): String
The current status of the Jira ticket.
priority(): String
The priority of the Jira ticket.

Example

Query
query GetJiraTickets($scanId: ID!, $serialNumber: ID!) {
  issue (scan_id: $scanId, serial_number: $serialNumber) {
    tickets {
        jira_ticket {
            id
            external_key
            issue_type
            summary
            project
            status
            priority
        }
        link_url
        link_id
        date_added
    }
  }
}
Variables
{
  "scanId": "2",
  "serialNumber": "314276827364273645"
}
Result
{
    "data": {
        "issue": {
            "tickets": [
                {
                    "jira_ticket": {
                        "id": null,
                        "external_key": null,
                        "issue_type": null,
                        "summary": null,
                        "project": null,
                        "status": null,
                        "priority": null
                    },
                    "link_url": null,
                    "link_id": null,
                    "date_added": null
                }
            ]
        }
    }
}