mirror of
https://github.com/Threnklyn/jira.git
synced 2026-05-19 04:33:28 +02:00
rewrite checkpoint
This commit is contained in:
@@ -0,0 +1,781 @@
|
||||
package jiradata
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// This Code is Generated by SlipScheme Project:
|
||||
// https://github.com/coryb/slipscheme
|
||||
//
|
||||
// Generated with command:
|
||||
// slipscheme -dir data -pkg jiradata -overwrite schemas/SearchResults.json
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// DO NOT EDIT //
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// SearchResults defined from schema:
|
||||
// {
|
||||
// "title": "Search Results",
|
||||
// "id": "https://docs.atlassian.com/jira/REST/schema/search-results#",
|
||||
// "type": "object",
|
||||
// "definitions": {
|
||||
// "field-meta": {
|
||||
// "title": "Field Meta",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "allowedValues": {
|
||||
// "type": "array",
|
||||
// "items": {}
|
||||
// },
|
||||
// "autoCompleteUrl": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "defaultValue": {},
|
||||
// "hasDefaultValue": {
|
||||
// "type": "boolean"
|
||||
// },
|
||||
// "key": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "name": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "operations": {
|
||||
// "type": "array",
|
||||
// "items": {
|
||||
// "type": "string"
|
||||
// }
|
||||
// },
|
||||
// "required": {
|
||||
// "type": "boolean"
|
||||
// },
|
||||
// "schema": {
|
||||
// "$ref": "#/definitions/json-type"
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "history-metadata-participant": {
|
||||
// "title": "History Metadata Participant",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "avatarUrl": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "displayName": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "displayNameKey": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "id": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "type": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "url": {
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "json-type": {
|
||||
// "title": "Json Type",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "custom": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "customId": {
|
||||
// "type": "integer"
|
||||
// },
|
||||
// "items": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "system": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "type": {
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "link-group": {
|
||||
// "title": "Link Group",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "groups": {
|
||||
// "type": "array",
|
||||
// "items": {
|
||||
// "$ref": "#/definitions/link-group"
|
||||
// }
|
||||
// },
|
||||
// "header": {
|
||||
// "$ref": "#/definitions/simple-link"
|
||||
// },
|
||||
// "id": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "links": {
|
||||
// "type": "array",
|
||||
// "items": {
|
||||
// "$ref": "#/definitions/simple-link"
|
||||
// }
|
||||
// },
|
||||
// "styleClass": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "weight": {
|
||||
// "type": "integer"
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "simple-link": {
|
||||
// "title": "Simple Link",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "href": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "iconClass": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "id": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "label": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "styleClass": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "title": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "weight": {
|
||||
// "type": "integer"
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "properties": {
|
||||
// "expand": {
|
||||
// "title": "expand",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "issues": {
|
||||
// "title": "issues",
|
||||
// "type": "array",
|
||||
// "items": {
|
||||
// "title": "Issue",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "changelog": {
|
||||
// "title": "Changelog",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "histories": {
|
||||
// "title": "histories",
|
||||
// "type": "array",
|
||||
// "items": {
|
||||
// "title": "Change History",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "author": {
|
||||
// "title": "User",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "accountId": {
|
||||
// "title": "accountId",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "active": {
|
||||
// "title": "active",
|
||||
// "type": "boolean"
|
||||
// },
|
||||
// "avatarUrls": {
|
||||
// "title": "avatarUrls",
|
||||
// "type": "object",
|
||||
// "patternProperties": {
|
||||
// ".+": {
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "displayName": {
|
||||
// "title": "displayName",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "emailAddress": {
|
||||
// "title": "emailAddress",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "key": {
|
||||
// "title": "key",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "name": {
|
||||
// "title": "name",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "self": {
|
||||
// "title": "self",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "timeZone": {
|
||||
// "title": "timeZone",
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "created": {
|
||||
// "title": "created",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "historyMetadata": {
|
||||
// "title": "History Metadata",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "activityDescription": {
|
||||
// "title": "activityDescription",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "activityDescriptionKey": {
|
||||
// "title": "activityDescriptionKey",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "actor": {
|
||||
// "title": "History Metadata Participant",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "avatarUrl": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "displayName": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "displayNameKey": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "id": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "type": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "url": {
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "cause": {
|
||||
// "title": "History Metadata Participant",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "avatarUrl": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "displayName": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "displayNameKey": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "id": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "type": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "url": {
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "description": {
|
||||
// "title": "description",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "descriptionKey": {
|
||||
// "title": "descriptionKey",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "emailDescription": {
|
||||
// "title": "emailDescription",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "emailDescriptionKey": {
|
||||
// "title": "emailDescriptionKey",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "extraData": {
|
||||
// "title": "extraData",
|
||||
// "type": "object",
|
||||
// "patternProperties": {
|
||||
// ".+": {
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "generator": {
|
||||
// "title": "History Metadata Participant",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "avatarUrl": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "displayName": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "displayNameKey": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "id": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "type": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "url": {
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "type": {
|
||||
// "title": "type",
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "id": {
|
||||
// "title": "id",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "items": {
|
||||
// "title": "items",
|
||||
// "type": "array",
|
||||
// "items": {
|
||||
// "title": "Change Item",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "field": {
|
||||
// "title": "field",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "fieldId": {
|
||||
// "title": "fieldId",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "fieldtype": {
|
||||
// "title": "fieldtype",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "from": {
|
||||
// "title": "from",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "fromString": {
|
||||
// "title": "fromString",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "to": {
|
||||
// "title": "to",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "toString": {
|
||||
// "title": "toString",
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "maxResults": {
|
||||
// "title": "maxResults",
|
||||
// "type": "integer"
|
||||
// },
|
||||
// "startAt": {
|
||||
// "title": "startAt",
|
||||
// "type": "integer"
|
||||
// },
|
||||
// "total": {
|
||||
// "title": "total",
|
||||
// "type": "integer"
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "editmeta": {
|
||||
// "title": "Edit Meta",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "fields": {
|
||||
// "title": "fields",
|
||||
// "type": "object",
|
||||
// "patternProperties": {
|
||||
// ".+": {
|
||||
// "title": "Field Meta",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "allowedValues": {
|
||||
// "type": "array",
|
||||
// "items": {}
|
||||
// },
|
||||
// "autoCompleteUrl": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "defaultValue": {},
|
||||
// "hasDefaultValue": {
|
||||
// "type": "boolean"
|
||||
// },
|
||||
// "key": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "name": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "operations": {
|
||||
// "type": "array",
|
||||
// "items": {
|
||||
// "type": "string"
|
||||
// }
|
||||
// },
|
||||
// "required": {
|
||||
// "type": "boolean"
|
||||
// },
|
||||
// "schema": {
|
||||
// "$ref": "#/definitions/json-type"
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "expand": {
|
||||
// "title": "expand",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "fields": {
|
||||
// "title": "fields",
|
||||
// "type": "object",
|
||||
// "patternProperties": {
|
||||
// ".+": {}
|
||||
// }
|
||||
// },
|
||||
// "fieldsToInclude": {
|
||||
// "title": "Included Fields",
|
||||
// "type": "object"
|
||||
// },
|
||||
// "id": {
|
||||
// "title": "id",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "key": {
|
||||
// "title": "key",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "names": {
|
||||
// "title": "names",
|
||||
// "type": "object",
|
||||
// "patternProperties": {
|
||||
// ".+": {
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "operations": {
|
||||
// "title": "Opsbar",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "linkGroups": {
|
||||
// "title": "linkGroups",
|
||||
// "type": "array",
|
||||
// "items": {
|
||||
// "title": "Link Group",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "groups": {
|
||||
// "type": "array",
|
||||
// "items": {
|
||||
// "$ref": "#/definitions/link-group"
|
||||
// }
|
||||
// },
|
||||
// "header": {
|
||||
// "$ref": "#/definitions/simple-link"
|
||||
// },
|
||||
// "id": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "links": {
|
||||
// "type": "array",
|
||||
// "items": {
|
||||
// "$ref": "#/definitions/simple-link"
|
||||
// }
|
||||
// },
|
||||
// "styleClass": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "weight": {
|
||||
// "type": "integer"
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "properties": {
|
||||
// "title": "Properties",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "properties": {
|
||||
// "title": "properties",
|
||||
// "type": "object",
|
||||
// "patternProperties": {
|
||||
// ".+": {
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "renderedFields": {
|
||||
// "title": "renderedFields",
|
||||
// "type": "object",
|
||||
// "patternProperties": {
|
||||
// ".+": {}
|
||||
// }
|
||||
// },
|
||||
// "schema": {
|
||||
// "title": "schema",
|
||||
// "type": "object",
|
||||
// "patternProperties": {
|
||||
// ".+": {
|
||||
// "title": "Json Type",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "custom": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "customId": {
|
||||
// "type": "integer"
|
||||
// },
|
||||
// "items": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "system": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "type": {
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "self": {
|
||||
// "title": "self",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "transitions": {
|
||||
// "title": "transitions",
|
||||
// "type": "array",
|
||||
// "items": {
|
||||
// "title": "Transition",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "expand": {
|
||||
// "title": "expand",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "fields": {
|
||||
// "title": "fields",
|
||||
// "type": "object",
|
||||
// "patternProperties": {
|
||||
// ".+": {
|
||||
// "title": "Field Meta",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "allowedValues": {
|
||||
// "type": "array",
|
||||
// "items": {}
|
||||
// },
|
||||
// "autoCompleteUrl": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "defaultValue": {},
|
||||
// "hasDefaultValue": {
|
||||
// "type": "boolean"
|
||||
// },
|
||||
// "key": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "name": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "operations": {
|
||||
// "type": "array",
|
||||
// "items": {
|
||||
// "type": "string"
|
||||
// }
|
||||
// },
|
||||
// "required": {
|
||||
// "type": "boolean"
|
||||
// },
|
||||
// "schema": {
|
||||
// "$ref": "#/definitions/json-type"
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "hasScreen": {
|
||||
// "title": "hasScreen",
|
||||
// "type": "boolean"
|
||||
// },
|
||||
// "id": {
|
||||
// "title": "id",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "name": {
|
||||
// "title": "name",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "to": {
|
||||
// "title": "Status",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "description": {
|
||||
// "title": "description",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "iconUrl": {
|
||||
// "title": "iconUrl",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "id": {
|
||||
// "title": "id",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "name": {
|
||||
// "title": "name",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "self": {
|
||||
// "title": "self",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "statusCategory": {
|
||||
// "title": "Status Category",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "colorName": {
|
||||
// "title": "colorName",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "id": {
|
||||
// "title": "id",
|
||||
// "type": "integer"
|
||||
// },
|
||||
// "key": {
|
||||
// "title": "key",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "name": {
|
||||
// "title": "name",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "self": {
|
||||
// "title": "self",
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "statusColor": {
|
||||
// "title": "statusColor",
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "versionedRepresentations": {
|
||||
// "title": "versionedRepresentations",
|
||||
// "type": "object",
|
||||
// "patternProperties": {
|
||||
// ".+": {
|
||||
// "type": "object",
|
||||
// "patternProperties": {
|
||||
// ".+": {}
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "maxResults": {
|
||||
// "title": "maxResults",
|
||||
// "type": "integer"
|
||||
// },
|
||||
// "names": {
|
||||
// "title": "names",
|
||||
// "type": "object",
|
||||
// "patternProperties": {
|
||||
// ".+": {
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "schema": {
|
||||
// "title": "schema",
|
||||
// "type": "object",
|
||||
// "patternProperties": {
|
||||
// ".+": {
|
||||
// "title": "Json Type",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "custom": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "customId": {
|
||||
// "type": "integer"
|
||||
// },
|
||||
// "items": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "system": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "type": {
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "startAt": {
|
||||
// "title": "startAt",
|
||||
// "type": "integer"
|
||||
// },
|
||||
// "total": {
|
||||
// "title": "total",
|
||||
// "type": "integer"
|
||||
// },
|
||||
I// "warningMessages": {
|
||||
// "title": "warningMessages",
|
||||
// "type": "array",
|
||||
// "items": {
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
type SearchResults struct {
|
||||
Expand string `json:"expand,omitempty" yaml:"expand,omitempty"`
|
||||
Issues Issues `json:"issues,omitempty" yaml:"issues,omitempty"`
|
||||
MaxResults int `json:"maxResults,omitempty" yaml:"maxResults,omitempty"`
|
||||
Names map[string]string `json:"names,omitempty" yaml:"names,omitempty"`
|
||||
Schema JSONTypeMap `json:"schema,omitempty" yaml:"schema,omitempty"`
|
||||
StartAt int `json:"startAt,omitempty" yaml:"startAt,omitempty"`
|
||||
Total int `json:"total,omitempty" yaml:"total,omitempty"`
|
||||
WarningMessages WarningMessages `json:"warningMessages,omitempty" yaml:"warningMessages,omitempty"`
|
||||
}
|
||||
Symlink
+1
@@ -0,0 +1 @@
|
||||
cbennett@lgml-cbennett.corp.netflix.com.24999
|
||||
@@ -0,0 +1,19 @@
|
||||
package jiradata
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// This Code is Generated by SlipScheme Project:
|
||||
// https://github.com/coryb/slipscheme
|
||||
//
|
||||
// Generated with command:
|
||||
// slipscheme -pkg jiradata -dir jiradata -overwrite schemas/IssueUpdate.json
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// DO NOT EDIT //
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// AllowedValues defined from schema:
|
||||
// {
|
||||
// "title": "allowedValues",
|
||||
// "type": "array",
|
||||
// "items": {}
|
||||
// }
|
||||
type AllowedValues []interface{}
|
||||
@@ -0,0 +1,32 @@
|
||||
package jiradata
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// This Code is Generated by SlipScheme Project:
|
||||
// https://github.com/coryb/slipscheme
|
||||
//
|
||||
// Generated with command:
|
||||
// slipscheme -pkg jiradata -dir data schemas/AuthParams.json
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// DO NOT EDIT //
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// AuthParams defined from schema:
|
||||
// {
|
||||
// "title": "Auth Params",
|
||||
// "id": "https://docs.atlassian.com/jira/REST/schema/auth-params#",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "password": {
|
||||
// "title": "password",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "username": {
|
||||
// "title": "username",
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
type AuthParams struct {
|
||||
Password string `json:"password,omitempty" yaml:"password,omitempty"`
|
||||
Username string `json:"username,omitempty" yaml:"username,omitempty"`
|
||||
}
|
||||
@@ -0,0 +1,60 @@
|
||||
package jiradata
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// This Code is Generated by SlipScheme Project:
|
||||
// https://github.com/coryb/slipscheme
|
||||
//
|
||||
// Generated with command:
|
||||
// slipscheme -pkg jiradata -dir data schemas/AuthSuccess.json
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// DO NOT EDIT //
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// AuthSuccess defined from schema:
|
||||
// {
|
||||
// "title": "Auth Success",
|
||||
// "id": "https://docs.atlassian.com/jira/REST/schema/auth-success#",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "loginInfo": {
|
||||
// "title": "Login Info",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "failedLoginCount": {
|
||||
// "title": "failedLoginCount",
|
||||
// "type": "integer"
|
||||
// },
|
||||
// "lastFailedLoginTime": {
|
||||
// "title": "lastFailedLoginTime",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "loginCount": {
|
||||
// "title": "loginCount",
|
||||
// "type": "integer"
|
||||
// },
|
||||
// "previousLoginTime": {
|
||||
// "title": "previousLoginTime",
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "session": {
|
||||
// "title": "Session Info",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "name": {
|
||||
// "title": "name",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "value": {
|
||||
// "title": "value",
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
type AuthSuccess struct {
|
||||
LoginInfo *LoginInfo `json:"loginInfo,omitempty" yaml:"loginInfo,omitempty"`
|
||||
Session *SessionInfo `json:"session,omitempty" yaml:"session,omitempty"`
|
||||
}
|
||||
@@ -0,0 +1,234 @@
|
||||
package jiradata
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// This Code is Generated by SlipScheme Project:
|
||||
// https://github.com/coryb/slipscheme
|
||||
//
|
||||
// Generated with command:
|
||||
// slipscheme -dir data -pkg jiradata -overwrite schemas/SearchResults.json
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// DO NOT EDIT //
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// ChangeHistory defined from schema:
|
||||
// {
|
||||
// "title": "Change History",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "author": {
|
||||
// "title": "User",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "accountId": {
|
||||
// "title": "accountId",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "active": {
|
||||
// "title": "active",
|
||||
// "type": "boolean"
|
||||
// },
|
||||
// "avatarUrls": {
|
||||
// "title": "avatarUrls",
|
||||
// "type": "object",
|
||||
// "patternProperties": {
|
||||
// ".+": {
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "displayName": {
|
||||
// "title": "displayName",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "emailAddress": {
|
||||
// "title": "emailAddress",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "key": {
|
||||
// "title": "key",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "name": {
|
||||
// "title": "name",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "self": {
|
||||
// "title": "self",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "timeZone": {
|
||||
// "title": "timeZone",
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "created": {
|
||||
// "title": "created",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "historyMetadata": {
|
||||
// "title": "History Metadata",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "activityDescription": {
|
||||
// "title": "activityDescription",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "activityDescriptionKey": {
|
||||
// "title": "activityDescriptionKey",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "actor": {
|
||||
// "title": "History Metadata Participant",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "avatarUrl": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "displayName": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "displayNameKey": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "id": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "type": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "url": {
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "cause": {
|
||||
// "title": "History Metadata Participant",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "avatarUrl": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "displayName": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "displayNameKey": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "id": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "type": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "url": {
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "description": {
|
||||
// "title": "description",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "descriptionKey": {
|
||||
// "title": "descriptionKey",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "emailDescription": {
|
||||
// "title": "emailDescription",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "emailDescriptionKey": {
|
||||
// "title": "emailDescriptionKey",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "extraData": {
|
||||
// "title": "extraData",
|
||||
// "type": "object",
|
||||
// "patternProperties": {
|
||||
// ".+": {
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "generator": {
|
||||
// "title": "History Metadata Participant",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "avatarUrl": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "displayName": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "displayNameKey": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "id": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "type": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "url": {
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "type": {
|
||||
// "title": "type",
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "id": {
|
||||
// "title": "id",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "items": {
|
||||
// "title": "items",
|
||||
// "type": "array",
|
||||
// "items": {
|
||||
// "title": "Change Item",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "field": {
|
||||
// "title": "field",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "fieldId": {
|
||||
// "title": "fieldId",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "fieldtype": {
|
||||
// "title": "fieldtype",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "from": {
|
||||
// "title": "from",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "fromString": {
|
||||
// "title": "fromString",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "to": {
|
||||
// "title": "to",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "toString": {
|
||||
// "title": "toString",
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
type ChangeHistory struct {
|
||||
Author *User `json:"author,omitempty" yaml:"author,omitempty"`
|
||||
Created string `json:"created,omitempty" yaml:"created,omitempty"`
|
||||
HistoryMetadata *HistoryMetadata `json:"historyMetadata,omitempty" yaml:"historyMetadata,omitempty"`
|
||||
ID string `json:"id,omitempty" yaml:"id,omitempty"`
|
||||
Items Items `json:"items,omitempty" yaml:"items,omitempty"`
|
||||
}
|
||||
@@ -0,0 +1,56 @@
|
||||
package jiradata
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// This Code is Generated by SlipScheme Project:
|
||||
// https://github.com/coryb/slipscheme
|
||||
//
|
||||
// Generated with command:
|
||||
// slipscheme -dir data -pkg jiradata -overwrite schemas/SearchResults.json
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// DO NOT EDIT //
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// ChangeItem defined from schema:
|
||||
// {
|
||||
// "title": "Change Item",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "field": {
|
||||
// "title": "field",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "fieldId": {
|
||||
// "title": "fieldId",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "fieldtype": {
|
||||
// "title": "fieldtype",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "from": {
|
||||
// "title": "from",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "fromString": {
|
||||
// "title": "fromString",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "to": {
|
||||
// "title": "to",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "toString": {
|
||||
// "title": "toString",
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
type ChangeItem struct {
|
||||
Field string `json:"field,omitempty" yaml:"field,omitempty"`
|
||||
FieldID string `json:"fieldId,omitempty" yaml:"fieldId,omitempty"`
|
||||
Fieldtype string `json:"fieldtype,omitempty" yaml:"fieldtype,omitempty"`
|
||||
From string `json:"from,omitempty" yaml:"from,omitempty"`
|
||||
FromString string `json:"fromString,omitempty" yaml:"fromString,omitempty"`
|
||||
To string `json:"to,omitempty" yaml:"to,omitempty"`
|
||||
ToString string `json:"toString,omitempty" yaml:"toString,omitempty"`
|
||||
}
|
||||
@@ -0,0 +1,255 @@
|
||||
package jiradata
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// This Code is Generated by SlipScheme Project:
|
||||
// https://github.com/coryb/slipscheme
|
||||
//
|
||||
// Generated with command:
|
||||
// slipscheme -dir data -pkg jiradata -overwrite schemas/SearchResults.json
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// DO NOT EDIT //
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// Changelog defined from schema:
|
||||
// {
|
||||
// "title": "Changelog",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "histories": {
|
||||
// "title": "histories",
|
||||
// "type": "array",
|
||||
// "items": {
|
||||
// "title": "Change History",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "author": {
|
||||
// "title": "User",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "accountId": {
|
||||
// "title": "accountId",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "active": {
|
||||
// "title": "active",
|
||||
// "type": "boolean"
|
||||
// },
|
||||
// "avatarUrls": {
|
||||
// "title": "avatarUrls",
|
||||
// "type": "object",
|
||||
// "patternProperties": {
|
||||
// ".+": {
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "displayName": {
|
||||
// "title": "displayName",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "emailAddress": {
|
||||
// "title": "emailAddress",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "key": {
|
||||
// "title": "key",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "name": {
|
||||
// "title": "name",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "self": {
|
||||
// "title": "self",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "timeZone": {
|
||||
// "title": "timeZone",
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "created": {
|
||||
// "title": "created",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "historyMetadata": {
|
||||
// "title": "History Metadata",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "activityDescription": {
|
||||
// "title": "activityDescription",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "activityDescriptionKey": {
|
||||
// "title": "activityDescriptionKey",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "actor": {
|
||||
// "title": "History Metadata Participant",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "avatarUrl": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "displayName": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "displayNameKey": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "id": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "type": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "url": {
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "cause": {
|
||||
// "title": "History Metadata Participant",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "avatarUrl": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "displayName": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "displayNameKey": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "id": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "type": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "url": {
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "description": {
|
||||
// "title": "description",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "descriptionKey": {
|
||||
// "title": "descriptionKey",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "emailDescription": {
|
||||
// "title": "emailDescription",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "emailDescriptionKey": {
|
||||
// "title": "emailDescriptionKey",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "extraData": {
|
||||
// "title": "extraData",
|
||||
// "type": "object",
|
||||
// "patternProperties": {
|
||||
// ".+": {
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "generator": {
|
||||
// "title": "History Metadata Participant",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "avatarUrl": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "displayName": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "displayNameKey": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "id": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "type": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "url": {
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "type": {
|
||||
// "title": "type",
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "id": {
|
||||
// "title": "id",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "items": {
|
||||
// "title": "items",
|
||||
// "type": "array",
|
||||
// "items": {
|
||||
// "title": "Change Item",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "field": {
|
||||
// "title": "field",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "fieldId": {
|
||||
// "title": "fieldId",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "fieldtype": {
|
||||
// "title": "fieldtype",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "from": {
|
||||
// "title": "from",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "fromString": {
|
||||
// "title": "fromString",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "to": {
|
||||
// "title": "to",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "toString": {
|
||||
// "title": "toString",
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "maxResults": {
|
||||
// "title": "maxResults",
|
||||
// "type": "integer"
|
||||
// },
|
||||
// "startAt": {
|
||||
// "title": "startAt",
|
||||
// "type": "integer"
|
||||
// },
|
||||
// "total": {
|
||||
// "title": "total",
|
||||
// "type": "integer"
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
type Changelog struct {
|
||||
Histories Histories `json:"histories,omitempty" yaml:"histories,omitempty"`
|
||||
MaxResults int `json:"maxResults,omitempty" yaml:"maxResults,omitempty"`
|
||||
StartAt int `json:"startAt,omitempty" yaml:"startAt,omitempty"`
|
||||
Total int `json:"total,omitempty" yaml:"total,omitempty"`
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
package jiradata
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// This Code is Generated by SlipScheme Project:
|
||||
// https://github.com/coryb/slipscheme
|
||||
//
|
||||
// Generated with command:
|
||||
// slipscheme -pkg jiradata -dir data schemas/Field.json
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// DO NOT EDIT //
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// ClauseNames defined from schema:
|
||||
// {
|
||||
// "title": "clauseNames",
|
||||
// "type": "array",
|
||||
// "items": {
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
type ClauseNames []string
|
||||
@@ -0,0 +1,151 @@
|
||||
package jiradata
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// This Code is Generated by SlipScheme Project:
|
||||
// https://github.com/coryb/slipscheme
|
||||
//
|
||||
// Generated with command:
|
||||
// slipscheme -dir jiradata -pkg jiradata schemas/LinkIssueRequest.json
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// DO NOT EDIT //
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// Comment defined from schema:
|
||||
// {
|
||||
// "title": "Comment",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "author": {
|
||||
// "title": "User",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "accountId": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "active": {
|
||||
// "type": "boolean"
|
||||
// },
|
||||
// "avatarUrls": {
|
||||
// "type": "object",
|
||||
// "patternProperties": {
|
||||
// ".+": {
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "displayName": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "emailAddress": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "key": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "name": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "timeZone": {
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "body": {
|
||||
// "title": "body",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "created": {
|
||||
// "title": "created",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "id": {
|
||||
// "title": "id",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "properties": {
|
||||
// "title": "properties",
|
||||
// "type": "array",
|
||||
// "items": {
|
||||
// "title": "Entity Property",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "key": {
|
||||
// "title": "key",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "value": {
|
||||
// "title": "value"
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "renderedBody": {
|
||||
// "title": "renderedBody",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "updateAuthor": {
|
||||
// "title": "User",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "accountId": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "active": {
|
||||
// "type": "boolean"
|
||||
// },
|
||||
// "avatarUrls": {
|
||||
// "type": "object",
|
||||
// "patternProperties": {
|
||||
// ".+": {
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "displayName": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "emailAddress": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "key": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "name": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "timeZone": {
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "updated": {
|
||||
// "title": "updated",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "visibility": {
|
||||
// "title": "Visibility",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "type": {
|
||||
// "title": "type",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "value": {
|
||||
// "title": "value",
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
type Comment struct {
|
||||
Author *User `json:"author,omitempty" yaml:"author,omitempty"`
|
||||
Body string `json:"body,omitempty" yaml:"body,omitempty"`
|
||||
Created string `json:"created,omitempty" yaml:"created,omitempty"`
|
||||
ID string `json:"id,omitempty" yaml:"id,omitempty"`
|
||||
Properties Properties `json:"properties,omitempty" yaml:"properties,omitempty"`
|
||||
RenderedBody string `json:"renderedBody,omitempty" yaml:"renderedBody,omitempty"`
|
||||
UpdateAuthor *User `json:"updateAuthor,omitempty" yaml:"updateAuthor,omitempty"`
|
||||
Updated string `json:"updated,omitempty" yaml:"updated,omitempty"`
|
||||
Visibility *Visibility `json:"visibility,omitempty" yaml:"visibility,omitempty"`
|
||||
}
|
||||
@@ -0,0 +1,224 @@
|
||||
package jiradata
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// This Code is Generated by SlipScheme Project:
|
||||
// https://github.com/coryb/slipscheme
|
||||
//
|
||||
// Generated with command:
|
||||
// slipscheme -dir jiradata -pkg jiradata schemas/Project.json
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// DO NOT EDIT //
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// Component defined from schema:
|
||||
// {
|
||||
// "title": "Component",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "assignee": {
|
||||
// "title": "User",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "accountId": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "active": {
|
||||
// "type": "boolean"
|
||||
// },
|
||||
// "applicationRoles": {
|
||||
// "$ref": "#/definitions/simple-list-wrapper"
|
||||
// },
|
||||
// "avatarUrls": {
|
||||
// "type": "object",
|
||||
// "patternProperties": {
|
||||
// ".+": {
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "displayName": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "emailAddress": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "expand": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "groups": {
|
||||
// "$ref": "#/definitions/simple-list-wrapper"
|
||||
// },
|
||||
// "key": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "locale": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "name": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "self": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "timeZone": {
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "assigneeType": {
|
||||
// "title": "assigneeType",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "description": {
|
||||
// "title": "description",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "id": {
|
||||
// "title": "id",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "isAssigneeTypeValid": {
|
||||
// "title": "isAssigneeTypeValid",
|
||||
// "type": "boolean"
|
||||
// },
|
||||
// "lead": {
|
||||
// "title": "User",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "accountId": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "active": {
|
||||
// "type": "boolean"
|
||||
// },
|
||||
// "applicationRoles": {
|
||||
// "$ref": "#/definitions/simple-list-wrapper"
|
||||
// },
|
||||
// "avatarUrls": {
|
||||
// "type": "object",
|
||||
// "patternProperties": {
|
||||
// ".+": {
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "displayName": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "emailAddress": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "expand": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "groups": {
|
||||
// "$ref": "#/definitions/simple-list-wrapper"
|
||||
// },
|
||||
// "key": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "locale": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "name": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "self": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "timeZone": {
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "leadUserName": {
|
||||
// "title": "leadUserName",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "name": {
|
||||
// "title": "name",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "project": {
|
||||
// "title": "project",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "projectId": {
|
||||
// "title": "projectId",
|
||||
// "type": "integer"
|
||||
// },
|
||||
// "realAssignee": {
|
||||
// "title": "User",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "accountId": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "active": {
|
||||
// "type": "boolean"
|
||||
// },
|
||||
// "applicationRoles": {
|
||||
// "$ref": "#/definitions/simple-list-wrapper"
|
||||
// },
|
||||
// "avatarUrls": {
|
||||
// "type": "object",
|
||||
// "patternProperties": {
|
||||
// ".+": {
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "displayName": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "emailAddress": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "expand": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "groups": {
|
||||
// "$ref": "#/definitions/simple-list-wrapper"
|
||||
// },
|
||||
// "key": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "locale": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "name": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "self": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "timeZone": {
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "realAssigneeType": {
|
||||
// "title": "realAssigneeType",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "self": {
|
||||
// "title": "self",
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
type Component struct {
|
||||
Assignee *User `json:"assignee,omitempty" yaml:"assignee,omitempty"`
|
||||
AssigneeType string `json:"assigneeType,omitempty" yaml:"assigneeType,omitempty"`
|
||||
Description string `json:"description,omitempty" yaml:"description,omitempty"`
|
||||
ID string `json:"id,omitempty" yaml:"id,omitempty"`
|
||||
IsAssigneeTypeValid bool `json:"isAssigneeTypeValid,omitempty" yaml:"isAssigneeTypeValid,omitempty"`
|
||||
Lead *User `json:"lead,omitempty" yaml:"lead,omitempty"`
|
||||
LeadUserName string `json:"leadUserName,omitempty" yaml:"leadUserName,omitempty"`
|
||||
Name string `json:"name,omitempty" yaml:"name,omitempty"`
|
||||
Project string `json:"project,omitempty" yaml:"project,omitempty"`
|
||||
ProjectID int `json:"projectId,omitempty" yaml:"projectId,omitempty"`
|
||||
RealAssignee *User `json:"realAssignee,omitempty" yaml:"realAssignee,omitempty"`
|
||||
RealAssigneeType string `json:"realAssigneeType,omitempty" yaml:"realAssigneeType,omitempty"`
|
||||
Self string `json:"self,omitempty" yaml:"self,omitempty"`
|
||||
}
|
||||
@@ -0,0 +1,214 @@
|
||||
package jiradata
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// This Code is Generated by SlipScheme Project:
|
||||
// https://github.com/coryb/slipscheme
|
||||
//
|
||||
// Generated with command:
|
||||
// slipscheme -dir jiradata -pkg jiradata schemas/Project.json
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// DO NOT EDIT //
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// Components defined from schema:
|
||||
// {
|
||||
// "title": "components",
|
||||
// "type": "array",
|
||||
// "items": {
|
||||
// "title": "Component",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "assignee": {
|
||||
// "title": "User",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "accountId": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "active": {
|
||||
// "type": "boolean"
|
||||
// },
|
||||
// "applicationRoles": {
|
||||
// "$ref": "#/definitions/simple-list-wrapper"
|
||||
// },
|
||||
// "avatarUrls": {
|
||||
// "type": "object",
|
||||
// "patternProperties": {
|
||||
// ".+": {
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "displayName": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "emailAddress": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "expand": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "groups": {
|
||||
// "$ref": "#/definitions/simple-list-wrapper"
|
||||
// },
|
||||
// "key": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "locale": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "name": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "self": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "timeZone": {
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "assigneeType": {
|
||||
// "title": "assigneeType",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "description": {
|
||||
// "title": "description",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "id": {
|
||||
// "title": "id",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "isAssigneeTypeValid": {
|
||||
// "title": "isAssigneeTypeValid",
|
||||
// "type": "boolean"
|
||||
// },
|
||||
// "lead": {
|
||||
// "title": "User",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "accountId": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "active": {
|
||||
// "type": "boolean"
|
||||
// },
|
||||
// "applicationRoles": {
|
||||
// "$ref": "#/definitions/simple-list-wrapper"
|
||||
// },
|
||||
// "avatarUrls": {
|
||||
// "type": "object",
|
||||
// "patternProperties": {
|
||||
// ".+": {
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "displayName": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "emailAddress": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "expand": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "groups": {
|
||||
// "$ref": "#/definitions/simple-list-wrapper"
|
||||
// },
|
||||
// "key": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "locale": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "name": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "self": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "timeZone": {
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "leadUserName": {
|
||||
// "title": "leadUserName",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "name": {
|
||||
// "title": "name",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "project": {
|
||||
// "title": "project",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "projectId": {
|
||||
// "title": "projectId",
|
||||
// "type": "integer"
|
||||
// },
|
||||
// "realAssignee": {
|
||||
// "title": "User",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "accountId": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "active": {
|
||||
// "type": "boolean"
|
||||
// },
|
||||
// "applicationRoles": {
|
||||
// "$ref": "#/definitions/simple-list-wrapper"
|
||||
// },
|
||||
// "avatarUrls": {
|
||||
// "type": "object",
|
||||
// "patternProperties": {
|
||||
// ".+": {
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "displayName": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "emailAddress": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "expand": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "groups": {
|
||||
// "$ref": "#/definitions/simple-list-wrapper"
|
||||
// },
|
||||
// "key": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "locale": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "name": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "self": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "timeZone": {
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "realAssigneeType": {
|
||||
// "title": "realAssigneeType",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "self": {
|
||||
// "title": "self",
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
type Components []*Component
|
||||
@@ -0,0 +1,182 @@
|
||||
package jiradata
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// This Code is Generated by SlipScheme Project:
|
||||
// https://github.com/coryb/slipscheme
|
||||
//
|
||||
// Generated with command:
|
||||
// slipscheme -dir jiradata -pkg jiradata schemas/CreateMeta.json
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// DO NOT EDIT //
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// CreateMeta defined from schema:
|
||||
// {
|
||||
// "title": "Create Meta",
|
||||
// "id": "https://docs.atlassian.com/jira/REST/schema/create-meta#",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "expand": {
|
||||
// "title": "expand",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "projects": {
|
||||
// "title": "projects",
|
||||
// "type": "array",
|
||||
// "items": {
|
||||
// "title": "Create Meta Project",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "avatarUrls": {
|
||||
// "title": "avatarUrls",
|
||||
// "type": "object",
|
||||
// "patternProperties": {
|
||||
// ".+": {
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "expand": {
|
||||
// "title": "expand",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "id": {
|
||||
// "title": "id",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "issuetypes": {
|
||||
// "title": "issuetypes",
|
||||
// "type": "array",
|
||||
// "items": {
|
||||
// "title": "Create Meta Issue Type",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "avatarId": {
|
||||
// "title": "avatarId",
|
||||
// "type": "integer"
|
||||
// },
|
||||
// "description": {
|
||||
// "title": "description",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "expand": {
|
||||
// "title": "expand",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "fields": {
|
||||
// "title": "fields",
|
||||
// "type": "object",
|
||||
// "patternProperties": {
|
||||
// ".+": {
|
||||
// "title": "Field Meta",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "allowedValues": {
|
||||
// "title": "allowedValues",
|
||||
// "type": "array",
|
||||
// "items": {}
|
||||
// },
|
||||
// "autoCompleteUrl": {
|
||||
// "title": "autoCompleteUrl",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "defaultValue": {
|
||||
// "title": "defaultValue"
|
||||
// },
|
||||
// "hasDefaultValue": {
|
||||
// "title": "hasDefaultValue",
|
||||
// "type": "boolean"
|
||||
// },
|
||||
// "key": {
|
||||
// "title": "key",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "name": {
|
||||
// "title": "name",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "operations": {
|
||||
// "title": "operations",
|
||||
// "type": "array",
|
||||
// "items": {
|
||||
// "type": "string"
|
||||
// }
|
||||
// },
|
||||
// "required": {
|
||||
// "title": "required",
|
||||
// "type": "boolean"
|
||||
// },
|
||||
// "schema": {
|
||||
// "title": "Json Type",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "custom": {
|
||||
// "title": "custom",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "customId": {
|
||||
// "title": "customId",
|
||||
// "type": "integer"
|
||||
// },
|
||||
// "items": {
|
||||
// "title": "items",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "system": {
|
||||
// "title": "system",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "type": {
|
||||
// "title": "type",
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "iconUrl": {
|
||||
// "title": "iconUrl",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "id": {
|
||||
// "title": "id",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "name": {
|
||||
// "title": "name",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "self": {
|
||||
// "title": "self",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "subtask": {
|
||||
// "title": "subtask",
|
||||
// "type": "boolean"
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "key": {
|
||||
// "title": "key",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "name": {
|
||||
// "title": "name",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "self": {
|
||||
// "title": "self",
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
type CreateMeta struct {
|
||||
Expand string `json:"expand,omitempty" yaml:"expand,omitempty"`
|
||||
Projects Projects `json:"projects,omitempty" yaml:"projects,omitempty"`
|
||||
}
|
||||
@@ -0,0 +1,135 @@
|
||||
package jiradata
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// This Code is Generated by SlipScheme Project:
|
||||
// https://github.com/coryb/slipscheme
|
||||
//
|
||||
// Generated with command:
|
||||
// slipscheme -dir jiradata -pkg jiradata schemas/CreateMeta.json
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// DO NOT EDIT //
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// CreateMetaIssueType defined from schema:
|
||||
// {
|
||||
// "title": "Create Meta Issue Type",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "avatarId": {
|
||||
// "title": "avatarId",
|
||||
// "type": "integer"
|
||||
// },
|
||||
// "description": {
|
||||
// "title": "description",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "expand": {
|
||||
// "title": "expand",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "fields": {
|
||||
// "title": "fields",
|
||||
// "type": "object",
|
||||
// "patternProperties": {
|
||||
// ".+": {
|
||||
// "title": "Field Meta",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "allowedValues": {
|
||||
// "title": "allowedValues",
|
||||
// "type": "array",
|
||||
// "items": {}
|
||||
// },
|
||||
// "autoCompleteUrl": {
|
||||
// "title": "autoCompleteUrl",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "defaultValue": {
|
||||
// "title": "defaultValue"
|
||||
// },
|
||||
// "hasDefaultValue": {
|
||||
// "title": "hasDefaultValue",
|
||||
// "type": "boolean"
|
||||
// },
|
||||
// "key": {
|
||||
// "title": "key",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "name": {
|
||||
// "title": "name",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "operations": {
|
||||
// "title": "operations",
|
||||
// "type": "array",
|
||||
// "items": {
|
||||
// "type": "string"
|
||||
// }
|
||||
// },
|
||||
// "required": {
|
||||
// "title": "required",
|
||||
// "type": "boolean"
|
||||
// },
|
||||
// "schema": {
|
||||
// "title": "Json Type",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "custom": {
|
||||
// "title": "custom",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "customId": {
|
||||
// "title": "customId",
|
||||
// "type": "integer"
|
||||
// },
|
||||
// "items": {
|
||||
// "title": "items",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "system": {
|
||||
// "title": "system",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "type": {
|
||||
// "title": "type",
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "iconUrl": {
|
||||
// "title": "iconUrl",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "id": {
|
||||
// "title": "id",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "name": {
|
||||
// "title": "name",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "self": {
|
||||
// "title": "self",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "subtask": {
|
||||
// "title": "subtask",
|
||||
// "type": "boolean"
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
type CreateMetaIssueType struct {
|
||||
AvatarID int `json:"avatarId,omitempty" yaml:"avatarId,omitempty"`
|
||||
Description string `json:"description,omitempty" yaml:"description,omitempty"`
|
||||
Expand string `json:"expand,omitempty" yaml:"expand,omitempty"`
|
||||
Fields FieldMetaMap `json:"fields,omitempty" yaml:"fields,omitempty"`
|
||||
IconURL string `json:"iconUrl,omitempty" yaml:"iconUrl,omitempty"`
|
||||
ID string `json:"id,omitempty" yaml:"id,omitempty"`
|
||||
Name string `json:"name,omitempty" yaml:"name,omitempty"`
|
||||
Self string `json:"self,omitempty" yaml:"self,omitempty"`
|
||||
Subtask bool `json:"subtask,omitempty" yaml:"subtask,omitempty"`
|
||||
}
|
||||
@@ -0,0 +1,172 @@
|
||||
package jiradata
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// This Code is Generated by SlipScheme Project:
|
||||
// https://github.com/coryb/slipscheme
|
||||
//
|
||||
// Generated with command:
|
||||
// slipscheme -dir jiradata -pkg jiradata schemas/CreateMeta.json
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// DO NOT EDIT //
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// CreateMetaProject defined from schema:
|
||||
// {
|
||||
// "title": "Create Meta Project",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "avatarUrls": {
|
||||
// "title": "avatarUrls",
|
||||
// "type": "object",
|
||||
// "patternProperties": {
|
||||
// ".+": {
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "expand": {
|
||||
// "title": "expand",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "id": {
|
||||
// "title": "id",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "issuetypes": {
|
||||
// "title": "issuetypes",
|
||||
// "type": "array",
|
||||
// "items": {
|
||||
// "title": "Create Meta Issue Type",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "avatarId": {
|
||||
// "title": "avatarId",
|
||||
// "type": "integer"
|
||||
// },
|
||||
// "description": {
|
||||
// "title": "description",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "expand": {
|
||||
// "title": "expand",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "fields": {
|
||||
// "title": "fields",
|
||||
// "type": "object",
|
||||
// "patternProperties": {
|
||||
// ".+": {
|
||||
// "title": "Field Meta",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "allowedValues": {
|
||||
// "title": "allowedValues",
|
||||
// "type": "array",
|
||||
// "items": {}
|
||||
// },
|
||||
// "autoCompleteUrl": {
|
||||
// "title": "autoCompleteUrl",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "defaultValue": {
|
||||
// "title": "defaultValue"
|
||||
// },
|
||||
// "hasDefaultValue": {
|
||||
// "title": "hasDefaultValue",
|
||||
// "type": "boolean"
|
||||
// },
|
||||
// "key": {
|
||||
// "title": "key",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "name": {
|
||||
// "title": "name",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "operations": {
|
||||
// "title": "operations",
|
||||
// "type": "array",
|
||||
// "items": {
|
||||
// "type": "string"
|
||||
// }
|
||||
// },
|
||||
// "required": {
|
||||
// "title": "required",
|
||||
// "type": "boolean"
|
||||
// },
|
||||
// "schema": {
|
||||
// "title": "Json Type",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "custom": {
|
||||
// "title": "custom",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "customId": {
|
||||
// "title": "customId",
|
||||
// "type": "integer"
|
||||
// },
|
||||
// "items": {
|
||||
// "title": "items",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "system": {
|
||||
// "title": "system",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "type": {
|
||||
// "title": "type",
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "iconUrl": {
|
||||
// "title": "iconUrl",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "id": {
|
||||
// "title": "id",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "name": {
|
||||
// "title": "name",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "self": {
|
||||
// "title": "self",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "subtask": {
|
||||
// "title": "subtask",
|
||||
// "type": "boolean"
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "key": {
|
||||
// "title": "key",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "name": {
|
||||
// "title": "name",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "self": {
|
||||
// "title": "self",
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
type CreateMetaProject struct {
|
||||
AvatarUrls map[string]string `json:"avatarUrls,omitempty" yaml:"avatarUrls,omitempty"`
|
||||
Expand string `json:"expand,omitempty" yaml:"expand,omitempty"`
|
||||
ID string `json:"id,omitempty" yaml:"id,omitempty"`
|
||||
Issuetypes Issuetypes `json:"issuetypes,omitempty" yaml:"issuetypes,omitempty"`
|
||||
Key string `json:"key,omitempty" yaml:"key,omitempty"`
|
||||
Name string `json:"name,omitempty" yaml:"name,omitempty"`
|
||||
Self string `json:"self,omitempty" yaml:"self,omitempty"`
|
||||
}
|
||||
@@ -0,0 +1,55 @@
|
||||
package jiradata
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// This Code is Generated by SlipScheme Project:
|
||||
// https://github.com/coryb/slipscheme
|
||||
//
|
||||
// Generated with command:
|
||||
// slipscheme -pkg jiradata -dir data schemas/CurrentUser.json
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// DO NOT EDIT //
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// CurrentUser defined from schema:
|
||||
// {
|
||||
// "title": "Current User",
|
||||
// "id": "https://docs.atlassian.com/jira/REST/schema/current-user#",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "loginInfo": {
|
||||
// "title": "Login Info",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "failedLoginCount": {
|
||||
// "title": "failedLoginCount",
|
||||
// "type": "integer"
|
||||
// },
|
||||
// "lastFailedLoginTime": {
|
||||
// "title": "lastFailedLoginTime",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "loginCount": {
|
||||
// "title": "loginCount",
|
||||
// "type": "integer"
|
||||
// },
|
||||
// "previousLoginTime": {
|
||||
// "title": "previousLoginTime",
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "name": {
|
||||
// "title": "name",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "self": {
|
||||
// "title": "self",
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
type CurrentUser struct {
|
||||
LoginInfo *LoginInfo `json:"loginInfo,omitempty" yaml:"loginInfo,omitempty"`
|
||||
Name string `json:"name,omitempty" yaml:"name,omitempty"`
|
||||
Self string `json:"self,omitempty" yaml:"self,omitempty"`
|
||||
}
|
||||
@@ -0,0 +1,63 @@
|
||||
package jiradata
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// This Code is Generated by SlipScheme Project:
|
||||
// https://github.com/coryb/slipscheme
|
||||
//
|
||||
// Generated with command:
|
||||
// slipscheme -dir data -pkg jiradata -overwrite schemas/SearchResults.json
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// DO NOT EDIT //
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// EditMeta defined from schema:
|
||||
// {
|
||||
// "title": "Edit Meta",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "fields": {
|
||||
// "title": "fields",
|
||||
// "type": "object",
|
||||
// "patternProperties": {
|
||||
// ".+": {
|
||||
// "title": "Field Meta",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "allowedValues": {
|
||||
// "type": "array",
|
||||
// "items": {}
|
||||
// },
|
||||
// "autoCompleteUrl": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "defaultValue": {},
|
||||
// "hasDefaultValue": {
|
||||
// "type": "boolean"
|
||||
// },
|
||||
// "key": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "name": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "operations": {
|
||||
// "type": "array",
|
||||
// "items": {
|
||||
// "type": "string"
|
||||
// }
|
||||
// },
|
||||
// "required": {
|
||||
// "type": "boolean"
|
||||
// },
|
||||
// "schema": {
|
||||
// "$ref": "#/definitions/json-type"
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
type EditMeta struct {
|
||||
Fields FieldMetaMap `json:"fields,omitempty" yaml:"fields,omitempty"`
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
package jiradata
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// This Code is Generated by SlipScheme Project:
|
||||
// https://github.com/coryb/slipscheme
|
||||
//
|
||||
// Generated with command:
|
||||
// slipscheme -pkg jiradata -dir jiradata -overwrite schemas/IssueUpdate.json
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// DO NOT EDIT //
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// EntityProperty defined from schema:
|
||||
// {
|
||||
// "title": "Entity Property",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "key": {
|
||||
// "title": "key",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "value": {
|
||||
// "title": "value"
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
type EntityProperty struct {
|
||||
Key string `json:"key,omitempty" yaml:"key,omitempty"`
|
||||
Value interface{} `json:"value,omitempty" yaml:"value,omitempty"`
|
||||
}
|
||||
@@ -0,0 +1,45 @@
|
||||
package jiradata
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// This Code is Generated by SlipScheme Project:
|
||||
// https://github.com/coryb/slipscheme
|
||||
//
|
||||
// Generated with command:
|
||||
// slipscheme -pkg jiradata -dir data schemas/ErrorCollection.json
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// DO NOT EDIT //
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// ErrorCollection defined from schema:
|
||||
// {
|
||||
// "title": "Error Collection",
|
||||
// "id": "https://docs.atlassian.com/jira/REST/schema/error-collection#",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "errorMessages": {
|
||||
// "title": "errorMessages",
|
||||
// "type": "array",
|
||||
// "items": {
|
||||
// "type": "string"
|
||||
// }
|
||||
// },
|
||||
// "errors": {
|
||||
// "title": "errors",
|
||||
// "type": "object",
|
||||
// "patternProperties": {
|
||||
// ".+": {
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "status": {
|
||||
// "title": "status",
|
||||
// "type": "integer"
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
type ErrorCollection struct {
|
||||
ErrorMessages ErrorMessages `json:"errorMessages,omitempty" yaml:"errorMessages,omitempty"`
|
||||
Errors map[string]string `json:"errors,omitempty" yaml:"errors,omitempty"`
|
||||
Status int `json:"status,omitempty" yaml:"status,omitempty"`
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
package jiradata
|
||||
|
||||
import (
|
||||
"strings"
|
||||
)
|
||||
|
||||
// Error is needed to make ErrorCollection implement the error interface
|
||||
func (e ErrorCollection) Error() string {
|
||||
if len(e.ErrorMessages) > 0 {
|
||||
return strings.Join(e.ErrorMessages, ". ")
|
||||
}
|
||||
out := ""
|
||||
for k, v := range e.Errors {
|
||||
if len(out) > 0 {
|
||||
out += ". "
|
||||
}
|
||||
out += k + ": " + v
|
||||
}
|
||||
return out
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
package jiradata
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// This Code is Generated by SlipScheme Project:
|
||||
// https://github.com/coryb/slipscheme
|
||||
//
|
||||
// Generated with command:
|
||||
// slipscheme -pkg jiradata -dir data schemas/ErrorCollection.json
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// DO NOT EDIT //
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// ErrorMessages defined from schema:
|
||||
// {
|
||||
// "title": "errorMessages",
|
||||
// "type": "array",
|
||||
// "items": {
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
type ErrorMessages []string
|
||||
@@ -0,0 +1,92 @@
|
||||
package jiradata
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// This Code is Generated by SlipScheme Project:
|
||||
// https://github.com/coryb/slipscheme
|
||||
//
|
||||
// Generated with command:
|
||||
// slipscheme -pkg jiradata -dir data schemas/Field.json
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// DO NOT EDIT //
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// Field defined from schema:
|
||||
// {
|
||||
// "title": "Field",
|
||||
// "id": "https://docs.atlassian.com/jira/REST/schema/field#",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "clauseNames": {
|
||||
// "title": "clauseNames",
|
||||
// "type": "array",
|
||||
// "items": {
|
||||
// "type": "string"
|
||||
// }
|
||||
// },
|
||||
// "custom": {
|
||||
// "title": "custom",
|
||||
// "type": "boolean"
|
||||
// },
|
||||
// "id": {
|
||||
// "title": "id",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "key": {
|
||||
// "title": "key",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "name": {
|
||||
// "title": "name",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "navigable": {
|
||||
// "title": "navigable",
|
||||
// "type": "boolean"
|
||||
// },
|
||||
// "orderable": {
|
||||
// "title": "orderable",
|
||||
// "type": "boolean"
|
||||
// },
|
||||
// "schema": {
|
||||
// "title": "Json Type",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "custom": {
|
||||
// "title": "custom",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "customId": {
|
||||
// "title": "customId",
|
||||
// "type": "integer"
|
||||
// },
|
||||
// "items": {
|
||||
// "title": "items",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "system": {
|
||||
// "title": "system",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "type": {
|
||||
// "title": "type",
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "searchable": {
|
||||
// "title": "searchable",
|
||||
// "type": "boolean"
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
type Field struct {
|
||||
ClauseNames ClauseNames `json:"clauseNames,omitempty" yaml:"clauseNames,omitempty"`
|
||||
Custom bool `json:"custom,omitempty" yaml:"custom,omitempty"`
|
||||
ID string `json:"id,omitempty" yaml:"id,omitempty"`
|
||||
Key string `json:"key,omitempty" yaml:"key,omitempty"`
|
||||
Name string `json:"name,omitempty" yaml:"name,omitempty"`
|
||||
Navigable bool `json:"navigable,omitempty" yaml:"navigable,omitempty"`
|
||||
Orderable bool `json:"orderable,omitempty" yaml:"orderable,omitempty"`
|
||||
Schema *JSONType `json:"schema,omitempty" yaml:"schema,omitempty"`
|
||||
Searchable bool `json:"searchable,omitempty" yaml:"searchable,omitempty"`
|
||||
}
|
||||
@@ -0,0 +1,91 @@
|
||||
package jiradata
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// This Code is Generated by SlipScheme Project:
|
||||
// https://github.com/coryb/slipscheme
|
||||
//
|
||||
// Generated with command:
|
||||
// slipscheme -pkg jiradata -dir jiradata -overwrite schemas/IssueUpdate.json
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// DO NOT EDIT //
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// FieldMeta defined from schema:
|
||||
// {
|
||||
// "title": "Field Meta",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "allowedValues": {
|
||||
// "title": "allowedValues",
|
||||
// "type": "array",
|
||||
// "items": {}
|
||||
// },
|
||||
// "autoCompleteUrl": {
|
||||
// "title": "autoCompleteUrl",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "defaultValue": {
|
||||
// "title": "defaultValue"
|
||||
// },
|
||||
// "hasDefaultValue": {
|
||||
// "title": "hasDefaultValue",
|
||||
// "type": "boolean"
|
||||
// },
|
||||
// "key": {
|
||||
// "title": "key",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "name": {
|
||||
// "title": "name",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "operations": {
|
||||
// "title": "operations",
|
||||
// "type": "array",
|
||||
// "items": {
|
||||
// "type": "string"
|
||||
// }
|
||||
// },
|
||||
// "required": {
|
||||
// "title": "required",
|
||||
// "type": "boolean"
|
||||
// },
|
||||
// "schema": {
|
||||
// "title": "Json Type",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "custom": {
|
||||
// "title": "custom",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "customId": {
|
||||
// "title": "customId",
|
||||
// "type": "integer"
|
||||
// },
|
||||
// "items": {
|
||||
// "title": "items",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "system": {
|
||||
// "title": "system",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "type": {
|
||||
// "title": "type",
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
type FieldMeta struct {
|
||||
AllowedValues AllowedValues `json:"allowedValues,omitempty" yaml:"allowedValues,omitempty"`
|
||||
AutoCompleteURL string `json:"autoCompleteUrl,omitempty" yaml:"autoCompleteUrl,omitempty"`
|
||||
DefaultValue interface{} `json:"defaultValue,omitempty" yaml:"defaultValue,omitempty"`
|
||||
HasDefaultValue bool `json:"hasDefaultValue,omitempty" yaml:"hasDefaultValue,omitempty"`
|
||||
Key string `json:"key,omitempty" yaml:"key,omitempty"`
|
||||
Name string `json:"name,omitempty" yaml:"name,omitempty"`
|
||||
Operations Operations `json:"operations,omitempty" yaml:"operations,omitempty"`
|
||||
Required bool `json:"required,omitempty" yaml:"required,omitempty"`
|
||||
Schema *JSONType `json:"schema,omitempty" yaml:"schema,omitempty"`
|
||||
}
|
||||
@@ -0,0 +1,87 @@
|
||||
package jiradata
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// This Code is Generated by SlipScheme Project:
|
||||
// https://github.com/coryb/slipscheme
|
||||
//
|
||||
// Generated with command:
|
||||
// slipscheme -pkg jiradata -dir jiradata -overwrite schemas/IssueUpdate.json
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// DO NOT EDIT //
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// FieldMetaMap defined from schema:
|
||||
// {
|
||||
// "title": "fields",
|
||||
// "type": "object",
|
||||
// "patternProperties": {
|
||||
// ".+": {
|
||||
// "title": "Field Meta",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "allowedValues": {
|
||||
// "title": "allowedValues",
|
||||
// "type": "array",
|
||||
// "items": {}
|
||||
// },
|
||||
// "autoCompleteUrl": {
|
||||
// "title": "autoCompleteUrl",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "defaultValue": {
|
||||
// "title": "defaultValue"
|
||||
// },
|
||||
// "hasDefaultValue": {
|
||||
// "title": "hasDefaultValue",
|
||||
// "type": "boolean"
|
||||
// },
|
||||
// "key": {
|
||||
// "title": "key",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "name": {
|
||||
// "title": "name",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "operations": {
|
||||
// "title": "operations",
|
||||
// "type": "array",
|
||||
// "items": {
|
||||
// "type": "string"
|
||||
// }
|
||||
// },
|
||||
// "required": {
|
||||
// "title": "required",
|
||||
// "type": "boolean"
|
||||
// },
|
||||
// "schema": {
|
||||
// "title": "Json Type",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "custom": {
|
||||
// "title": "custom",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "customId": {
|
||||
// "title": "customId",
|
||||
// "type": "integer"
|
||||
// },
|
||||
// "items": {
|
||||
// "title": "items",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "system": {
|
||||
// "title": "system",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "type": {
|
||||
// "title": "type",
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
type FieldMetaMap map[string]*FieldMeta
|
||||
@@ -0,0 +1,18 @@
|
||||
package jiradata
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// This Code is Generated by SlipScheme Project:
|
||||
// https://github.com/coryb/slipscheme
|
||||
//
|
||||
// Generated with command:
|
||||
// slipscheme -pkg jiradata -dir jiradata -overwrite schemas/IssueUpdate.json
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// DO NOT EDIT //
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// FieldOperation defined from schema:
|
||||
// {
|
||||
// "title": "Field Operation",
|
||||
// "type": "object"
|
||||
// }
|
||||
type FieldOperation map[string]interface{}
|
||||
@@ -0,0 +1,21 @@
|
||||
package jiradata
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// This Code is Generated by SlipScheme Project:
|
||||
// https://github.com/coryb/slipscheme
|
||||
//
|
||||
// Generated with command:
|
||||
// slipscheme -pkg jiradata -dir jiradata -overwrite schemas/IssueUpdate.json
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// DO NOT EDIT //
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// FieldOperations defined from schema:
|
||||
// {
|
||||
// "type": "array",
|
||||
// "items": {
|
||||
// "title": "Field Operation",
|
||||
// "type": "object"
|
||||
// }
|
||||
// }
|
||||
type FieldOperations []FieldOperation
|
||||
@@ -0,0 +1,27 @@
|
||||
package jiradata
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// This Code is Generated by SlipScheme Project:
|
||||
// https://github.com/coryb/slipscheme
|
||||
//
|
||||
// Generated with command:
|
||||
// slipscheme -pkg jiradata -dir jiradata -overwrite schemas/IssueUpdate.json
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// DO NOT EDIT //
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// FieldOperationsMap defined from schema:
|
||||
// {
|
||||
// "title": "update",
|
||||
// "type": "object",
|
||||
// "patternProperties": {
|
||||
// ".+": {
|
||||
// "type": "array",
|
||||
// "items": {
|
||||
// "title": "Field Operation",
|
||||
// "type": "object"
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
type FieldOperationsMap map[string]FieldOperations
|
||||
@@ -0,0 +1,21 @@
|
||||
package jiradata
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// This Code is Generated by SlipScheme Project:
|
||||
// https://github.com/coryb/slipscheme
|
||||
//
|
||||
// Generated with command:
|
||||
// slipscheme -dir data -pkg jiradata -overwrite schemas/SearchRequest.json
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// DO NOT EDIT //
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// Fields defined from schema:
|
||||
// {
|
||||
// "title": "fields",
|
||||
// "type": "array",
|
||||
// "items": {
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
type Fields []string
|
||||
@@ -0,0 +1,232 @@
|
||||
package jiradata
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// This Code is Generated by SlipScheme Project:
|
||||
// https://github.com/coryb/slipscheme
|
||||
//
|
||||
// Generated with command:
|
||||
// slipscheme -dir data -pkg jiradata -overwrite schemas/SearchResults.json
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// DO NOT EDIT //
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// Histories defined from schema:
|
||||
// {
|
||||
// "title": "histories",
|
||||
// "type": "array",
|
||||
// "items": {
|
||||
// "title": "Change History",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "author": {
|
||||
// "title": "User",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "accountId": {
|
||||
// "title": "accountId",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "active": {
|
||||
// "title": "active",
|
||||
// "type": "boolean"
|
||||
// },
|
||||
// "avatarUrls": {
|
||||
// "title": "avatarUrls",
|
||||
// "type": "object",
|
||||
// "patternProperties": {
|
||||
// ".+": {
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "displayName": {
|
||||
// "title": "displayName",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "emailAddress": {
|
||||
// "title": "emailAddress",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "key": {
|
||||
// "title": "key",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "name": {
|
||||
// "title": "name",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "self": {
|
||||
// "title": "self",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "timeZone": {
|
||||
// "title": "timeZone",
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "created": {
|
||||
// "title": "created",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "historyMetadata": {
|
||||
// "title": "History Metadata",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "activityDescription": {
|
||||
// "title": "activityDescription",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "activityDescriptionKey": {
|
||||
// "title": "activityDescriptionKey",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "actor": {
|
||||
// "title": "History Metadata Participant",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "avatarUrl": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "displayName": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "displayNameKey": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "id": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "type": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "url": {
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "cause": {
|
||||
// "title": "History Metadata Participant",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "avatarUrl": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "displayName": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "displayNameKey": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "id": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "type": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "url": {
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "description": {
|
||||
// "title": "description",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "descriptionKey": {
|
||||
// "title": "descriptionKey",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "emailDescription": {
|
||||
// "title": "emailDescription",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "emailDescriptionKey": {
|
||||
// "title": "emailDescriptionKey",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "extraData": {
|
||||
// "title": "extraData",
|
||||
// "type": "object",
|
||||
// "patternProperties": {
|
||||
// ".+": {
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "generator": {
|
||||
// "title": "History Metadata Participant",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "avatarUrl": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "displayName": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "displayNameKey": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "id": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "type": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "url": {
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "type": {
|
||||
// "title": "type",
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "id": {
|
||||
// "title": "id",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "items": {
|
||||
// "title": "items",
|
||||
// "type": "array",
|
||||
// "items": {
|
||||
// "title": "Change Item",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "field": {
|
||||
// "title": "field",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "fieldId": {
|
||||
// "title": "fieldId",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "fieldtype": {
|
||||
// "title": "fieldtype",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "from": {
|
||||
// "title": "from",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "fromString": {
|
||||
// "title": "fromString",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "to": {
|
||||
// "title": "to",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "toString": {
|
||||
// "title": "toString",
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
type Histories []*ChangeHistory
|
||||
@@ -0,0 +1,141 @@
|
||||
package jiradata
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// This Code is Generated by SlipScheme Project:
|
||||
// https://github.com/coryb/slipscheme
|
||||
//
|
||||
// Generated with command:
|
||||
// slipscheme -pkg jiradata -dir jiradata -overwrite schemas/IssueUpdate.json
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// DO NOT EDIT //
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// HistoryMetadata defined from schema:
|
||||
// {
|
||||
// "title": "History Metadata",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "activityDescription": {
|
||||
// "title": "activityDescription",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "activityDescriptionKey": {
|
||||
// "title": "activityDescriptionKey",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "actor": {
|
||||
// "title": "History Metadata Participant",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "avatarUrl": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "displayName": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "displayNameKey": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "id": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "type": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "url": {
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "cause": {
|
||||
// "title": "History Metadata Participant",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "avatarUrl": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "displayName": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "displayNameKey": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "id": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "type": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "url": {
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "description": {
|
||||
// "title": "description",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "descriptionKey": {
|
||||
// "title": "descriptionKey",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "emailDescription": {
|
||||
// "title": "emailDescription",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "emailDescriptionKey": {
|
||||
// "title": "emailDescriptionKey",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "extraData": {
|
||||
// "title": "extraData",
|
||||
// "type": "object",
|
||||
// "patternProperties": {
|
||||
// ".+": {
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "generator": {
|
||||
// "title": "History Metadata Participant",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "avatarUrl": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "displayName": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "displayNameKey": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "id": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "type": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "url": {
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "type": {
|
||||
// "title": "type",
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
type HistoryMetadata struct {
|
||||
ActivityDescription string `json:"activityDescription,omitempty" yaml:"activityDescription,omitempty"`
|
||||
ActivityDescriptionKey string `json:"activityDescriptionKey,omitempty" yaml:"activityDescriptionKey,omitempty"`
|
||||
Actor *HistoryMetadataParticipant `json:"actor,omitempty" yaml:"actor,omitempty"`
|
||||
Cause *HistoryMetadataParticipant `json:"cause,omitempty" yaml:"cause,omitempty"`
|
||||
Description string `json:"description,omitempty" yaml:"description,omitempty"`
|
||||
DescriptionKey string `json:"descriptionKey,omitempty" yaml:"descriptionKey,omitempty"`
|
||||
EmailDescription string `json:"emailDescription,omitempty" yaml:"emailDescription,omitempty"`
|
||||
EmailDescriptionKey string `json:"emailDescriptionKey,omitempty" yaml:"emailDescriptionKey,omitempty"`
|
||||
ExtraData map[string]string `json:"extraData,omitempty" yaml:"extraData,omitempty"`
|
||||
Generator *HistoryMetadataParticipant `json:"generator,omitempty" yaml:"generator,omitempty"`
|
||||
Type string `json:"type,omitempty" yaml:"type,omitempty"`
|
||||
}
|
||||
@@ -0,0 +1,45 @@
|
||||
package jiradata
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// This Code is Generated by SlipScheme Project:
|
||||
// https://github.com/coryb/slipscheme
|
||||
//
|
||||
// Generated with command:
|
||||
// slipscheme -pkg jiradata -dir jiradata -overwrite schemas/IssueUpdate.json
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// DO NOT EDIT //
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// HistoryMetadataParticipant defined from schema:
|
||||
// {
|
||||
// "title": "History Metadata Participant",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "avatarUrl": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "displayName": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "displayNameKey": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "id": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "type": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "url": {
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
type HistoryMetadataParticipant struct {
|
||||
AvatarURL string `json:"avatarUrl,omitempty" yaml:"avatarUrl,omitempty"`
|
||||
DisplayName string `json:"displayName,omitempty" yaml:"displayName,omitempty"`
|
||||
DisplayNameKey string `json:"displayNameKey,omitempty" yaml:"displayNameKey,omitempty"`
|
||||
ID string `json:"id,omitempty" yaml:"id,omitempty"`
|
||||
Type string `json:"type,omitempty" yaml:"type,omitempty"`
|
||||
URL string `json:"url,omitempty" yaml:"url,omitempty"`
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
package jiradata
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// This Code is Generated by SlipScheme Project:
|
||||
// https://github.com/coryb/slipscheme
|
||||
//
|
||||
// Generated with command:
|
||||
// slipscheme -dir data -pkg jiradata -overwrite schemas/SearchResults.json
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// DO NOT EDIT //
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// IncludedFields defined from schema:
|
||||
// {
|
||||
// "title": "Included Fields",
|
||||
// "type": "object"
|
||||
// }
|
||||
type IncludedFields map[string]string
|
||||
@@ -0,0 +1,579 @@
|
||||
package jiradata
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// This Code is Generated by SlipScheme Project:
|
||||
// https://github.com/coryb/slipscheme
|
||||
//
|
||||
// Generated with command:
|
||||
// slipscheme -dir data -pkg jiradata -overwrite schemas/SearchResults.json
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// DO NOT EDIT //
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// Issue defined from schema:
|
||||
// {
|
||||
// "title": "Issue",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "changelog": {
|
||||
// "title": "Changelog",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "histories": {
|
||||
// "title": "histories",
|
||||
// "type": "array",
|
||||
// "items": {
|
||||
// "title": "Change History",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "author": {
|
||||
// "title": "User",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "accountId": {
|
||||
// "title": "accountId",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "active": {
|
||||
// "title": "active",
|
||||
// "type": "boolean"
|
||||
// },
|
||||
// "avatarUrls": {
|
||||
// "title": "avatarUrls",
|
||||
// "type": "object",
|
||||
// "patternProperties": {
|
||||
// ".+": {
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "displayName": {
|
||||
// "title": "displayName",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "emailAddress": {
|
||||
// "title": "emailAddress",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "key": {
|
||||
// "title": "key",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "name": {
|
||||
// "title": "name",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "self": {
|
||||
// "title": "self",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "timeZone": {
|
||||
// "title": "timeZone",
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "created": {
|
||||
// "title": "created",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "historyMetadata": {
|
||||
// "title": "History Metadata",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "activityDescription": {
|
||||
// "title": "activityDescription",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "activityDescriptionKey": {
|
||||
// "title": "activityDescriptionKey",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "actor": {
|
||||
// "title": "History Metadata Participant",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "avatarUrl": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "displayName": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "displayNameKey": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "id": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "type": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "url": {
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "cause": {
|
||||
// "title": "History Metadata Participant",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "avatarUrl": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "displayName": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "displayNameKey": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "id": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "type": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "url": {
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "description": {
|
||||
// "title": "description",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "descriptionKey": {
|
||||
// "title": "descriptionKey",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "emailDescription": {
|
||||
// "title": "emailDescription",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "emailDescriptionKey": {
|
||||
// "title": "emailDescriptionKey",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "extraData": {
|
||||
// "title": "extraData",
|
||||
// "type": "object",
|
||||
// "patternProperties": {
|
||||
// ".+": {
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "generator": {
|
||||
// "title": "History Metadata Participant",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "avatarUrl": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "displayName": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "displayNameKey": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "id": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "type": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "url": {
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "type": {
|
||||
// "title": "type",
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "id": {
|
||||
// "title": "id",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "items": {
|
||||
// "title": "items",
|
||||
// "type": "array",
|
||||
// "items": {
|
||||
// "title": "Change Item",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "field": {
|
||||
// "title": "field",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "fieldId": {
|
||||
// "title": "fieldId",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "fieldtype": {
|
||||
// "title": "fieldtype",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "from": {
|
||||
// "title": "from",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "fromString": {
|
||||
// "title": "fromString",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "to": {
|
||||
// "title": "to",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "toString": {
|
||||
// "title": "toString",
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "maxResults": {
|
||||
// "title": "maxResults",
|
||||
// "type": "integer"
|
||||
// },
|
||||
// "startAt": {
|
||||
// "title": "startAt",
|
||||
// "type": "integer"
|
||||
// },
|
||||
// "total": {
|
||||
// "title": "total",
|
||||
// "type": "integer"
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "editmeta": {
|
||||
// "title": "Edit Meta",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "fields": {
|
||||
// "title": "fields",
|
||||
// "type": "object",
|
||||
// "patternProperties": {
|
||||
// ".+": {
|
||||
// "title": "Field Meta",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "allowedValues": {
|
||||
// "type": "array",
|
||||
// "items": {}
|
||||
// },
|
||||
// "autoCompleteUrl": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "defaultValue": {},
|
||||
// "hasDefaultValue": {
|
||||
// "type": "boolean"
|
||||
// },
|
||||
// "key": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "name": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "operations": {
|
||||
// "type": "array",
|
||||
// "items": {
|
||||
// "type": "string"
|
||||
// }
|
||||
// },
|
||||
// "required": {
|
||||
// "type": "boolean"
|
||||
// },
|
||||
// "schema": {
|
||||
// "$ref": "#/definitions/json-type"
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "expand": {
|
||||
// "title": "expand",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "fields": {
|
||||
// "title": "fields",
|
||||
// "type": "object",
|
||||
// "patternProperties": {
|
||||
// ".+": {}
|
||||
// }
|
||||
// },
|
||||
// "fieldsToInclude": {
|
||||
// "title": "Included Fields",
|
||||
// "type": "object"
|
||||
// },
|
||||
// "id": {
|
||||
// "title": "id",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "key": {
|
||||
// "title": "key",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "names": {
|
||||
// "title": "names",
|
||||
// "type": "object",
|
||||
// "patternProperties": {
|
||||
// ".+": {
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "operations": {
|
||||
// "title": "Opsbar",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "linkGroups": {
|
||||
// "title": "linkGroups",
|
||||
// "type": "array",
|
||||
// "items": {
|
||||
// "title": "Link Group",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "groups": {
|
||||
// "type": "array",
|
||||
// "items": {
|
||||
// "$ref": "#/definitions/link-group"
|
||||
// }
|
||||
// },
|
||||
// "header": {
|
||||
// "$ref": "#/definitions/simple-link"
|
||||
// },
|
||||
// "id": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "links": {
|
||||
// "type": "array",
|
||||
// "items": {
|
||||
// "$ref": "#/definitions/simple-link"
|
||||
// }
|
||||
// },
|
||||
// "styleClass": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "weight": {
|
||||
// "type": "integer"
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "properties": {
|
||||
// "title": "Properties",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "properties": {
|
||||
// "title": "properties",
|
||||
// "type": "object",
|
||||
// "patternProperties": {
|
||||
// ".+": {
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "renderedFields": {
|
||||
// "title": "renderedFields",
|
||||
// "type": "object",
|
||||
// "patternProperties": {
|
||||
// ".+": {}
|
||||
// }
|
||||
// },
|
||||
// "schema": {
|
||||
// "title": "schema",
|
||||
// "type": "object",
|
||||
// "patternProperties": {
|
||||
// ".+": {
|
||||
// "title": "Json Type",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "custom": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "customId": {
|
||||
// "type": "integer"
|
||||
// },
|
||||
// "items": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "system": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "type": {
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "self": {
|
||||
// "title": "self",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "transitions": {
|
||||
// "title": "transitions",
|
||||
// "type": "array",
|
||||
// "items": {
|
||||
// "title": "Transition",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "expand": {
|
||||
// "title": "expand",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "fields": {
|
||||
// "title": "fields",
|
||||
// "type": "object",
|
||||
// "patternProperties": {
|
||||
// ".+": {
|
||||
// "title": "Field Meta",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "allowedValues": {
|
||||
// "type": "array",
|
||||
// "items": {}
|
||||
// },
|
||||
// "autoCompleteUrl": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "defaultValue": {},
|
||||
// "hasDefaultValue": {
|
||||
// "type": "boolean"
|
||||
// },
|
||||
// "key": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "name": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "operations": {
|
||||
// "type": "array",
|
||||
// "items": {
|
||||
// "type": "string"
|
||||
// }
|
||||
// },
|
||||
// "required": {
|
||||
// "type": "boolean"
|
||||
// },
|
||||
// "schema": {
|
||||
// "$ref": "#/definitions/json-type"
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "hasScreen": {
|
||||
// "title": "hasScreen",
|
||||
// "type": "boolean"
|
||||
// },
|
||||
// "id": {
|
||||
// "title": "id",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "name": {
|
||||
// "title": "name",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "to": {
|
||||
// "title": "Status",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "description": {
|
||||
// "title": "description",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "iconUrl": {
|
||||
// "title": "iconUrl",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "id": {
|
||||
// "title": "id",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "name": {
|
||||
// "title": "name",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "self": {
|
||||
// "title": "self",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "statusCategory": {
|
||||
// "title": "Status Category",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "colorName": {
|
||||
// "title": "colorName",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "id": {
|
||||
// "title": "id",
|
||||
// "type": "integer"
|
||||
// },
|
||||
// "key": {
|
||||
// "title": "key",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "name": {
|
||||
// "title": "name",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "self": {
|
||||
// "title": "self",
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "statusColor": {
|
||||
// "title": "statusColor",
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "versionedRepresentations": {
|
||||
// "title": "versionedRepresentations",
|
||||
// "type": "object",
|
||||
// "patternProperties": {
|
||||
// ".+": {
|
||||
// "type": "object",
|
||||
// "patternProperties": {
|
||||
// ".+": {}
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
type Issue struct {
|
||||
Changelog *Changelog `json:"changelog,omitempty" yaml:"changelog,omitempty"`
|
||||
Editmeta *EditMeta `json:"editmeta,omitempty" yaml:"editmeta,omitempty"`
|
||||
Expand string `json:"expand,omitempty" yaml:"expand,omitempty"`
|
||||
Fields map[string]interface{} `json:"fields,omitempty" yaml:"fields,omitempty"`
|
||||
FieldsToInclude IncludedFields `json:"fieldsToInclude,omitempty" yaml:"fieldsToInclude,omitempty"`
|
||||
ID string `json:"id,omitempty" yaml:"id,omitempty"`
|
||||
Key string `json:"key,omitempty" yaml:"key,omitempty"`
|
||||
Names map[string]string `json:"names,omitempty" yaml:"names,omitempty"`
|
||||
Operations *Opsbar `json:"operations,omitempty" yaml:"operations,omitempty"`
|
||||
Properties *Properties `json:"properties,omitempty" yaml:"properties,omitempty"`
|
||||
RenderedFields map[string]interface{} `json:"renderedFields,omitempty" yaml:"renderedFields,omitempty"`
|
||||
Schema JSONTypeMap `json:"schema,omitempty" yaml:"schema,omitempty"`
|
||||
Self string `json:"self,omitempty" yaml:"self,omitempty"`
|
||||
Transitions Transitions `json:"transitions,omitempty" yaml:"transitions,omitempty"`
|
||||
VersionedRepresentations map[string]map[string]interface{} `json:"versionedRepresentations,omitempty" yaml:"versionedRepresentations,omitempty"`
|
||||
}
|
||||
@@ -0,0 +1,37 @@
|
||||
package jiradata
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// This Code is Generated by SlipScheme Project:
|
||||
// https://github.com/coryb/slipscheme
|
||||
//
|
||||
// Generated with command:
|
||||
// slipscheme -dir jiradata -pkg jiradata schemas/IssueCreateResponse.json
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// DO NOT EDIT //
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// IssueCreateResponse defined from schema:
|
||||
// {
|
||||
// "title": "Issue Create Response",
|
||||
// "id": "https://docs.atlassian.com/jira/REST/schema/issue-create-response#",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "id": {
|
||||
// "title": "id",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "key": {
|
||||
// "title": "key",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "self": {
|
||||
// "title": "self",
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
type IssueCreateResponse struct {
|
||||
ID string `json:"id,omitempty" yaml:"id,omitempty"`
|
||||
Key string `json:"key,omitempty" yaml:"key,omitempty"`
|
||||
Self string `json:"self,omitempty" yaml:"self,omitempty"`
|
||||
}
|
||||
@@ -0,0 +1,41 @@
|
||||
package jiradata
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// This Code is Generated by SlipScheme Project:
|
||||
// https://github.com/coryb/slipscheme
|
||||
//
|
||||
// Generated with command:
|
||||
// slipscheme -dir jiradata -pkg jiradata schemas/LinkIssueRequest.json
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// DO NOT EDIT //
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// IssueLinkType defined from schema:
|
||||
// {
|
||||
// "title": "Issue Link Type",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "id": {
|
||||
// "title": "id",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "inward": {
|
||||
// "title": "inward",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "name": {
|
||||
// "title": "name",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "outward": {
|
||||
// "title": "outward",
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
type IssueLinkType struct {
|
||||
ID string `json:"id,omitempty" yaml:"id,omitempty"`
|
||||
Inward string `json:"inward,omitempty" yaml:"inward,omitempty"`
|
||||
Name string `json:"name,omitempty" yaml:"name,omitempty"`
|
||||
Outward string `json:"outward,omitempty" yaml:"outward,omitempty"`
|
||||
}
|
||||
@@ -0,0 +1,123 @@
|
||||
package jiradata
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// This Code is Generated by SlipScheme Project:
|
||||
// https://github.com/coryb/slipscheme
|
||||
//
|
||||
// Generated with command:
|
||||
// slipscheme -dir jiradata -pkg jiradata schemas/LinkIssueRequest.json
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// DO NOT EDIT //
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// IssueRef defined from schema:
|
||||
// {
|
||||
// "title": "Issue Ref",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "fields": {
|
||||
// "title": "Fields",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "issuetype": {
|
||||
// "title": "Issue Type",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "avatarId": {
|
||||
// "type": "integer"
|
||||
// },
|
||||
// "description": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "iconUrl": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "id": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "name": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "subtask": {
|
||||
// "type": "boolean"
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "priority": {
|
||||
// "title": "Priority",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "description": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "iconUrl": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "id": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "name": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "statusColor": {
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "status": {
|
||||
// "title": "Status",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "description": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "iconUrl": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "id": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "name": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "statusCategory": {
|
||||
// "title": "Status Category",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "colorName": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "id": {
|
||||
// "type": "integer"
|
||||
// },
|
||||
// "key": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "name": {
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "statusColor": {
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "summary": {
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "id": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "key": {
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
type IssueRef struct {
|
||||
Fields *Fields `json:"fields,omitempty" yaml:"fields,omitempty"`
|
||||
ID string `json:"id,omitempty" yaml:"id,omitempty"`
|
||||
Key string `json:"key,omitempty" yaml:"key,omitempty"`
|
||||
}
|
||||
@@ -0,0 +1,56 @@
|
||||
package jiradata
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// This Code is Generated by SlipScheme Project:
|
||||
// https://github.com/coryb/slipscheme
|
||||
//
|
||||
// Generated with command:
|
||||
// slipscheme -dir jiradata -pkg jiradata schemas/Project.json
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// DO NOT EDIT //
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// IssueType defined from schema:
|
||||
// {
|
||||
// "title": "Issue Type",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "avatarId": {
|
||||
// "title": "avatarId",
|
||||
// "type": "integer"
|
||||
// },
|
||||
// "description": {
|
||||
// "title": "description",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "iconUrl": {
|
||||
// "title": "iconUrl",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "id": {
|
||||
// "title": "id",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "name": {
|
||||
// "title": "name",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "self": {
|
||||
// "title": "self",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "subtask": {
|
||||
// "title": "subtask",
|
||||
// "type": "boolean"
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
type IssueType struct {
|
||||
AvatarID int `json:"avatarId,omitempty" yaml:"avatarId,omitempty"`
|
||||
Description string `json:"description,omitempty" yaml:"description,omitempty"`
|
||||
IconURL string `json:"iconUrl,omitempty" yaml:"iconUrl,omitempty"`
|
||||
ID string `json:"id,omitempty" yaml:"id,omitempty"`
|
||||
Name string `json:"name,omitempty" yaml:"name,omitempty"`
|
||||
Self string `json:"self,omitempty" yaml:"self,omitempty"`
|
||||
Subtask bool `json:"subtask,omitempty" yaml:"subtask,omitempty"`
|
||||
}
|
||||
@@ -0,0 +1,344 @@
|
||||
package jiradata
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// This Code is Generated by SlipScheme Project:
|
||||
// https://github.com/coryb/slipscheme
|
||||
//
|
||||
// Generated with command:
|
||||
// slipscheme -pkg jiradata -dir jiradata -overwrite schemas/IssueUpdate.json
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// DO NOT EDIT //
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// IssueUpdate defined from schema:
|
||||
// {
|
||||
// "title": "Issue Update",
|
||||
// "id": "https://docs.atlassian.com/jira/REST/schema/issue-update#",
|
||||
// "type": "object",
|
||||
// "definitions": {
|
||||
// "history-metadata-participant": {
|
||||
// "title": "History Metadata Participant",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "avatarUrl": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "displayName": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "displayNameKey": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "id": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "type": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "url": {
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "properties": {
|
||||
// "fields": {
|
||||
// "title": "fields",
|
||||
// "type": "object",
|
||||
// "patternProperties": {
|
||||
// ".+": {}
|
||||
// }
|
||||
// },
|
||||
// "historyMetadata": {
|
||||
// "title": "History Metadata",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "activityDescription": {
|
||||
// "title": "activityDescription",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "activityDescriptionKey": {
|
||||
// "title": "activityDescriptionKey",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "actor": {
|
||||
// "title": "History Metadata Participant",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "avatarUrl": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "displayName": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "displayNameKey": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "id": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "type": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "url": {
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "cause": {
|
||||
// "title": "History Metadata Participant",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "avatarUrl": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "displayName": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "displayNameKey": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "id": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "type": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "url": {
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "description": {
|
||||
// "title": "description",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "descriptionKey": {
|
||||
// "title": "descriptionKey",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "emailDescription": {
|
||||
// "title": "emailDescription",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "emailDescriptionKey": {
|
||||
// "title": "emailDescriptionKey",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "extraData": {
|
||||
// "title": "extraData",
|
||||
// "type": "object",
|
||||
// "patternProperties": {
|
||||
// ".+": {
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "generator": {
|
||||
// "title": "History Metadata Participant",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "avatarUrl": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "displayName": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "displayNameKey": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "id": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "type": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "url": {
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "type": {
|
||||
// "title": "type",
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "properties": {
|
||||
// "title": "properties",
|
||||
// "type": "array",
|
||||
// "items": {
|
||||
// "title": "Entity Property",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "key": {
|
||||
// "title": "key",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "value": {
|
||||
// "title": "value"
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "transition": {
|
||||
// "title": "Transition",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "fields": {
|
||||
// "title": "fields",
|
||||
// "type": "object",
|
||||
// "patternProperties": {
|
||||
// ".+": {
|
||||
// "title": "Field Meta",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "allowedValues": {
|
||||
// "title": "allowedValues",
|
||||
// "type": "array",
|
||||
// "items": {}
|
||||
// },
|
||||
// "autoCompleteUrl": {
|
||||
// "title": "autoCompleteUrl",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "defaultValue": {
|
||||
// "title": "defaultValue"
|
||||
// },
|
||||
// "hasDefaultValue": {
|
||||
// "title": "hasDefaultValue",
|
||||
// "type": "boolean"
|
||||
// },
|
||||
// "key": {
|
||||
// "title": "key",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "name": {
|
||||
// "title": "name",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "operations": {
|
||||
// "title": "operations",
|
||||
// "type": "array",
|
||||
// "items": {
|
||||
// "type": "string"
|
||||
// }
|
||||
// },
|
||||
// "required": {
|
||||
// "title": "required",
|
||||
// "type": "boolean"
|
||||
// },
|
||||
// "schema": {
|
||||
// "title": "Json Type",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "custom": {
|
||||
// "title": "custom",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "customId": {
|
||||
// "title": "customId",
|
||||
// "type": "integer"
|
||||
// },
|
||||
// "items": {
|
||||
// "title": "items",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "system": {
|
||||
// "title": "system",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "type": {
|
||||
// "title": "type",
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "hasScreen": {
|
||||
// "title": "hasScreen",
|
||||
// "type": "boolean"
|
||||
// },
|
||||
// "id": {
|
||||
// "title": "id",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "name": {
|
||||
// "title": "name",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "to": {
|
||||
// "title": "Status",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "description": {
|
||||
// "title": "description",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "iconUrl": {
|
||||
// "title": "iconUrl",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "id": {
|
||||
// "title": "id",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "name": {
|
||||
// "title": "name",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "statusCategory": {
|
||||
// "title": "Status Category",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "colorName": {
|
||||
// "title": "colorName",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "id": {
|
||||
// "title": "id",
|
||||
// "type": "integer"
|
||||
// },
|
||||
// "key": {
|
||||
// "title": "key",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "name": {
|
||||
// "title": "name",
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "statusColor": {
|
||||
// "title": "statusColor",
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "update": {
|
||||
// "title": "update",
|
||||
// "type": "object",
|
||||
// "patternProperties": {
|
||||
// ".+": {
|
||||
// "type": "array",
|
||||
// "items": {
|
||||
// "title": "Field Operation",
|
||||
// "type": "object"
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
type IssueUpdate struct {
|
||||
Fields map[string]interface{} `json:"fields,omitempty" yaml:"fields,omitempty"`
|
||||
HistoryMetadata *HistoryMetadata `json:"historyMetadata,omitempty" yaml:"historyMetadata,omitempty"`
|
||||
Properties Properties `json:"properties,omitempty" yaml:"properties,omitempty"`
|
||||
Transition *Transition `json:"transition,omitempty" yaml:"transition,omitempty"`
|
||||
Update FieldOperationsMap `json:"update,omitempty" yaml:"update,omitempty"`
|
||||
}
|
||||
@@ -0,0 +1,567 @@
|
||||
package jiradata
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// This Code is Generated by SlipScheme Project:
|
||||
// https://github.com/coryb/slipscheme
|
||||
//
|
||||
// Generated with command:
|
||||
// slipscheme -dir data -pkg jiradata -overwrite schemas/SearchResults.json
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// DO NOT EDIT //
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// Issues defined from schema:
|
||||
// {
|
||||
// "title": "issues",
|
||||
// "type": "array",
|
||||
// "items": {
|
||||
// "title": "Issue",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "changelog": {
|
||||
// "title": "Changelog",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "histories": {
|
||||
// "title": "histories",
|
||||
// "type": "array",
|
||||
// "items": {
|
||||
// "title": "Change History",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "author": {
|
||||
// "title": "User",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "accountId": {
|
||||
// "title": "accountId",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "active": {
|
||||
// "title": "active",
|
||||
// "type": "boolean"
|
||||
// },
|
||||
// "avatarUrls": {
|
||||
// "title": "avatarUrls",
|
||||
// "type": "object",
|
||||
// "patternProperties": {
|
||||
// ".+": {
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "displayName": {
|
||||
// "title": "displayName",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "emailAddress": {
|
||||
// "title": "emailAddress",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "key": {
|
||||
// "title": "key",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "name": {
|
||||
// "title": "name",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "self": {
|
||||
// "title": "self",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "timeZone": {
|
||||
// "title": "timeZone",
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "created": {
|
||||
// "title": "created",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "historyMetadata": {
|
||||
// "title": "History Metadata",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "activityDescription": {
|
||||
// "title": "activityDescription",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "activityDescriptionKey": {
|
||||
// "title": "activityDescriptionKey",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "actor": {
|
||||
// "title": "History Metadata Participant",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "avatarUrl": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "displayName": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "displayNameKey": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "id": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "type": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "url": {
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "cause": {
|
||||
// "title": "History Metadata Participant",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "avatarUrl": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "displayName": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "displayNameKey": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "id": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "type": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "url": {
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "description": {
|
||||
// "title": "description",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "descriptionKey": {
|
||||
// "title": "descriptionKey",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "emailDescription": {
|
||||
// "title": "emailDescription",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "emailDescriptionKey": {
|
||||
// "title": "emailDescriptionKey",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "extraData": {
|
||||
// "title": "extraData",
|
||||
// "type": "object",
|
||||
// "patternProperties": {
|
||||
// ".+": {
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "generator": {
|
||||
// "title": "History Metadata Participant",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "avatarUrl": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "displayName": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "displayNameKey": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "id": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "type": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "url": {
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "type": {
|
||||
// "title": "type",
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "id": {
|
||||
// "title": "id",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "items": {
|
||||
// "title": "items",
|
||||
// "type": "array",
|
||||
// "items": {
|
||||
// "title": "Change Item",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "field": {
|
||||
// "title": "field",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "fieldId": {
|
||||
// "title": "fieldId",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "fieldtype": {
|
||||
// "title": "fieldtype",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "from": {
|
||||
// "title": "from",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "fromString": {
|
||||
// "title": "fromString",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "to": {
|
||||
// "title": "to",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "toString": {
|
||||
// "title": "toString",
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "maxResults": {
|
||||
// "title": "maxResults",
|
||||
// "type": "integer"
|
||||
// },
|
||||
// "startAt": {
|
||||
// "title": "startAt",
|
||||
// "type": "integer"
|
||||
// },
|
||||
// "total": {
|
||||
// "title": "total",
|
||||
// "type": "integer"
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "editmeta": {
|
||||
// "title": "Edit Meta",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "fields": {
|
||||
// "title": "fields",
|
||||
// "type": "object",
|
||||
// "patternProperties": {
|
||||
// ".+": {
|
||||
// "title": "Field Meta",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "allowedValues": {
|
||||
// "type": "array",
|
||||
// "items": {}
|
||||
// },
|
||||
// "autoCompleteUrl": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "defaultValue": {},
|
||||
// "hasDefaultValue": {
|
||||
// "type": "boolean"
|
||||
// },
|
||||
// "key": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "name": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "operations": {
|
||||
// "type": "array",
|
||||
// "items": {
|
||||
// "type": "string"
|
||||
// }
|
||||
// },
|
||||
// "required": {
|
||||
// "type": "boolean"
|
||||
// },
|
||||
// "schema": {
|
||||
// "$ref": "#/definitions/json-type"
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "expand": {
|
||||
// "title": "expand",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "fields": {
|
||||
// "title": "fields",
|
||||
// "type": "object",
|
||||
// "patternProperties": {
|
||||
// ".+": {}
|
||||
// }
|
||||
// },
|
||||
// "fieldsToInclude": {
|
||||
// "title": "Included Fields",
|
||||
// "type": "object"
|
||||
// },
|
||||
// "id": {
|
||||
// "title": "id",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "key": {
|
||||
// "title": "key",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "names": {
|
||||
// "title": "names",
|
||||
// "type": "object",
|
||||
// "patternProperties": {
|
||||
// ".+": {
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "operations": {
|
||||
// "title": "Opsbar",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "linkGroups": {
|
||||
// "title": "linkGroups",
|
||||
// "type": "array",
|
||||
// "items": {
|
||||
// "title": "Link Group",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "groups": {
|
||||
// "type": "array",
|
||||
// "items": {
|
||||
// "$ref": "#/definitions/link-group"
|
||||
// }
|
||||
// },
|
||||
// "header": {
|
||||
// "$ref": "#/definitions/simple-link"
|
||||
// },
|
||||
// "id": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "links": {
|
||||
// "type": "array",
|
||||
// "items": {
|
||||
// "$ref": "#/definitions/simple-link"
|
||||
// }
|
||||
// },
|
||||
// "styleClass": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "weight": {
|
||||
// "type": "integer"
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "properties": {
|
||||
// "title": "Properties",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "properties": {
|
||||
// "title": "properties",
|
||||
// "type": "object",
|
||||
// "patternProperties": {
|
||||
// ".+": {
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "renderedFields": {
|
||||
// "title": "renderedFields",
|
||||
// "type": "object",
|
||||
// "patternProperties": {
|
||||
// ".+": {}
|
||||
// }
|
||||
// },
|
||||
// "schema": {
|
||||
// "title": "schema",
|
||||
// "type": "object",
|
||||
// "patternProperties": {
|
||||
// ".+": {
|
||||
// "title": "Json Type",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "custom": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "customId": {
|
||||
// "type": "integer"
|
||||
// },
|
||||
// "items": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "system": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "type": {
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "self": {
|
||||
// "title": "self",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "transitions": {
|
||||
// "title": "transitions",
|
||||
// "type": "array",
|
||||
// "items": {
|
||||
// "title": "Transition",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "expand": {
|
||||
// "title": "expand",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "fields": {
|
||||
// "title": "fields",
|
||||
// "type": "object",
|
||||
// "patternProperties": {
|
||||
// ".+": {
|
||||
// "title": "Field Meta",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "allowedValues": {
|
||||
// "type": "array",
|
||||
// "items": {}
|
||||
// },
|
||||
// "autoCompleteUrl": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "defaultValue": {},
|
||||
// "hasDefaultValue": {
|
||||
// "type": "boolean"
|
||||
// },
|
||||
// "key": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "name": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "operations": {
|
||||
// "type": "array",
|
||||
// "items": {
|
||||
// "type": "string"
|
||||
// }
|
||||
// },
|
||||
// "required": {
|
||||
// "type": "boolean"
|
||||
// },
|
||||
// "schema": {
|
||||
// "$ref": "#/definitions/json-type"
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "hasScreen": {
|
||||
// "title": "hasScreen",
|
||||
// "type": "boolean"
|
||||
// },
|
||||
// "id": {
|
||||
// "title": "id",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "name": {
|
||||
// "title": "name",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "to": {
|
||||
// "title": "Status",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "description": {
|
||||
// "title": "description",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "iconUrl": {
|
||||
// "title": "iconUrl",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "id": {
|
||||
// "title": "id",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "name": {
|
||||
// "title": "name",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "self": {
|
||||
// "title": "self",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "statusCategory": {
|
||||
// "title": "Status Category",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "colorName": {
|
||||
// "title": "colorName",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "id": {
|
||||
// "title": "id",
|
||||
// "type": "integer"
|
||||
// },
|
||||
// "key": {
|
||||
// "title": "key",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "name": {
|
||||
// "title": "name",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "self": {
|
||||
// "title": "self",
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "statusColor": {
|
||||
// "title": "statusColor",
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "versionedRepresentations": {
|
||||
// "title": "versionedRepresentations",
|
||||
// "type": "object",
|
||||
// "patternProperties": {
|
||||
// ".+": {
|
||||
// "type": "object",
|
||||
// "patternProperties": {
|
||||
// ".+": {}
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
type Issues []*Issue
|
||||
@@ -0,0 +1,129 @@
|
||||
package jiradata
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// This Code is Generated by SlipScheme Project:
|
||||
// https://github.com/coryb/slipscheme
|
||||
//
|
||||
// Generated with command:
|
||||
// slipscheme -dir jiradata -pkg jiradata schemas/CreateMeta.json
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// DO NOT EDIT //
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// Issuetypes defined from schema:
|
||||
// {
|
||||
// "title": "issuetypes",
|
||||
// "type": "array",
|
||||
// "items": {
|
||||
// "title": "Create Meta Issue Type",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "avatarId": {
|
||||
// "title": "avatarId",
|
||||
// "type": "integer"
|
||||
// },
|
||||
// "description": {
|
||||
// "title": "description",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "expand": {
|
||||
// "title": "expand",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "fields": {
|
||||
// "title": "fields",
|
||||
// "type": "object",
|
||||
// "patternProperties": {
|
||||
// ".+": {
|
||||
// "title": "Field Meta",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "allowedValues": {
|
||||
// "title": "allowedValues",
|
||||
// "type": "array",
|
||||
// "items": {}
|
||||
// },
|
||||
// "autoCompleteUrl": {
|
||||
// "title": "autoCompleteUrl",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "defaultValue": {
|
||||
// "title": "defaultValue"
|
||||
// },
|
||||
// "hasDefaultValue": {
|
||||
// "title": "hasDefaultValue",
|
||||
// "type": "boolean"
|
||||
// },
|
||||
// "key": {
|
||||
// "title": "key",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "name": {
|
||||
// "title": "name",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "operations": {
|
||||
// "title": "operations",
|
||||
// "type": "array",
|
||||
// "items": {
|
||||
// "type": "string"
|
||||
// }
|
||||
// },
|
||||
// "required": {
|
||||
// "title": "required",
|
||||
// "type": "boolean"
|
||||
// },
|
||||
// "schema": {
|
||||
// "title": "Json Type",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "custom": {
|
||||
// "title": "custom",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "customId": {
|
||||
// "title": "customId",
|
||||
// "type": "integer"
|
||||
// },
|
||||
// "items": {
|
||||
// "title": "items",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "system": {
|
||||
// "title": "system",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "type": {
|
||||
// "title": "type",
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "iconUrl": {
|
||||
// "title": "iconUrl",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "id": {
|
||||
// "title": "id",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "name": {
|
||||
// "title": "name",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "self": {
|
||||
// "title": "self",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "subtask": {
|
||||
// "title": "subtask",
|
||||
// "type": "boolean"
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
type Issuetypes []*CreateMetaIssueType
|
||||
@@ -0,0 +1,52 @@
|
||||
package jiradata
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// This Code is Generated by SlipScheme Project:
|
||||
// https://github.com/coryb/slipscheme
|
||||
//
|
||||
// Generated with command:
|
||||
// slipscheme -dir data -pkg jiradata -overwrite schemas/SearchResults.json
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// DO NOT EDIT //
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// Items defined from schema:
|
||||
// {
|
||||
// "title": "items",
|
||||
// "type": "array",
|
||||
// "items": {
|
||||
// "title": "Change Item",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "field": {
|
||||
// "title": "field",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "fieldId": {
|
||||
// "title": "fieldId",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "fieldtype": {
|
||||
// "title": "fieldtype",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "from": {
|
||||
// "title": "from",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "fromString": {
|
||||
// "title": "fromString",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "to": {
|
||||
// "title": "to",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "toString": {
|
||||
// "title": "toString",
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
type Items []*ChangeItem
|
||||
@@ -0,0 +1,41 @@
|
||||
package jiradata
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// This Code is Generated by SlipScheme Project:
|
||||
// https://github.com/coryb/slipscheme
|
||||
//
|
||||
// Generated with command:
|
||||
// slipscheme -dir data -pkg jiradata -overwrite schemas/SearchResults.json
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// DO NOT EDIT //
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// JSONTypeMap defined from schema:
|
||||
// {
|
||||
// "title": "schema",
|
||||
// "type": "object",
|
||||
// "patternProperties": {
|
||||
// ".+": {
|
||||
// "title": "Json Type",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "custom": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "customId": {
|
||||
// "type": "integer"
|
||||
// },
|
||||
// "items": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "system": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "type": {
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
type JSONTypeMap map[string]*JSONType
|
||||
@@ -0,0 +1,46 @@
|
||||
package jiradata
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// This Code is Generated by SlipScheme Project:
|
||||
// https://github.com/coryb/slipscheme
|
||||
//
|
||||
// Generated with command:
|
||||
// slipscheme -pkg jiradata -dir jiradata -overwrite schemas/IssueUpdate.json
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// DO NOT EDIT //
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// JSONType defined from schema:
|
||||
// {
|
||||
// "title": "Json Type",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "custom": {
|
||||
// "title": "custom",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "customId": {
|
||||
// "title": "customId",
|
||||
// "type": "integer"
|
||||
// },
|
||||
// "items": {
|
||||
// "title": "items",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "system": {
|
||||
// "title": "system",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "type": {
|
||||
// "title": "type",
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
type JSONType struct {
|
||||
Custom string `json:"custom,omitempty" yaml:"custom,omitempty"`
|
||||
CustomID int `json:"customId,omitempty" yaml:"customId,omitempty"`
|
||||
Items string `json:"items,omitempty" yaml:"items,omitempty"`
|
||||
System string `json:"system,omitempty" yaml:"system,omitempty"`
|
||||
Type string `json:"type,omitempty" yaml:"type,omitempty"`
|
||||
}
|
||||
@@ -0,0 +1,51 @@
|
||||
package jiradata
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// This Code is Generated by SlipScheme Project:
|
||||
// https://github.com/coryb/slipscheme
|
||||
//
|
||||
// Generated with command:
|
||||
// slipscheme -dir data -pkg jiradata -overwrite schemas/SearchResults.json
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// DO NOT EDIT //
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// LinkGroup defined from schema:
|
||||
// {
|
||||
// "title": "Link Group",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "groups": {
|
||||
// "type": "array",
|
||||
// "items": {
|
||||
// "$ref": "#/definitions/link-group"
|
||||
// }
|
||||
// },
|
||||
// "header": {
|
||||
// "$ref": "#/definitions/simple-link"
|
||||
// },
|
||||
// "id": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "links": {
|
||||
// "type": "array",
|
||||
// "items": {
|
||||
// "$ref": "#/definitions/simple-link"
|
||||
// }
|
||||
// },
|
||||
// "styleClass": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "weight": {
|
||||
// "type": "integer"
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
type LinkGroup struct {
|
||||
Groups []interface{} `json:"groups,omitempty" yaml:"groups,omitempty"`
|
||||
Header interface{} `json:"header,omitempty" yaml:"header,omitempty"`
|
||||
ID string `json:"id,omitempty" yaml:"id,omitempty"`
|
||||
Links []interface{} `json:"links,omitempty" yaml:"links,omitempty"`
|
||||
StyleClass string `json:"styleClass,omitempty" yaml:"styleClass,omitempty"`
|
||||
Weight int `json:"weight,omitempty" yaml:"weight,omitempty"`
|
||||
}
|
||||
@@ -0,0 +1,48 @@
|
||||
package jiradata
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// This Code is Generated by SlipScheme Project:
|
||||
// https://github.com/coryb/slipscheme
|
||||
//
|
||||
// Generated with command:
|
||||
// slipscheme -dir data -pkg jiradata -overwrite schemas/SearchResults.json
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// DO NOT EDIT //
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// LinkGroups defined from schema:
|
||||
// {
|
||||
// "title": "linkGroups",
|
||||
// "type": "array",
|
||||
// "items": {
|
||||
// "title": "Link Group",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "groups": {
|
||||
// "type": "array",
|
||||
// "items": {
|
||||
// "$ref": "#/definitions/link-group"
|
||||
// }
|
||||
// },
|
||||
// "header": {
|
||||
// "$ref": "#/definitions/simple-link"
|
||||
// },
|
||||
// "id": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "links": {
|
||||
// "type": "array",
|
||||
// "items": {
|
||||
// "$ref": "#/definitions/simple-link"
|
||||
// }
|
||||
// },
|
||||
// "styleClass": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "weight": {
|
||||
// "type": "integer"
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
type LinkGroups []*LinkGroup
|
||||
@@ -0,0 +1,527 @@
|
||||
package jiradata
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// This Code is Generated by SlipScheme Project:
|
||||
// https://github.com/coryb/slipscheme
|
||||
//
|
||||
// Generated with command:
|
||||
// slipscheme -dir jiradata -pkg jiradata schemas/LinkIssueRequest.json
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// DO NOT EDIT //
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// LinkIssueRequest defined from schema:
|
||||
// {
|
||||
// "title": "Link Issue Request",
|
||||
// "id": "https://docs.atlassian.com/jira/REST/schema/link-issue-request#",
|
||||
// "type": "object",
|
||||
// "definitions": {
|
||||
// "issue-ref": {
|
||||
// "title": "Issue Ref",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "fields": {
|
||||
// "title": "Fields",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "issuetype": {
|
||||
// "title": "Issue Type",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "avatarId": {
|
||||
// "type": "integer"
|
||||
// },
|
||||
// "description": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "iconUrl": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "id": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "name": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "subtask": {
|
||||
// "type": "boolean"
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "priority": {
|
||||
// "title": "Priority",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "description": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "iconUrl": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "id": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "name": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "statusColor": {
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "status": {
|
||||
// "title": "Status",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "description": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "iconUrl": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "id": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "name": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "statusCategory": {
|
||||
// "title": "Status Category",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "colorName": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "id": {
|
||||
// "type": "integer"
|
||||
// },
|
||||
// "key": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "name": {
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "statusColor": {
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "summary": {
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "id": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "key": {
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "user": {
|
||||
// "title": "User",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "accountId": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "active": {
|
||||
// "type": "boolean"
|
||||
// },
|
||||
// "avatarUrls": {
|
||||
// "type": "object",
|
||||
// "patternProperties": {
|
||||
// ".+": {
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "displayName": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "emailAddress": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "key": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "name": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "timeZone": {
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "properties": {
|
||||
// "comment": {
|
||||
// "title": "Comment",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "author": {
|
||||
// "title": "User",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "accountId": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "active": {
|
||||
// "type": "boolean"
|
||||
// },
|
||||
// "avatarUrls": {
|
||||
// "type": "object",
|
||||
// "patternProperties": {
|
||||
// ".+": {
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "displayName": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "emailAddress": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "key": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "name": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "timeZone": {
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "body": {
|
||||
// "title": "body",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "created": {
|
||||
// "title": "created",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "id": {
|
||||
// "title": "id",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "properties": {
|
||||
// "title": "properties",
|
||||
// "type": "array",
|
||||
// "items": {
|
||||
// "title": "Entity Property",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "key": {
|
||||
// "title": "key",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "value": {
|
||||
// "title": "value"
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "renderedBody": {
|
||||
// "title": "renderedBody",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "updateAuthor": {
|
||||
// "title": "User",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "accountId": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "active": {
|
||||
// "type": "boolean"
|
||||
// },
|
||||
// "avatarUrls": {
|
||||
// "type": "object",
|
||||
// "patternProperties": {
|
||||
// ".+": {
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "displayName": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "emailAddress": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "key": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "name": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "timeZone": {
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "updated": {
|
||||
// "title": "updated",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "visibility": {
|
||||
// "title": "Visibility",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "type": {
|
||||
// "title": "type",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "value": {
|
||||
// "title": "value",
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "inwardIssue": {
|
||||
// "title": "Issue Ref",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "fields": {
|
||||
// "title": "Fields",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "issuetype": {
|
||||
// "title": "Issue Type",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "avatarId": {
|
||||
// "type": "integer"
|
||||
// },
|
||||
// "description": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "iconUrl": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "id": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "name": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "subtask": {
|
||||
// "type": "boolean"
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "priority": {
|
||||
// "title": "Priority",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "description": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "iconUrl": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "id": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "name": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "statusColor": {
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "status": {
|
||||
// "title": "Status",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "description": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "iconUrl": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "id": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "name": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "statusCategory": {
|
||||
// "title": "Status Category",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "colorName": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "id": {
|
||||
// "type": "integer"
|
||||
// },
|
||||
// "key": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "name": {
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "statusColor": {
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "summary": {
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "id": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "key": {
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "outwardIssue": {
|
||||
// "title": "Issue Ref",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "fields": {
|
||||
// "title": "Fields",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "issuetype": {
|
||||
// "title": "Issue Type",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "avatarId": {
|
||||
// "type": "integer"
|
||||
// },
|
||||
// "description": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "iconUrl": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "id": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "name": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "subtask": {
|
||||
// "type": "boolean"
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "priority": {
|
||||
// "title": "Priority",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "description": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "iconUrl": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "id": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "name": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "statusColor": {
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "status": {
|
||||
// "title": "Status",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "description": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "iconUrl": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "id": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "name": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "statusCategory": {
|
||||
// "title": "Status Category",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "colorName": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "id": {
|
||||
// "type": "integer"
|
||||
// },
|
||||
// "key": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "name": {
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "statusColor": {
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "summary": {
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "id": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "key": {
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "type": {
|
||||
// "title": "Issue Link Type",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "id": {
|
||||
// "title": "id",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "inward": {
|
||||
// "title": "inward",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "name": {
|
||||
// "title": "name",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "outward": {
|
||||
// "title": "outward",
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
type LinkIssueRequest struct {
|
||||
Comment *Comment `json:"comment,omitempty" yaml:"comment,omitempty"`
|
||||
InwardIssue *IssueRef `json:"inwardIssue,omitempty" yaml:"inwardIssue,omitempty"`
|
||||
OutwardIssue *IssueRef `json:"outwardIssue,omitempty" yaml:"outwardIssue,omitempty"`
|
||||
Type *IssueLinkType `json:"type,omitempty" yaml:"type,omitempty"`
|
||||
}
|
||||
@@ -0,0 +1,41 @@
|
||||
package jiradata
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// This Code is Generated by SlipScheme Project:
|
||||
// https://github.com/coryb/slipscheme
|
||||
//
|
||||
// Generated with command:
|
||||
// slipscheme -pkg jiradata -dir data schemas/CurrentUser.json
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// DO NOT EDIT //
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// LoginInfo defined from schema:
|
||||
// {
|
||||
// "title": "Login Info",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "failedLoginCount": {
|
||||
// "title": "failedLoginCount",
|
||||
// "type": "integer"
|
||||
// },
|
||||
// "lastFailedLoginTime": {
|
||||
// "title": "lastFailedLoginTime",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "loginCount": {
|
||||
// "title": "loginCount",
|
||||
// "type": "integer"
|
||||
// },
|
||||
// "previousLoginTime": {
|
||||
// "title": "previousLoginTime",
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
type LoginInfo struct {
|
||||
FailedLoginCount int `json:"failedLoginCount,omitempty" yaml:"failedLoginCount,omitempty"`
|
||||
LastFailedLoginTime string `json:"lastFailedLoginTime,omitempty" yaml:"lastFailedLoginTime,omitempty"`
|
||||
LoginCount int `json:"loginCount,omitempty" yaml:"loginCount,omitempty"`
|
||||
PreviousLoginTime string `json:"previousLoginTime,omitempty" yaml:"previousLoginTime,omitempty"`
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
package jiradata
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// This Code is Generated by SlipScheme Project:
|
||||
// https://github.com/coryb/slipscheme
|
||||
//
|
||||
// Generated with command:
|
||||
// slipscheme -pkg jiradata -dir jiradata -overwrite schemas/IssueUpdate.json
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// DO NOT EDIT //
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// Operations defined from schema:
|
||||
// {
|
||||
// "title": "operations",
|
||||
// "type": "array",
|
||||
// "items": {
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
type Operations []string
|
||||
@@ -0,0 +1,56 @@
|
||||
package jiradata
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// This Code is Generated by SlipScheme Project:
|
||||
// https://github.com/coryb/slipscheme
|
||||
//
|
||||
// Generated with command:
|
||||
// slipscheme -dir data -pkg jiradata -overwrite schemas/SearchResults.json
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// DO NOT EDIT //
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// Opsbar defined from schema:
|
||||
// {
|
||||
// "title": "Opsbar",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "linkGroups": {
|
||||
// "title": "linkGroups",
|
||||
// "type": "array",
|
||||
// "items": {
|
||||
// "title": "Link Group",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "groups": {
|
||||
// "type": "array",
|
||||
// "items": {
|
||||
// "$ref": "#/definitions/link-group"
|
||||
// }
|
||||
// },
|
||||
// "header": {
|
||||
// "$ref": "#/definitions/simple-link"
|
||||
// },
|
||||
// "id": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "links": {
|
||||
// "type": "array",
|
||||
// "items": {
|
||||
// "$ref": "#/definitions/simple-link"
|
||||
// }
|
||||
// },
|
||||
// "styleClass": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "weight": {
|
||||
// "type": "integer"
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
type Opsbar struct {
|
||||
LinkGroups LinkGroups `json:"linkGroups,omitempty" yaml:"linkGroups,omitempty"`
|
||||
}
|
||||
@@ -0,0 +1,41 @@
|
||||
package jiradata
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// This Code is Generated by SlipScheme Project:
|
||||
// https://github.com/coryb/slipscheme
|
||||
//
|
||||
// Generated with command:
|
||||
// slipscheme -dir jiradata -pkg jiradata schemas/LinkIssueRequest.json
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// DO NOT EDIT //
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// Priority defined from schema:
|
||||
// {
|
||||
// "title": "Priority",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "description": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "iconUrl": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "id": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "name": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "statusColor": {
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
type Priority struct {
|
||||
Description string `json:"description,omitempty" yaml:"description,omitempty"`
|
||||
IconURL string `json:"iconUrl,omitempty" yaml:"iconUrl,omitempty"`
|
||||
ID string `json:"id,omitempty" yaml:"id,omitempty"`
|
||||
Name string `json:"name,omitempty" yaml:"name,omitempty"`
|
||||
StatusColor string `json:"statusColor,omitempty" yaml:"statusColor,omitempty"`
|
||||
}
|
||||
@@ -0,0 +1,41 @@
|
||||
package jiradata
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// This Code is Generated by SlipScheme Project:
|
||||
// https://github.com/coryb/slipscheme
|
||||
//
|
||||
// Generated with command:
|
||||
// slipscheme -dir jiradata -pkg jiradata schemas/Project.json
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// DO NOT EDIT //
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// ProjectCategory defined from schema:
|
||||
// {
|
||||
// "title": "Project Category",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "description": {
|
||||
// "title": "description",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "id": {
|
||||
// "title": "id",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "name": {
|
||||
// "title": "name",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "self": {
|
||||
// "title": "self",
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
type ProjectCategory struct {
|
||||
Description string `json:"description,omitempty" yaml:"description,omitempty"`
|
||||
ID string `json:"id,omitempty" yaml:"id,omitempty"`
|
||||
Name string `json:"name,omitempty" yaml:"name,omitempty"`
|
||||
Self string `json:"self,omitempty" yaml:"self,omitempty"`
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
package jiradata
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// This Code is Generated by SlipScheme Project:
|
||||
// https://github.com/coryb/slipscheme
|
||||
//
|
||||
// Generated with command:
|
||||
// slipscheme -dir jiradata -pkg jiradata schemas/Project.json
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// DO NOT EDIT //
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// ProjectKeys defined from schema:
|
||||
// {
|
||||
// "title": "projectKeys",
|
||||
// "type": "array",
|
||||
// "items": {
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
type ProjectKeys []string
|
||||
@@ -0,0 +1,168 @@
|
||||
package jiradata
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// This Code is Generated by SlipScheme Project:
|
||||
// https://github.com/coryb/slipscheme
|
||||
//
|
||||
// Generated with command:
|
||||
// slipscheme -dir jiradata -pkg jiradata schemas/CreateMeta.json
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// DO NOT EDIT //
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// Projects defined from schema:
|
||||
// {
|
||||
// "title": "projects",
|
||||
// "type": "array",
|
||||
// "items": {
|
||||
// "title": "Create Meta Project",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "avatarUrls": {
|
||||
// "title": "avatarUrls",
|
||||
// "type": "object",
|
||||
// "patternProperties": {
|
||||
// ".+": {
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "expand": {
|
||||
// "title": "expand",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "id": {
|
||||
// "title": "id",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "issuetypes": {
|
||||
// "title": "issuetypes",
|
||||
// "type": "array",
|
||||
// "items": {
|
||||
// "title": "Create Meta Issue Type",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "avatarId": {
|
||||
// "title": "avatarId",
|
||||
// "type": "integer"
|
||||
// },
|
||||
// "description": {
|
||||
// "title": "description",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "expand": {
|
||||
// "title": "expand",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "fields": {
|
||||
// "title": "fields",
|
||||
// "type": "object",
|
||||
// "patternProperties": {
|
||||
// ".+": {
|
||||
// "title": "Field Meta",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "allowedValues": {
|
||||
// "title": "allowedValues",
|
||||
// "type": "array",
|
||||
// "items": {}
|
||||
// },
|
||||
// "autoCompleteUrl": {
|
||||
// "title": "autoCompleteUrl",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "defaultValue": {
|
||||
// "title": "defaultValue"
|
||||
// },
|
||||
// "hasDefaultValue": {
|
||||
// "title": "hasDefaultValue",
|
||||
// "type": "boolean"
|
||||
// },
|
||||
// "key": {
|
||||
// "title": "key",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "name": {
|
||||
// "title": "name",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "operations": {
|
||||
// "title": "operations",
|
||||
// "type": "array",
|
||||
// "items": {
|
||||
// "type": "string"
|
||||
// }
|
||||
// },
|
||||
// "required": {
|
||||
// "title": "required",
|
||||
// "type": "boolean"
|
||||
// },
|
||||
// "schema": {
|
||||
// "title": "Json Type",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "custom": {
|
||||
// "title": "custom",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "customId": {
|
||||
// "title": "customId",
|
||||
// "type": "integer"
|
||||
// },
|
||||
// "items": {
|
||||
// "title": "items",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "system": {
|
||||
// "title": "system",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "type": {
|
||||
// "title": "type",
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "iconUrl": {
|
||||
// "title": "iconUrl",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "id": {
|
||||
// "title": "id",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "name": {
|
||||
// "title": "name",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "self": {
|
||||
// "title": "self",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "subtask": {
|
||||
// "title": "subtask",
|
||||
// "type": "boolean"
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "key": {
|
||||
// "title": "key",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "name": {
|
||||
// "title": "name",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "self": {
|
||||
// "title": "self",
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
type Projects []*CreateMetaProject
|
||||
@@ -0,0 +1,31 @@
|
||||
package jiradata
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// This Code is Generated by SlipScheme Project:
|
||||
// https://github.com/coryb/slipscheme
|
||||
//
|
||||
// Generated with command:
|
||||
// slipscheme -pkg jiradata -dir jiradata -overwrite schemas/IssueUpdate.json
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// DO NOT EDIT //
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// Properties defined from schema:
|
||||
// {
|
||||
// "title": "properties",
|
||||
// "type": "array",
|
||||
// "items": {
|
||||
// "title": "Entity Property",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "key": {
|
||||
// "title": "key",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "value": {
|
||||
// "title": "value"
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
type Properties []*EntityProperty
|
||||
@@ -0,0 +1,35 @@
|
||||
package jiradata
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// This Code is Generated by SlipScheme Project:
|
||||
// https://github.com/coryb/slipscheme
|
||||
//
|
||||
// Generated with command:
|
||||
// slipscheme -dir jiradata -pkg jiradata schemas/Project.json
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// DO NOT EDIT //
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// RemoteEntityLink defined from schema:
|
||||
// {
|
||||
// "title": "Remote Entity Link",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "link": {
|
||||
// "title": "link"
|
||||
// },
|
||||
// "name": {
|
||||
// "title": "name",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "self": {
|
||||
// "title": "self",
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
type RemoteEntityLink struct {
|
||||
Link interface{} `json:"link,omitempty" yaml:"link,omitempty"`
|
||||
Name string `json:"name,omitempty" yaml:"name,omitempty"`
|
||||
Self string `json:"self,omitempty" yaml:"self,omitempty"`
|
||||
}
|
||||
@@ -0,0 +1,35 @@
|
||||
package jiradata
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// This Code is Generated by SlipScheme Project:
|
||||
// https://github.com/coryb/slipscheme
|
||||
//
|
||||
// Generated with command:
|
||||
// slipscheme -dir jiradata -pkg jiradata schemas/Project.json
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// DO NOT EDIT //
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// Remotelinks defined from schema:
|
||||
// {
|
||||
// "title": "remotelinks",
|
||||
// "type": "array",
|
||||
// "items": {
|
||||
// "title": "Remote Entity Link",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "link": {
|
||||
// "title": "link"
|
||||
// },
|
||||
// "name": {
|
||||
// "title": "name",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "self": {
|
||||
// "title": "self",
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
type Remotelinks []*RemoteEntityLink
|
||||
@@ -0,0 +1,63 @@
|
||||
package jiradata
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// This Code is Generated by SlipScheme Project:
|
||||
// https://github.com/coryb/slipscheme
|
||||
//
|
||||
// Generated with command:
|
||||
// slipscheme -dir data -pkg jiradata -overwrite schemas/SearchRequest.json
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// DO NOT EDIT //
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// SearchRequest defined from schema:
|
||||
// {
|
||||
// "title": "Search Request",
|
||||
// "id": "https://docs.atlassian.com/jira/REST/schema/search-request#",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "fields": {
|
||||
// "title": "fields",
|
||||
// "type": "array",
|
||||
// "items": {
|
||||
// "type": "string"
|
||||
// }
|
||||
// },
|
||||
// "fieldsByKeys": {
|
||||
// "title": "fieldsByKeys",
|
||||
// "type": "boolean"
|
||||
// },
|
||||
// "jql": {
|
||||
// "title": "jql",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "maxResults": {
|
||||
// "title": "maxResults",
|
||||
// "type": "integer"
|
||||
// },
|
||||
// "properties": {
|
||||
// "title": "properties",
|
||||
// "type": "array",
|
||||
// "items": {
|
||||
// "type": "string"
|
||||
// }
|
||||
// },
|
||||
// "startAt": {
|
||||
// "title": "startAt",
|
||||
// "type": "integer"
|
||||
// },
|
||||
// "validateQuery": {
|
||||
// "title": "validateQuery",
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
type SearchRequest struct {
|
||||
Fields Fields `json:"fields,omitempty" yaml:"fields,omitempty"`
|
||||
FieldsByKeys bool `json:"fieldsByKeys,omitempty" yaml:"fieldsByKeys,omitempty"`
|
||||
JQL string `json:"jql,omitempty" yaml:"jql,omitempty"`
|
||||
MaxResults int `json:"maxResults,omitempty" yaml:"maxResults,omitempty"`
|
||||
Properties Properties `json:"properties,omitempty" yaml:"properties,omitempty"`
|
||||
StartAt int `json:"startAt,omitempty" yaml:"startAt,omitempty"`
|
||||
ValidateQuery string `json:"validateQuery,omitempty" yaml:"validateQuery,omitempty"`
|
||||
}
|
||||
@@ -0,0 +1,781 @@
|
||||
package jiradata
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// This Code is Generated by SlipScheme Project:
|
||||
// https://github.com/coryb/slipscheme
|
||||
//
|
||||
// Generated with command:
|
||||
// slipscheme -dir data -pkg jiradata -overwrite schemas/SearchResults.json
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// DO NOT EDIT //
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// SearchResults defined from schema:
|
||||
// {
|
||||
// "title": "Search Results",
|
||||
// "id": "https://docs.atlassian.com/jira/REST/schema/search-results#",
|
||||
// "type": "object",
|
||||
// "definitions": {
|
||||
// "field-meta": {
|
||||
// "title": "Field Meta",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "allowedValues": {
|
||||
// "type": "array",
|
||||
// "items": {}
|
||||
// },
|
||||
// "autoCompleteUrl": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "defaultValue": {},
|
||||
// "hasDefaultValue": {
|
||||
// "type": "boolean"
|
||||
// },
|
||||
// "key": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "name": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "operations": {
|
||||
// "type": "array",
|
||||
// "items": {
|
||||
// "type": "string"
|
||||
// }
|
||||
// },
|
||||
// "required": {
|
||||
// "type": "boolean"
|
||||
// },
|
||||
// "schema": {
|
||||
// "$ref": "#/definitions/json-type"
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "history-metadata-participant": {
|
||||
// "title": "History Metadata Participant",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "avatarUrl": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "displayName": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "displayNameKey": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "id": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "type": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "url": {
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "json-type": {
|
||||
// "title": "Json Type",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "custom": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "customId": {
|
||||
// "type": "integer"
|
||||
// },
|
||||
// "items": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "system": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "type": {
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "link-group": {
|
||||
// "title": "Link Group",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "groups": {
|
||||
// "type": "array",
|
||||
// "items": {
|
||||
// "$ref": "#/definitions/link-group"
|
||||
// }
|
||||
// },
|
||||
// "header": {
|
||||
// "$ref": "#/definitions/simple-link"
|
||||
// },
|
||||
// "id": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "links": {
|
||||
// "type": "array",
|
||||
// "items": {
|
||||
// "$ref": "#/definitions/simple-link"
|
||||
// }
|
||||
// },
|
||||
// "styleClass": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "weight": {
|
||||
// "type": "integer"
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "simple-link": {
|
||||
// "title": "Simple Link",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "href": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "iconClass": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "id": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "label": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "styleClass": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "title": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "weight": {
|
||||
// "type": "integer"
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "properties": {
|
||||
// "expand": {
|
||||
// "title": "expand",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "issues": {
|
||||
// "title": "issues",
|
||||
// "type": "array",
|
||||
// "items": {
|
||||
// "title": "Issue",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "changelog": {
|
||||
// "title": "Changelog",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "histories": {
|
||||
// "title": "histories",
|
||||
// "type": "array",
|
||||
// "items": {
|
||||
// "title": "Change History",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "author": {
|
||||
// "title": "User",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "accountId": {
|
||||
// "title": "accountId",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "active": {
|
||||
// "title": "active",
|
||||
// "type": "boolean"
|
||||
// },
|
||||
// "avatarUrls": {
|
||||
// "title": "avatarUrls",
|
||||
// "type": "object",
|
||||
// "patternProperties": {
|
||||
// ".+": {
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "displayName": {
|
||||
// "title": "displayName",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "emailAddress": {
|
||||
// "title": "emailAddress",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "key": {
|
||||
// "title": "key",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "name": {
|
||||
// "title": "name",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "self": {
|
||||
// "title": "self",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "timeZone": {
|
||||
// "title": "timeZone",
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "created": {
|
||||
// "title": "created",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "historyMetadata": {
|
||||
// "title": "History Metadata",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "activityDescription": {
|
||||
// "title": "activityDescription",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "activityDescriptionKey": {
|
||||
// "title": "activityDescriptionKey",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "actor": {
|
||||
// "title": "History Metadata Participant",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "avatarUrl": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "displayName": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "displayNameKey": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "id": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "type": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "url": {
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "cause": {
|
||||
// "title": "History Metadata Participant",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "avatarUrl": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "displayName": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "displayNameKey": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "id": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "type": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "url": {
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "description": {
|
||||
// "title": "description",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "descriptionKey": {
|
||||
// "title": "descriptionKey",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "emailDescription": {
|
||||
// "title": "emailDescription",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "emailDescriptionKey": {
|
||||
// "title": "emailDescriptionKey",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "extraData": {
|
||||
// "title": "extraData",
|
||||
// "type": "object",
|
||||
// "patternProperties": {
|
||||
// ".+": {
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "generator": {
|
||||
// "title": "History Metadata Participant",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "avatarUrl": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "displayName": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "displayNameKey": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "id": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "type": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "url": {
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "type": {
|
||||
// "title": "type",
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "id": {
|
||||
// "title": "id",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "items": {
|
||||
// "title": "items",
|
||||
// "type": "array",
|
||||
// "items": {
|
||||
// "title": "Change Item",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "field": {
|
||||
// "title": "field",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "fieldId": {
|
||||
// "title": "fieldId",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "fieldtype": {
|
||||
// "title": "fieldtype",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "from": {
|
||||
// "title": "from",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "fromString": {
|
||||
// "title": "fromString",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "to": {
|
||||
// "title": "to",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "toString": {
|
||||
// "title": "toString",
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "maxResults": {
|
||||
// "title": "maxResults",
|
||||
// "type": "integer"
|
||||
// },
|
||||
// "startAt": {
|
||||
// "title": "startAt",
|
||||
// "type": "integer"
|
||||
// },
|
||||
// "total": {
|
||||
// "title": "total",
|
||||
// "type": "integer"
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "editmeta": {
|
||||
// "title": "Edit Meta",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "fields": {
|
||||
// "title": "fields",
|
||||
// "type": "object",
|
||||
// "patternProperties": {
|
||||
// ".+": {
|
||||
// "title": "Field Meta",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "allowedValues": {
|
||||
// "type": "array",
|
||||
// "items": {}
|
||||
// },
|
||||
// "autoCompleteUrl": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "defaultValue": {},
|
||||
// "hasDefaultValue": {
|
||||
// "type": "boolean"
|
||||
// },
|
||||
// "key": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "name": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "operations": {
|
||||
// "type": "array",
|
||||
// "items": {
|
||||
// "type": "string"
|
||||
// }
|
||||
// },
|
||||
// "required": {
|
||||
// "type": "boolean"
|
||||
// },
|
||||
// "schema": {
|
||||
// "$ref": "#/definitions/json-type"
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "expand": {
|
||||
// "title": "expand",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "fields": {
|
||||
// "title": "fields",
|
||||
// "type": "object",
|
||||
// "patternProperties": {
|
||||
// ".+": {}
|
||||
// }
|
||||
// },
|
||||
// "fieldsToInclude": {
|
||||
// "title": "Included Fields",
|
||||
// "type": "object"
|
||||
// },
|
||||
// "id": {
|
||||
// "title": "id",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "key": {
|
||||
// "title": "key",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "names": {
|
||||
// "title": "names",
|
||||
// "type": "object",
|
||||
// "patternProperties": {
|
||||
// ".+": {
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "operations": {
|
||||
// "title": "Opsbar",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "linkGroups": {
|
||||
// "title": "linkGroups",
|
||||
// "type": "array",
|
||||
// "items": {
|
||||
// "title": "Link Group",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "groups": {
|
||||
// "type": "array",
|
||||
// "items": {
|
||||
// "$ref": "#/definitions/link-group"
|
||||
// }
|
||||
// },
|
||||
// "header": {
|
||||
// "$ref": "#/definitions/simple-link"
|
||||
// },
|
||||
// "id": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "links": {
|
||||
// "type": "array",
|
||||
// "items": {
|
||||
// "$ref": "#/definitions/simple-link"
|
||||
// }
|
||||
// },
|
||||
// "styleClass": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "weight": {
|
||||
// "type": "integer"
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "properties": {
|
||||
// "title": "Properties",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "properties": {
|
||||
// "title": "properties",
|
||||
// "type": "object",
|
||||
// "patternProperties": {
|
||||
// ".+": {
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "renderedFields": {
|
||||
// "title": "renderedFields",
|
||||
// "type": "object",
|
||||
// "patternProperties": {
|
||||
// ".+": {}
|
||||
// }
|
||||
// },
|
||||
// "schema": {
|
||||
// "title": "schema",
|
||||
// "type": "object",
|
||||
// "patternProperties": {
|
||||
// ".+": {
|
||||
// "title": "Json Type",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "custom": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "customId": {
|
||||
// "type": "integer"
|
||||
// },
|
||||
// "items": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "system": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "type": {
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "self": {
|
||||
// "title": "self",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "transitions": {
|
||||
// "title": "transitions",
|
||||
// "type": "array",
|
||||
// "items": {
|
||||
// "title": "Transition",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "expand": {
|
||||
// "title": "expand",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "fields": {
|
||||
// "title": "fields",
|
||||
// "type": "object",
|
||||
// "patternProperties": {
|
||||
// ".+": {
|
||||
// "title": "Field Meta",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "allowedValues": {
|
||||
// "type": "array",
|
||||
// "items": {}
|
||||
// },
|
||||
// "autoCompleteUrl": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "defaultValue": {},
|
||||
// "hasDefaultValue": {
|
||||
// "type": "boolean"
|
||||
// },
|
||||
// "key": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "name": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "operations": {
|
||||
// "type": "array",
|
||||
// "items": {
|
||||
// "type": "string"
|
||||
// }
|
||||
// },
|
||||
// "required": {
|
||||
// "type": "boolean"
|
||||
// },
|
||||
// "schema": {
|
||||
// "$ref": "#/definitions/json-type"
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "hasScreen": {
|
||||
// "title": "hasScreen",
|
||||
// "type": "boolean"
|
||||
// },
|
||||
// "id": {
|
||||
// "title": "id",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "name": {
|
||||
// "title": "name",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "to": {
|
||||
// "title": "Status",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "description": {
|
||||
// "title": "description",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "iconUrl": {
|
||||
// "title": "iconUrl",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "id": {
|
||||
// "title": "id",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "name": {
|
||||
// "title": "name",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "self": {
|
||||
// "title": "self",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "statusCategory": {
|
||||
// "title": "Status Category",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "colorName": {
|
||||
// "title": "colorName",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "id": {
|
||||
// "title": "id",
|
||||
// "type": "integer"
|
||||
// },
|
||||
// "key": {
|
||||
// "title": "key",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "name": {
|
||||
// "title": "name",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "self": {
|
||||
// "title": "self",
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "statusColor": {
|
||||
// "title": "statusColor",
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "versionedRepresentations": {
|
||||
// "title": "versionedRepresentations",
|
||||
// "type": "object",
|
||||
// "patternProperties": {
|
||||
// ".+": {
|
||||
// "type": "object",
|
||||
// "patternProperties": {
|
||||
// ".+": {}
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "maxResults": {
|
||||
// "title": "maxResults",
|
||||
// "type": "integer"
|
||||
// },
|
||||
// "names": {
|
||||
// "title": "names",
|
||||
// "type": "object",
|
||||
// "patternProperties": {
|
||||
// ".+": {
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "schema": {
|
||||
// "title": "schema",
|
||||
// "type": "object",
|
||||
// "patternProperties": {
|
||||
// ".+": {
|
||||
// "title": "Json Type",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "custom": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "customId": {
|
||||
// "type": "integer"
|
||||
// },
|
||||
// "items": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "system": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "type": {
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "startAt": {
|
||||
// "title": "startAt",
|
||||
// "type": "integer"
|
||||
// },
|
||||
// "total": {
|
||||
// "title": "total",
|
||||
// "type": "integer"
|
||||
// },
|
||||
// "warningMessages": {
|
||||
// "title": "warningMessages",
|
||||
// "type": "array",
|
||||
// "items": {
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
type SearchResults struct {
|
||||
Expand string `json:"expand,omitempty" yaml:"expand,omitempty"`
|
||||
Issues Issues `json:"issues,omitempty" yaml:"issues,omitempty"`
|
||||
MaxResults int `json:"maxResults,omitempty" yaml:"maxResults,omitempty"`
|
||||
Names map[string]string `json:"names,omitempty" yaml:"names,omitempty"`
|
||||
Schema JSONTypeMap `json:"schema,omitempty" yaml:"schema,omitempty"`
|
||||
StartAt int `json:"startAt,omitempty" yaml:"startAt,omitempty"`
|
||||
Total int `json:"total,omitempty" yaml:"total,omitempty"`
|
||||
WarningMessages WarningMessages `json:"warningMessages,omitempty" yaml:"warningMessages,omitempty"`
|
||||
}
|
||||
@@ -0,0 +1,31 @@
|
||||
package jiradata
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// This Code is Generated by SlipScheme Project:
|
||||
// https://github.com/coryb/slipscheme
|
||||
//
|
||||
// Generated with command:
|
||||
// slipscheme -pkg jiradata -dir data schemas/AuthSuccess.json
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// DO NOT EDIT //
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// SessionInfo defined from schema:
|
||||
// {
|
||||
// "title": "Session Info",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "name": {
|
||||
// "title": "name",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "value": {
|
||||
// "title": "value",
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
type SessionInfo struct {
|
||||
Name string `json:"name,omitempty" yaml:"name,omitempty"`
|
||||
Value string `json:"value,omitempty" yaml:"value,omitempty"`
|
||||
}
|
||||
@@ -0,0 +1,56 @@
|
||||
package jiradata
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// This Code is Generated by SlipScheme Project:
|
||||
// https://github.com/coryb/slipscheme
|
||||
//
|
||||
// Generated with command:
|
||||
// slipscheme -dir jiradata -pkg jiradata schemas/Project.json
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// DO NOT EDIT //
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// SimpleLink defined from schema:
|
||||
// {
|
||||
// "title": "Simple Link",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "href": {
|
||||
// "title": "href",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "iconClass": {
|
||||
// "title": "iconClass",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "id": {
|
||||
// "title": "id",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "label": {
|
||||
// "title": "label",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "styleClass": {
|
||||
// "title": "styleClass",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "title": {
|
||||
// "title": "title",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "weight": {
|
||||
// "title": "weight",
|
||||
// "type": "integer"
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
type SimpleLink struct {
|
||||
Href string `json:"href,omitempty" yaml:"href,omitempty"`
|
||||
IconClass string `json:"iconClass,omitempty" yaml:"iconClass,omitempty"`
|
||||
ID string `json:"id,omitempty" yaml:"id,omitempty"`
|
||||
Label string `json:"label,omitempty" yaml:"label,omitempty"`
|
||||
StyleClass string `json:"styleClass,omitempty" yaml:"styleClass,omitempty"`
|
||||
Title string `json:"title,omitempty" yaml:"title,omitempty"`
|
||||
Weight int `json:"weight,omitempty" yaml:"weight,omitempty"`
|
||||
}
|
||||
@@ -0,0 +1,69 @@
|
||||
package jiradata
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// This Code is Generated by SlipScheme Project:
|
||||
// https://github.com/coryb/slipscheme
|
||||
//
|
||||
// Generated with command:
|
||||
// slipscheme -pkg jiradata -dir jiradata -overwrite schemas/IssueUpdate.json
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// DO NOT EDIT //
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// Status defined from schema:
|
||||
// {
|
||||
// "title": "Status",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "description": {
|
||||
// "title": "description",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "iconUrl": {
|
||||
// "title": "iconUrl",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "id": {
|
||||
// "title": "id",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "name": {
|
||||
// "title": "name",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "statusCategory": {
|
||||
// "title": "Status Category",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "colorName": {
|
||||
// "title": "colorName",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "id": {
|
||||
// "title": "id",
|
||||
// "type": "integer"
|
||||
// },
|
||||
// "key": {
|
||||
// "title": "key",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "name": {
|
||||
// "title": "name",
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "statusColor": {
|
||||
// "title": "statusColor",
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
type Status struct {
|
||||
Description string `json:"description,omitempty" yaml:"description,omitempty"`
|
||||
IconURL string `json:"iconUrl,omitempty" yaml:"iconUrl,omitempty"`
|
||||
ID string `json:"id,omitempty" yaml:"id,omitempty"`
|
||||
Name string `json:"name,omitempty" yaml:"name,omitempty"`
|
||||
StatusCategory *StatusCategory `json:"statusCategory,omitempty" yaml:"statusCategory,omitempty"`
|
||||
StatusColor string `json:"statusColor,omitempty" yaml:"statusColor,omitempty"`
|
||||
}
|
||||
@@ -0,0 +1,41 @@
|
||||
package jiradata
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// This Code is Generated by SlipScheme Project:
|
||||
// https://github.com/coryb/slipscheme
|
||||
//
|
||||
// Generated with command:
|
||||
// slipscheme -pkg jiradata -dir jiradata -overwrite schemas/IssueUpdate.json
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// DO NOT EDIT //
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// StatusCategory defined from schema:
|
||||
// {
|
||||
// "title": "Status Category",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "colorName": {
|
||||
// "title": "colorName",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "id": {
|
||||
// "title": "id",
|
||||
// "type": "integer"
|
||||
// },
|
||||
// "key": {
|
||||
// "title": "key",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "name": {
|
||||
// "title": "name",
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
type StatusCategory struct {
|
||||
ColorName string `json:"colorName,omitempty" yaml:"colorName,omitempty"`
|
||||
ID int `json:"id,omitempty" yaml:"id,omitempty"`
|
||||
Key string `json:"key,omitempty" yaml:"key,omitempty"`
|
||||
Name string `json:"name,omitempty" yaml:"name,omitempty"`
|
||||
}
|
||||
@@ -0,0 +1,159 @@
|
||||
package jiradata
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// This Code is Generated by SlipScheme Project:
|
||||
// https://github.com/coryb/slipscheme
|
||||
//
|
||||
// Generated with command:
|
||||
// slipscheme -pkg jiradata -dir jiradata -overwrite schemas/IssueUpdate.json
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// DO NOT EDIT //
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// Transition defined from schema:
|
||||
// {
|
||||
// "title": "Transition",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "fields": {
|
||||
// "title": "fields",
|
||||
// "type": "object",
|
||||
// "patternProperties": {
|
||||
// ".+": {
|
||||
// "title": "Field Meta",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "allowedValues": {
|
||||
// "title": "allowedValues",
|
||||
// "type": "array",
|
||||
// "items": {}
|
||||
// },
|
||||
// "autoCompleteUrl": {
|
||||
// "title": "autoCompleteUrl",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "defaultValue": {
|
||||
// "title": "defaultValue"
|
||||
// },
|
||||
// "hasDefaultValue": {
|
||||
// "title": "hasDefaultValue",
|
||||
// "type": "boolean"
|
||||
// },
|
||||
// "key": {
|
||||
// "title": "key",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "name": {
|
||||
// "title": "name",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "operations": {
|
||||
// "title": "operations",
|
||||
// "type": "array",
|
||||
// "items": {
|
||||
// "type": "string"
|
||||
// }
|
||||
// },
|
||||
// "required": {
|
||||
// "title": "required",
|
||||
// "type": "boolean"
|
||||
// },
|
||||
// "schema": {
|
||||
// "title": "Json Type",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "custom": {
|
||||
// "title": "custom",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "customId": {
|
||||
// "title": "customId",
|
||||
// "type": "integer"
|
||||
// },
|
||||
// "items": {
|
||||
// "title": "items",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "system": {
|
||||
// "title": "system",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "type": {
|
||||
// "title": "type",
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "hasScreen": {
|
||||
// "title": "hasScreen",
|
||||
// "type": "boolean"
|
||||
// },
|
||||
// "id": {
|
||||
// "title": "id",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "name": {
|
||||
// "title": "name",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "to": {
|
||||
// "title": "Status",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "description": {
|
||||
// "title": "description",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "iconUrl": {
|
||||
// "title": "iconUrl",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "id": {
|
||||
// "title": "id",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "name": {
|
||||
// "title": "name",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "statusCategory": {
|
||||
// "title": "Status Category",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "colorName": {
|
||||
// "title": "colorName",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "id": {
|
||||
// "title": "id",
|
||||
// "type": "integer"
|
||||
// },
|
||||
// "key": {
|
||||
// "title": "key",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "name": {
|
||||
// "title": "name",
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "statusColor": {
|
||||
// "title": "statusColor",
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
type Transition struct {
|
||||
Fields FieldMetaMap `json:"fields,omitempty" yaml:"fields,omitempty"`
|
||||
HasScreen bool `json:"hasScreen,omitempty" yaml:"hasScreen,omitempty"`
|
||||
ID string `json:"id,omitempty" yaml:"id,omitempty"`
|
||||
Name string `json:"name,omitempty" yaml:"name,omitempty"`
|
||||
To *Status `json:"to,omitempty" yaml:"to,omitempty"`
|
||||
}
|
||||
@@ -0,0 +1,137 @@
|
||||
package jiradata
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// This Code is Generated by SlipScheme Project:
|
||||
// https://github.com/coryb/slipscheme
|
||||
//
|
||||
// Generated with command:
|
||||
// slipscheme -dir data -pkg jiradata -overwrite schemas/SearchResults.json
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// DO NOT EDIT //
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// Transitions defined from schema:
|
||||
// {
|
||||
// "title": "transitions",
|
||||
// "type": "array",
|
||||
// "items": {
|
||||
// "title": "Transition",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "expand": {
|
||||
// "title": "expand",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "fields": {
|
||||
// "title": "fields",
|
||||
// "type": "object",
|
||||
// "patternProperties": {
|
||||
// ".+": {
|
||||
// "title": "Field Meta",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "allowedValues": {
|
||||
// "type": "array",
|
||||
// "items": {}
|
||||
// },
|
||||
// "autoCompleteUrl": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "defaultValue": {},
|
||||
// "hasDefaultValue": {
|
||||
// "type": "boolean"
|
||||
// },
|
||||
// "key": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "name": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "operations": {
|
||||
// "type": "array",
|
||||
// "items": {
|
||||
// "type": "string"
|
||||
// }
|
||||
// },
|
||||
// "required": {
|
||||
// "type": "boolean"
|
||||
// },
|
||||
// "schema": {
|
||||
// "$ref": "#/definitions/json-type"
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "hasScreen": {
|
||||
// "title": "hasScreen",
|
||||
// "type": "boolean"
|
||||
// },
|
||||
// "id": {
|
||||
// "title": "id",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "name": {
|
||||
// "title": "name",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "to": {
|
||||
// "title": "Status",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "description": {
|
||||
// "title": "description",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "iconUrl": {
|
||||
// "title": "iconUrl",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "id": {
|
||||
// "title": "id",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "name": {
|
||||
// "title": "name",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "self": {
|
||||
// "title": "self",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "statusCategory": {
|
||||
// "title": "Status Category",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "colorName": {
|
||||
// "title": "colorName",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "id": {
|
||||
// "title": "id",
|
||||
// "type": "integer"
|
||||
// },
|
||||
// "key": {
|
||||
// "title": "key",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "name": {
|
||||
// "title": "name",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "self": {
|
||||
// "title": "self",
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "statusColor": {
|
||||
// "title": "statusColor",
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
type Transitions []*Transition
|
||||
@@ -0,0 +1,18 @@
|
||||
package jiradata
|
||||
|
||||
import (
|
||||
"strings"
|
||||
)
|
||||
|
||||
// Find will search the transitions for one that matches
|
||||
// the given name. It will return a valid trantion that matches
|
||||
// or nil
|
||||
func (t Transitions) Find(name string) *Transition {
|
||||
name = strings.ToLower(name)
|
||||
for _, trans := range t {
|
||||
if strings.Contains(strings.ToLower(trans.Name), name) {
|
||||
return trans
|
||||
}
|
||||
}
|
||||
return nil
|
||||
}
|
||||
@@ -0,0 +1,180 @@
|
||||
package jiradata
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// This Code is Generated by SlipScheme Project:
|
||||
// https://github.com/coryb/slipscheme
|
||||
//
|
||||
// Generated with command:
|
||||
// slipscheme -pkg jiradata -overwrite ../schemas/TransitionsMeta.json
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// DO NOT EDIT //
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// TransitionsMeta defined from schema:
|
||||
// {
|
||||
// "title": "Transitions Meta",
|
||||
// "id": "https://docs.atlassian.com/jira/REST/schema/transitions-meta#",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "expand": {
|
||||
// "title": "expand",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "transitions": {
|
||||
// "title": "transitions",
|
||||
// "type": "array",
|
||||
// "items": {
|
||||
// "title": "Transition",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "expand": {
|
||||
// "title": "expand",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "fields": {
|
||||
// "title": "fields",
|
||||
// "type": "object",
|
||||
// "patternProperties": {
|
||||
// ".+": {
|
||||
// "title": "Field Meta",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "allowedValues": {
|
||||
// "title": "allowedValues",
|
||||
// "type": "array",
|
||||
// "items": {}
|
||||
// },
|
||||
// "autoCompleteUrl": {
|
||||
// "title": "autoCompleteUrl",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "hasDefaultValue": {
|
||||
// "title": "hasDefaultValue",
|
||||
// "type": "boolean"
|
||||
// },
|
||||
// "key": {
|
||||
// "title": "key",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "name": {
|
||||
// "title": "name",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "operations": {
|
||||
// "title": "operations",
|
||||
// "type": "array",
|
||||
// "items": {
|
||||
// "type": "string"
|
||||
// }
|
||||
// },
|
||||
// "required": {
|
||||
// "title": "required",
|
||||
// "type": "boolean"
|
||||
// },
|
||||
// "schema": {
|
||||
// "title": "Json Type",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "custom": {
|
||||
// "title": "custom",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "customId": {
|
||||
// "title": "customId",
|
||||
// "type": "integer"
|
||||
// },
|
||||
// "items": {
|
||||
// "title": "items",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "system": {
|
||||
// "title": "system",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "type": {
|
||||
// "title": "type",
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "hasScreen": {
|
||||
// "title": "hasScreen",
|
||||
// "type": "boolean"
|
||||
// },
|
||||
// "id": {
|
||||
// "title": "id",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "name": {
|
||||
// "title": "name",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "to": {
|
||||
// "title": "Status",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "description": {
|
||||
// "title": "description",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "iconUrl": {
|
||||
// "title": "iconUrl",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "id": {
|
||||
// "title": "id",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "name": {
|
||||
// "title": "name",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "self": {
|
||||
// "title": "self",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "statusCategory": {
|
||||
// "title": "Status Category",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "colorName": {
|
||||
// "title": "colorName",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "id": {
|
||||
// "title": "id",
|
||||
// "type": "integer"
|
||||
// },
|
||||
// "key": {
|
||||
// "title": "key",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "name": {
|
||||
// "title": "name",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "self": {
|
||||
// "title": "self",
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "statusColor": {
|
||||
// "title": "statusColor",
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
type TransitionsMeta struct {
|
||||
Expand string `json:"expand,omitempty" yaml:"expand,omitempty"`
|
||||
Transitions Transitions `json:"transitions,omitempty" yaml:"transitions,omitempty"`
|
||||
}
|
||||
@@ -0,0 +1,71 @@
|
||||
package jiradata
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// This Code is Generated by SlipScheme Project:
|
||||
// https://github.com/coryb/slipscheme
|
||||
//
|
||||
// Generated with command:
|
||||
// slipscheme -dir data -pkg jiradata -overwrite schemas/SearchResults.json
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// DO NOT EDIT //
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// User defined from schema:
|
||||
// {
|
||||
// "title": "User",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "accountId": {
|
||||
// "title": "accountId",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "active": {
|
||||
// "title": "active",
|
||||
// "type": "boolean"
|
||||
// },
|
||||
// "avatarUrls": {
|
||||
// "title": "avatarUrls",
|
||||
// "type": "object",
|
||||
// "patternProperties": {
|
||||
// ".+": {
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "displayName": {
|
||||
// "title": "displayName",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "emailAddress": {
|
||||
// "title": "emailAddress",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "key": {
|
||||
// "title": "key",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "name": {
|
||||
// "title": "name",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "self": {
|
||||
// "title": "self",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "timeZone": {
|
||||
// "title": "timeZone",
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
type User struct {
|
||||
AccountID string `json:"accountId,omitempty" yaml:"accountId,omitempty"`
|
||||
Active bool `json:"active,omitempty" yaml:"active,omitempty"`
|
||||
AvatarUrls map[string]string `json:"avatarUrls,omitempty" yaml:"avatarUrls,omitempty"`
|
||||
DisplayName string `json:"displayName,omitempty" yaml:"displayName,omitempty"`
|
||||
EmailAddress string `json:"emailAddress,omitempty" yaml:"emailAddress,omitempty"`
|
||||
Key string `json:"key,omitempty" yaml:"key,omitempty"`
|
||||
Name string `json:"name,omitempty" yaml:"name,omitempty"`
|
||||
Self string `json:"self,omitempty" yaml:"self,omitempty"`
|
||||
TimeZone string `json:"timeZone,omitempty" yaml:"timeZone,omitempty"`
|
||||
}
|
||||
@@ -0,0 +1,147 @@
|
||||
package jiradata
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// This Code is Generated by SlipScheme Project:
|
||||
// https://github.com/coryb/slipscheme
|
||||
//
|
||||
// Generated with command:
|
||||
// slipscheme -dir jiradata -pkg jiradata schemas/Project.json
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// DO NOT EDIT //
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// Version defined from schema:
|
||||
// {
|
||||
// "title": "Version",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "archived": {
|
||||
// "title": "archived",
|
||||
// "type": "boolean"
|
||||
// },
|
||||
// "description": {
|
||||
// "title": "description",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "expand": {
|
||||
// "title": "expand",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "id": {
|
||||
// "title": "id",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "moveUnfixedIssuesTo": {
|
||||
// "title": "moveUnfixedIssuesTo",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "name": {
|
||||
// "title": "name",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "operations": {
|
||||
// "title": "operations",
|
||||
// "type": "array",
|
||||
// "items": {
|
||||
// "title": "Simple Link",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "href": {
|
||||
// "title": "href",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "iconClass": {
|
||||
// "title": "iconClass",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "id": {
|
||||
// "title": "id",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "label": {
|
||||
// "title": "label",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "styleClass": {
|
||||
// "title": "styleClass",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "title": {
|
||||
// "title": "title",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "weight": {
|
||||
// "title": "weight",
|
||||
// "type": "integer"
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "overdue": {
|
||||
// "title": "overdue",
|
||||
// "type": "boolean"
|
||||
// },
|
||||
// "project": {
|
||||
// "title": "project",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "projectId": {
|
||||
// "title": "projectId",
|
||||
// "type": "integer"
|
||||
// },
|
||||
// "released": {
|
||||
// "title": "released",
|
||||
// "type": "boolean"
|
||||
// },
|
||||
// "remotelinks": {
|
||||
// "title": "remotelinks",
|
||||
// "type": "array",
|
||||
// "items": {
|
||||
// "title": "Remote Entity Link",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "link": {
|
||||
// "title": "link"
|
||||
// },
|
||||
// "name": {
|
||||
// "title": "name",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "self": {
|
||||
// "title": "self",
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "self": {
|
||||
// "title": "self",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "userReleaseDate": {
|
||||
// "title": "userReleaseDate",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "userStartDate": {
|
||||
// "title": "userStartDate",
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
type Version struct {
|
||||
Archived bool `json:"archived,omitempty" yaml:"archived,omitempty"`
|
||||
Description string `json:"description,omitempty" yaml:"description,omitempty"`
|
||||
Expand string `json:"expand,omitempty" yaml:"expand,omitempty"`
|
||||
ID string `json:"id,omitempty" yaml:"id,omitempty"`
|
||||
MoveUnfixedIssuesTo string `json:"moveUnfixedIssuesTo,omitempty" yaml:"moveUnfixedIssuesTo,omitempty"`
|
||||
Name string `json:"name,omitempty" yaml:"name,omitempty"`
|
||||
Operations Operations `json:"operations,omitempty" yaml:"operations,omitempty"`
|
||||
Overdue bool `json:"overdue,omitempty" yaml:"overdue,omitempty"`
|
||||
Project string `json:"project,omitempty" yaml:"project,omitempty"`
|
||||
ProjectID int `json:"projectId,omitempty" yaml:"projectId,omitempty"`
|
||||
Released bool `json:"released,omitempty" yaml:"released,omitempty"`
|
||||
Remotelinks Remotelinks `json:"remotelinks,omitempty" yaml:"remotelinks,omitempty"`
|
||||
Self string `json:"self,omitempty" yaml:"self,omitempty"`
|
||||
UserReleaseDate string `json:"userReleaseDate,omitempty" yaml:"userReleaseDate,omitempty"`
|
||||
UserStartDate string `json:"userStartDate,omitempty" yaml:"userStartDate,omitempty"`
|
||||
}
|
||||
@@ -0,0 +1,135 @@
|
||||
package jiradata
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// This Code is Generated by SlipScheme Project:
|
||||
// https://github.com/coryb/slipscheme
|
||||
//
|
||||
// Generated with command:
|
||||
// slipscheme -dir jiradata -pkg jiradata schemas/Project.json
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// DO NOT EDIT //
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// Versions defined from schema:
|
||||
// {
|
||||
// "title": "versions",
|
||||
// "type": "array",
|
||||
// "items": {
|
||||
// "title": "Version",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "archived": {
|
||||
// "title": "archived",
|
||||
// "type": "boolean"
|
||||
// },
|
||||
// "description": {
|
||||
// "title": "description",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "expand": {
|
||||
// "title": "expand",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "id": {
|
||||
// "title": "id",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "moveUnfixedIssuesTo": {
|
||||
// "title": "moveUnfixedIssuesTo",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "name": {
|
||||
// "title": "name",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "operations": {
|
||||
// "title": "operations",
|
||||
// "type": "array",
|
||||
// "items": {
|
||||
// "title": "Simple Link",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "href": {
|
||||
// "title": "href",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "iconClass": {
|
||||
// "title": "iconClass",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "id": {
|
||||
// "title": "id",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "label": {
|
||||
// "title": "label",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "styleClass": {
|
||||
// "title": "styleClass",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "title": {
|
||||
// "title": "title",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "weight": {
|
||||
// "title": "weight",
|
||||
// "type": "integer"
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "overdue": {
|
||||
// "title": "overdue",
|
||||
// "type": "boolean"
|
||||
// },
|
||||
// "project": {
|
||||
// "title": "project",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "projectId": {
|
||||
// "title": "projectId",
|
||||
// "type": "integer"
|
||||
// },
|
||||
// "released": {
|
||||
// "title": "released",
|
||||
// "type": "boolean"
|
||||
// },
|
||||
// "remotelinks": {
|
||||
// "title": "remotelinks",
|
||||
// "type": "array",
|
||||
// "items": {
|
||||
// "title": "Remote Entity Link",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "link": {
|
||||
// "title": "link"
|
||||
// },
|
||||
// "name": {
|
||||
// "title": "name",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "self": {
|
||||
// "title": "self",
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "self": {
|
||||
// "title": "self",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "userReleaseDate": {
|
||||
// "title": "userReleaseDate",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "userStartDate": {
|
||||
// "title": "userStartDate",
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
type Versions []*Version
|
||||
@@ -0,0 +1,31 @@
|
||||
package jiradata
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// This Code is Generated by SlipScheme Project:
|
||||
// https://github.com/coryb/slipscheme
|
||||
//
|
||||
// Generated with command:
|
||||
// slipscheme -pkg jiradata -dir data schemas/WorklogWithPagination.json
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// DO NOT EDIT //
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// Visibility defined from schema:
|
||||
// {
|
||||
// "title": "Visibility",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "type": {
|
||||
// "title": "type",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "value": {
|
||||
// "title": "value",
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
type Visibility struct {
|
||||
Type string `json:"type,omitempty" yaml:"type,omitempty"`
|
||||
Value string `json:"value,omitempty" yaml:"value,omitempty"`
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
package jiradata
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// This Code is Generated by SlipScheme Project:
|
||||
// https://github.com/coryb/slipscheme
|
||||
//
|
||||
// Generated with command:
|
||||
// slipscheme -dir data -pkg jiradata -overwrite schemas/SearchResults.json
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// DO NOT EDIT //
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// WarningMessages defined from schema:
|
||||
// {
|
||||
// "title": "warningMessages",
|
||||
// "type": "array",
|
||||
// "items": {
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
type WarningMessages []string
|
||||
@@ -0,0 +1,177 @@
|
||||
package jiradata
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// This Code is Generated by SlipScheme Project:
|
||||
// https://github.com/coryb/slipscheme
|
||||
//
|
||||
// Generated with command:
|
||||
// slipscheme -pkg jiradata -dir data schemas/WorklogWithPagination.json
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// DO NOT EDIT //
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// Worklog defined from schema:
|
||||
// {
|
||||
// "title": "Worklog",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "author": {
|
||||
// "title": "User",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "accountId": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "active": {
|
||||
// "type": "boolean"
|
||||
// },
|
||||
// "avatarUrls": {
|
||||
// "type": "object",
|
||||
// "patternProperties": {
|
||||
// ".+": {
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "displayName": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "emailAddress": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "key": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "name": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "self": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "timeZone": {
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "comment": {
|
||||
// "title": "comment",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "created": {
|
||||
// "title": "created",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "id": {
|
||||
// "title": "id",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "issueId": {
|
||||
// "title": "issueId",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "properties": {
|
||||
// "title": "properties",
|
||||
// "type": "array",
|
||||
// "items": {
|
||||
// "title": "Entity Property",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "key": {
|
||||
// "title": "key",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "value": {
|
||||
// "title": "value"
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "self": {
|
||||
// "title": "self",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "started": {
|
||||
// "title": "started",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "timeSpent": {
|
||||
// "title": "timeSpent",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "timeSpentSeconds": {
|
||||
// "title": "timeSpentSeconds",
|
||||
// "type": "integer"
|
||||
// },
|
||||
// "updateAuthor": {
|
||||
// "title": "User",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "accountId": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "active": {
|
||||
// "type": "boolean"
|
||||
// },
|
||||
// "avatarUrls": {
|
||||
// "type": "object",
|
||||
// "patternProperties": {
|
||||
// ".+": {
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "displayName": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "emailAddress": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "key": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "name": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "self": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "timeZone": {
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "updated": {
|
||||
// "title": "updated",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "visibility": {
|
||||
// "title": "Visibility",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "type": {
|
||||
// "title": "type",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "value": {
|
||||
// "title": "value",
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
type Worklog struct {
|
||||
Author *User `json:"author,omitempty" yaml:"author,omitempty"`
|
||||
Comment string `json:"comment,omitempty" yaml:"comment,omitempty"`
|
||||
Created string `json:"created,omitempty" yaml:"created,omitempty"`
|
||||
ID string `json:"id,omitempty" yaml:"id,omitempty"`
|
||||
IssueID string `json:"issueId,omitempty" yaml:"issueId,omitempty"`
|
||||
Properties Properties `json:"properties,omitempty" yaml:"properties,omitempty"`
|
||||
Self string `json:"self,omitempty" yaml:"self,omitempty"`
|
||||
Started string `json:"started,omitempty" yaml:"started,omitempty"`
|
||||
TimeSpent string `json:"timeSpent,omitempty" yaml:"timeSpent,omitempty"`
|
||||
TimeSpentSeconds int `json:"timeSpentSeconds,omitempty" yaml:"timeSpentSeconds,omitempty"`
|
||||
UpdateAuthor *User `json:"updateAuthor,omitempty" yaml:"updateAuthor,omitempty"`
|
||||
Updated string `json:"updated,omitempty" yaml:"updated,omitempty"`
|
||||
Visibility *Visibility `json:"visibility,omitempty" yaml:"visibility,omitempty"`
|
||||
}
|
||||
@@ -0,0 +1,231 @@
|
||||
package jiradata
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// This Code is Generated by SlipScheme Project:
|
||||
// https://github.com/coryb/slipscheme
|
||||
//
|
||||
// Generated with command:
|
||||
// slipscheme -pkg jiradata -dir data schemas/WorklogWithPagination.json
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// DO NOT EDIT //
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// WorklogWithPagination defined from schema:
|
||||
// {
|
||||
// "title": "Worklog With Pagination",
|
||||
// "id": "https://docs.atlassian.com/jira/REST/schema/worklog-with-pagination#",
|
||||
// "type": "object",
|
||||
// "definitions": {
|
||||
// "user": {
|
||||
// "title": "User",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "accountId": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "active": {
|
||||
// "type": "boolean"
|
||||
// },
|
||||
// "avatarUrls": {
|
||||
// "type": "object",
|
||||
// "patternProperties": {
|
||||
// ".+": {
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "displayName": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "emailAddress": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "key": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "name": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "self": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "timeZone": {
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "properties": {
|
||||
// "maxResults": {
|
||||
// "title": "maxResults",
|
||||
// "type": "integer"
|
||||
// },
|
||||
// "startAt": {
|
||||
// "title": "startAt",
|
||||
// "type": "integer"
|
||||
// },
|
||||
// "total": {
|
||||
// "title": "total",
|
||||
// "type": "integer"
|
||||
// },
|
||||
// "worklogs": {
|
||||
// "title": "worklogs",
|
||||
// "type": "array",
|
||||
// "items": {
|
||||
// "title": "Worklog",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "author": {
|
||||
// "title": "User",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "accountId": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "active": {
|
||||
// "type": "boolean"
|
||||
// },
|
||||
// "avatarUrls": {
|
||||
// "type": "object",
|
||||
// "patternProperties": {
|
||||
// ".+": {
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "displayName": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "emailAddress": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "key": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "name": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "self": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "timeZone": {
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "comment": {
|
||||
// "title": "comment",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "created": {
|
||||
// "title": "created",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "id": {
|
||||
// "title": "id",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "issueId": {
|
||||
// "title": "issueId",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "properties": {
|
||||
// "title": "properties",
|
||||
// "type": "array",
|
||||
// "items": {
|
||||
// "title": "Entity Property",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "key": {
|
||||
// "title": "key",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "value": {
|
||||
// "title": "value"
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "self": {
|
||||
// "title": "self",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "started": {
|
||||
// "title": "started",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "timeSpent": {
|
||||
// "title": "timeSpent",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "timeSpentSeconds": {
|
||||
// "title": "timeSpentSeconds",
|
||||
// "type": "integer"
|
||||
// },
|
||||
// "updateAuthor": {
|
||||
// "title": "User",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "accountId": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "active": {
|
||||
// "type": "boolean"
|
||||
// },
|
||||
// "avatarUrls": {
|
||||
// "type": "object",
|
||||
// "patternProperties": {
|
||||
// ".+": {
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "displayName": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "emailAddress": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "key": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "name": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "self": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "timeZone": {
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "updated": {
|
||||
// "title": "updated",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "visibility": {
|
||||
// "title": "Visibility",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "type": {
|
||||
// "title": "type",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "value": {
|
||||
// "title": "value",
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
type WorklogWithPagination struct {
|
||||
MaxResults int `json:"maxResults,omitempty" yaml:"maxResults,omitempty"`
|
||||
StartAt int `json:"startAt,omitempty" yaml:"startAt,omitempty"`
|
||||
Total int `json:"total,omitempty" yaml:"total,omitempty"`
|
||||
Worklogs Worklogs `json:"worklogs,omitempty" yaml:"worklogs,omitempty"`
|
||||
}
|
||||
@@ -0,0 +1,167 @@
|
||||
package jiradata
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// This Code is Generated by SlipScheme Project:
|
||||
// https://github.com/coryb/slipscheme
|
||||
//
|
||||
// Generated with command:
|
||||
// slipscheme -pkg jiradata -dir data schemas/WorklogWithPagination.json
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// DO NOT EDIT //
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// Worklogs defined from schema:
|
||||
// {
|
||||
// "title": "worklogs",
|
||||
// "type": "array",
|
||||
// "items": {
|
||||
// "title": "Worklog",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "author": {
|
||||
// "title": "User",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "accountId": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "active": {
|
||||
// "type": "boolean"
|
||||
// },
|
||||
// "avatarUrls": {
|
||||
// "type": "object",
|
||||
// "patternProperties": {
|
||||
// ".+": {
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "displayName": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "emailAddress": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "key": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "name": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "self": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "timeZone": {
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "comment": {
|
||||
// "title": "comment",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "created": {
|
||||
// "title": "created",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "id": {
|
||||
// "title": "id",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "issueId": {
|
||||
// "title": "issueId",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "properties": {
|
||||
// "title": "properties",
|
||||
// "type": "array",
|
||||
// "items": {
|
||||
// "title": "Entity Property",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "key": {
|
||||
// "title": "key",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "value": {
|
||||
// "title": "value"
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "self": {
|
||||
// "title": "self",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "started": {
|
||||
// "title": "started",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "timeSpent": {
|
||||
// "title": "timeSpent",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "timeSpentSeconds": {
|
||||
// "title": "timeSpentSeconds",
|
||||
// "type": "integer"
|
||||
// },
|
||||
// "updateAuthor": {
|
||||
// "title": "User",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "accountId": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "active": {
|
||||
// "type": "boolean"
|
||||
// },
|
||||
// "avatarUrls": {
|
||||
// "type": "object",
|
||||
// "patternProperties": {
|
||||
// ".+": {
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "displayName": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "emailAddress": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "key": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "name": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "self": {
|
||||
// "type": "string"
|
||||
// },
|
||||
// "timeZone": {
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
// "updated": {
|
||||
// "title": "updated",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "visibility": {
|
||||
// "title": "Visibility",
|
||||
// "type": "object",
|
||||
// "properties": {
|
||||
// "type": {
|
||||
// "title": "type",
|
||||
// "type": "string"
|
||||
// },
|
||||
// "value": {
|
||||
// "title": "value",
|
||||
// "type": "string"
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
type Worklogs []*Worklog
|
||||
@@ -0,0 +1,15 @@
|
||||
package jiradata
|
||||
|
||||
// these routines implement the various Provide interfaces that are required by the jira functions
|
||||
|
||||
func (i *IssueUpdate) ProvideIssueUpdate() *IssueUpdate {
|
||||
return i
|
||||
}
|
||||
|
||||
func (w *Worklog) ProvideWorklog() *Worklog {
|
||||
return w
|
||||
}
|
||||
|
||||
func (l *LinkIssueRequest) ProvideLinkIssueRequest() *LinkIssueRequest {
|
||||
return l
|
||||
}
|
||||
Reference in New Issue
Block a user