Object

GitLabIssue

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

Fields

id(): ID!
An identifier for the GitLab issue.
project_id(): ID!
An identifier for the GitLab project.
issue_details(): GitLabIssueDetails
The details of the GitLab issue.

Example

Query
query GetGitLabIssue($scanId: ID!, $serialNumber: ID!) {
  issue (scan_id: $scanId, serial_number: $serialNumber) {
    tickets {
        gitlab_issue {
            id
            project_id
            issue_details {
                title
                state
            }
        }
        link_url
        link_id
        date_added
    }
  }
}
Variables
{
  "scanId": "2",
  "serialNumber": "314276827364273645"
}
Result
{
    "data": {
        "issue": {
            "tickets": [
                {
                    "gitlab_issue": {
                        "id": null,
                        "project_id": null,
                        "issue_details": {
                            "title": null,
                            "state": null
                        }
                    },
                    "link_url": null,
                    "link_id": null,
                    "date_added": null
                }
            ]
        }
    }
}