{
  "name": "GitLab Issues",
  "url": "http://gitlab.org",
  "actions": {
    "create": "Create a GitLab issue",
    "view": "View on GitLab",
    "object": "GitLab Issue"
  },
  "supportedTriggers": ["firstException", "unresolved"],
  "type": "issueTracker",
  "fields": [
    {
      "name": "private_token",
      "label": "Private Token",
      "description": "Your private token used to access the GitLab API. Available in your Gitlab profile.",
      "type": "password",
      "link": "https://gitlab.com/profile/account"
    },
    {
      "name": "project_id",
      "label": "Repository Name",
      "description": "Which GitLab repository to create the issue on, eg rails/rails"
    },
    {
      "name": "gitlab_url",
      "label": "GitLab URL",
      "description": "The base URL to your GitLab installation (e.g. https://gitlab.com)",
      "optional": true
    },
    {
      "name": "labels",
      "label": "Labels (comma separated)",
      "description": "Comma separated list of labels to apply to the issue.",
      "optional": true,
      "defaultValue": "bugsnag"
    }
  ]
}
