Forgejo · Schema

CreateIssueOption

CreateIssueOption options to create one issue

GitSource Code ManagementSelf-HostedDevOpsCI/CDOpen SourceForgeRepositoriesIssuesPull Requests

Properties

Name Type Description
assignee string deprecated
assignees array
body string
closed boolean
due_date string
labels array list of label ids
milestone integer milestone id
ref string
title string
View JSON Schema on GitHub

JSON Schema

createissueoption.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "CreateIssueOption",
  "description": "CreateIssueOption options to create one issue",
  "type": "object",
  "required": [
    "title"
  ],
  "properties": {
    "assignee": {
      "description": "deprecated",
      "type": "string",
      "x-go-name": "Assignee"
    },
    "assignees": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "x-go-name": "Assignees"
    },
    "body": {
      "type": "string",
      "x-go-name": "Body"
    },
    "closed": {
      "type": "boolean",
      "x-go-name": "Closed"
    },
    "due_date": {
      "type": "string",
      "format": "date-time",
      "x-go-name": "Deadline"
    },
    "labels": {
      "description": "list of label ids",
      "type": "array",
      "items": {
        "type": "integer",
        "format": "int64"
      },
      "x-go-name": "Labels"
    },
    "milestone": {
      "description": "milestone id",
      "type": "integer",
      "format": "int64",
      "x-go-name": "Milestone"
    },
    "ref": {
      "type": "string",
      "x-go-name": "Ref"
    },
    "title": {
      "type": "string",
      "x-go-name": "Title"
    }
  },
  "x-go-package": "forgejo.org/modules/structs"
}