Documentation ¶
Index ¶
- type AllowedValues
- type Attachment
- type AuthParams
- type AuthSuccess
- type ChangeHistory
- type ChangeItem
- type Changelog
- type ClauseNames
- type Comment
- type Component
- type Components
- type CreateMeta
- type CreateMetaIssueType
- type CreateMetaProject
- type CurrentUser
- type EditMeta
- type EntityProperty
- type EpicIssues
- type ErrorCollection
- type ErrorMessages
- type Field
- type FieldMeta
- type FieldMetaMap
- type FieldOperation
- type FieldOperations
- type FieldOperationsMap
- type Fields
- type Group
- type Groups
- type Histories
- type HistoryMetadata
- type HistoryMetadataParticipant
- type IncludedFields
- type IntOrString
- type Issue
- type IssueCreateResponse
- type IssueLinkType
- type IssueLinkTypes
- type IssueRef
- type IssueType
- type IssueTypes
- type IssueUpdate
- type Issues
- type Items
- type JSONType
- type JSONTypeMap
- type LinkGroup
- type LinkGroups
- type LinkIssueRequest
- type ListOfAttachment
- type LoginInfo
- type Operations
- type Opsbar
- type Priority
- type Project
- type ProjectCategory
- type ProjectKeys
- type Projects
- type Properties
- type RankRequest
- type RemoteEntityLink
- type Remotelinks
- type SearchRequest
- type SearchResults
- type SessionInfo
- type SimpleLink
- type SimpleListWrapper
- type Status
- type StatusCategory
- type Transition
- type Transitions
- type TransitionsMeta
- type User
- type Version
- type Versions
- type Visibility
- type WarningMessages
- type Worklog
- type WorklogWithPagination
- type Worklogs
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AllowedValues ¶
type AllowedValues []interface{}
AllowedValues defined from schema:
{ "title": "allowedValues", "type": "array", "items": {} }
type Attachment ¶ added in v1.0.8
type Attachment struct { Author *User `json:"author,omitempty" yaml:"author,omitempty"` Content string `json:"content,omitempty" yaml:"content,omitempty"` Created string `json:"created,omitempty" yaml:"created,omitempty"` Filename string `json:"filename,omitempty" yaml:"filename,omitempty"` ID IntOrString `json:"id,omitempty" yaml:"id,omitempty"` MimeType string `json:"mimeType,omitempty" yaml:"mimeType,omitempty"` Properties map[string]interface{} `json:"properties,omitempty" yaml:"properties,omitempty"` Self string `json:"self,omitempty" yaml:"self,omitempty"` Size int `json:"size,omitempty" yaml:"size,omitempty"` Thumbnail string `json:"thumbnail,omitempty" yaml:"thumbnail,omitempty"` }
Attachment defined from schema:
{ "title": "Attachment", "type": "object", "properties": { "author": { "title": "User", "type": "object", "properties": { "accountId": { "title": "accountId", "type": "string" }, "active": { "title": "active", "type": "boolean" }, "applicationRoles": { "title": "Simple List Wrapper", "type": "object", "properties": { "items": { "type": "array", "items": { "title": "Group", "type": "object", "properties": { "name": { "type": "string" }, "self": { "type": "string" } } } }, "max-results": { "type": "integer" }, "size": { "type": "integer" } } }, "avatarUrls": { "title": "avatarUrls", "type": "object", "patternProperties": { ".+": { "type": "string" } } }, "displayName": { "title": "displayName", "type": "string" }, "emailAddress": { "title": "emailAddress", "type": "string" }, "expand": { "title": "expand", "type": "string" }, "groups": { "title": "Simple List Wrapper", "type": "object", "properties": { "items": { "type": "array", "items": { "title": "Group", "type": "object", "properties": { "name": { "type": "string" }, "self": { "type": "string" } } } }, "max-results": { "type": "integer" }, "size": { "type": "integer" } } }, "key": { "title": "key", "type": "string" }, "locale": { "title": "locale", "type": "string" }, "name": { "title": "name", "type": "string" }, "self": { "title": "self", "type": "string" }, "timeZone": { "title": "timeZone", "type": "string" } } }, "content": { "title": "content", "type": "string" }, "created": { "title": "created", "type": "string" }, "filename": { "title": "filename", "type": "string" }, "id": { "title": "id", "type": "integer" }, "mimeType": { "title": "mimeType", "type": "string" }, "properties": { "title": "properties", "type": "object", "patternProperties": { ".+": {} } }, "self": { "title": "self", "type": "string" }, "size": { "title": "size", "type": "integer" }, "thumbnail": { "title": "thumbnail", "type": "string" } } }
type AuthParams ¶
type AuthParams struct { Password string `json:"password,omitempty" yaml:"password,omitempty"` Username string `json:"username,omitempty" yaml:"username,omitempty"` }
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 AuthSuccess ¶
type AuthSuccess struct { LoginInfo *LoginInfo `json:"loginInfo,omitempty" yaml:"loginInfo,omitempty"` Session *SessionInfo `json:"session,omitempty" yaml:"session,omitempty"` }
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 ChangeHistory ¶
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"` }
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 ChangeItem ¶
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"` }
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 Changelog ¶
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"` }
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 ClauseNames ¶
type ClauseNames []string
ClauseNames defined from schema:
{ "title": "clauseNames", "type": "array", "items": { "type": "string" } }
type Comment ¶
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"` }
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" } } } } }
func (*Comment) ProvideComment ¶
type Component ¶
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"` }
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" } } }
func (*Component) ProvideComponent ¶
type Components ¶
type Components []*Component
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 CreateMeta ¶
type CreateMeta struct { Expand string `json:"expand,omitempty" yaml:"expand,omitempty"` Projects Projects `json:"projects,omitempty" yaml:"projects,omitempty"` }
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 CreateMetaIssueType ¶
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"` }
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 CreateMetaProject ¶
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"` }
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 CurrentUser ¶
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"` }
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 EditMeta ¶
type EditMeta struct {
Fields FieldMetaMap `json:"fields,omitempty" yaml:"fields,omitempty"`
}
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 EntityProperty ¶
type EntityProperty struct { Key string `json:"key,omitempty" yaml:"key,omitempty"` Value interface{} `json:"value,omitempty" yaml:"value,omitempty"` }
EntityProperty defined from schema:
{ "title": "Entity Property", "type": "object", "properties": { "key": { "title": "key", "type": "string" }, "value": { "title": "value" } } }
type EpicIssues ¶ added in v1.0.7
type EpicIssues struct {
Issues []string `json:"issues,omitempty" yaml:"issues,omitempty"`
}
func (*EpicIssues) ProvideEpicIssues ¶ added in v1.0.7
func (e *EpicIssues) ProvideEpicIssues() *EpicIssues
type ErrorCollection ¶
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"` }
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" } } }
func (ErrorCollection) Error ¶
func (e ErrorCollection) Error() string
Error is needed to make ErrorCollection implement the error interface
type ErrorMessages ¶
type ErrorMessages []string
ErrorMessages defined from schema:
{ "title": "errorMessages", "type": "array", "items": { "type": "string" } }
type Field ¶
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"` Orderable bool `json:"orderable,omitempty" yaml:"orderable,omitempty"` Schema *JSONType `json:"schema,omitempty" yaml:"schema,omitempty"` Searchable bool `json:"searchable,omitempty" yaml:"searchable,omitempty"` }
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 FieldMeta ¶
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"` }
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 FieldMetaMap ¶
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 FieldOperation ¶
type FieldOperation map[string]interface{}
FieldOperation defined from schema:
{ "title": "Field Operation", "type": "object" }
type FieldOperations ¶
type FieldOperations []FieldOperation
FieldOperations defined from schema:
{ "type": "array", "items": { "title": "Field Operation", "type": "object" } }
type FieldOperationsMap ¶
type FieldOperationsMap map[string]FieldOperations
FieldOperationsMap defined from schema:
{ "title": "update", "type": "object", "patternProperties": { ".+": { "type": "array", "items": { "title": "Field Operation", "type": "object" } } } }
type Fields ¶
type Fields []string
Fields defined from schema:
{ "title": "fields", "type": "array", "items": { "type": "string" } }
type Group ¶ added in v1.0.8
type Group struct { Name string `json:"name,omitempty" yaml:"name,omitempty"` Self string `json:"self,omitempty" yaml:"self,omitempty"` }
Group defined from schema:
{ "title": "Group", "type": "object", "properties": { "name": { "type": "string" }, "self": { "type": "string" } } }
type Groups ¶ added in v1.0.8
type Groups []*Group
Groups defined from schema:
{ "type": "array", "items": { "title": "Group", "type": "object", "properties": { "name": { "type": "string" }, "self": { "type": "string" } } } }
type Histories ¶
type Histories []*ChangeHistory
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 HistoryMetadata ¶
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"` }
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 HistoryMetadataParticipant ¶
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"` }
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 IncludedFields ¶
type IncludedFields map[string]interface{}
IncludedFields defined from schema:
{ "title": "Included Fields", "type": "object" }
type IntOrString ¶ added in v1.0.8
type IntOrString int
this is for some bad schemas like Attachments.ID where in some api's it is an `int` and some it is a `string`
func (*IntOrString) UnmarshalJSON ¶ added in v1.0.8
func (i *IntOrString) UnmarshalJSON(b []byte) error
func (*IntOrString) UnmarshalYAML ¶ added in v1.0.8
func (i *IntOrString) UnmarshalYAML(unmarshal func(interface{}) error) error
type Issue ¶
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"` }
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 IssueCreateResponse ¶
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"` }
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 IssueLinkType ¶
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"` }
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 IssueLinkTypes ¶
type IssueLinkTypes []*IssueLinkType
IssueLinkTypes defined from schema:
{ "title": "issueLinkTypes", "type": "array", "items": { "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" }, "self": { "title": "self", "type": "string" } } } }
type IssueRef ¶
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"` }
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 IssueType ¶
type IssueType struct { AvatarID int `json:"avatarId,omitempty" yaml:"avatarId,omitempty"` Description string `json:"description,omitempty" yaml:"description,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"` }
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 IssueTypes ¶
type IssueTypes []*IssueType
IssueTypes defined from schema:
{ "title": "issueTypes", "type": "array", "items": { "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 IssueUpdate ¶
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"` }
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" } } } } } }
func (*IssueUpdate) ProvideIssueUpdate ¶
func (i *IssueUpdate) ProvideIssueUpdate() *IssueUpdate
type Issues ¶
type Issues []*Issue
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 Items ¶
type Items []*ChangeItem
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 JSONType ¶
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"` }
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 JSONTypeMap ¶
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 LinkGroup ¶
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"` }
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 LinkGroups ¶
type LinkGroups []*LinkGroup
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 LinkIssueRequest ¶
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"` }
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" } } } } }
func (*LinkIssueRequest) ProvideLinkIssueRequest ¶
func (l *LinkIssueRequest) ProvideLinkIssueRequest() *LinkIssueRequest
type ListOfAttachment ¶ added in v1.0.8
type ListOfAttachment []*Attachment
ListOfAttachment defined from schema:
{ "title": "List of Attachment", "id": "https://docs.atlassian.com/jira/REST/schema/list-of-attachment#", "type": "array", "definitions": { "simple-list-wrapper": { "title": "Simple List Wrapper", "type": "object", "properties": { "items": { "type": "array", "items": { "title": "Group", "type": "object", "properties": { "name": { "type": "string" }, "self": { "type": "string" } } } }, "max-results": { "type": "integer" }, "size": { "type": "integer" } } } }, "items": { "title": "Attachment", "type": "object", "properties": { "author": { "title": "User", "type": "object", "properties": { "accountId": { "title": "accountId", "type": "string" }, "active": { "title": "active", "type": "boolean" }, "applicationRoles": { "title": "Simple List Wrapper", "type": "object", "properties": { "items": { "type": "array", "items": { "title": "Group", "type": "object", "properties": { "name": { "type": "string" }, "self": { "type": "string" } } } }, "max-results": { "type": "integer" }, "size": { "type": "integer" } } }, "avatarUrls": { "title": "avatarUrls", "type": "object", "patternProperties": { ".+": { "type": "string" } } }, "displayName": { "title": "displayName", "type": "string" }, "emailAddress": { "title": "emailAddress", "type": "string" }, "expand": { "title": "expand", "type": "string" }, "groups": { "title": "Simple List Wrapper", "type": "object", "properties": { "items": { "type": "array", "items": { "title": "Group", "type": "object", "properties": { "name": { "type": "string" }, "self": { "type": "string" } } } }, "max-results": { "type": "integer" }, "size": { "type": "integer" } } }, "key": { "title": "key", "type": "string" }, "locale": { "title": "locale", "type": "string" }, "name": { "title": "name", "type": "string" }, "self": { "title": "self", "type": "string" }, "timeZone": { "title": "timeZone", "type": "string" } } }, "content": { "title": "content", "type": "string" }, "created": { "title": "created", "type": "string" }, "filename": { "title": "filename", "type": "string" }, "id": { "title": "id", "type": "integer" }, "mimeType": { "title": "mimeType", "type": "string" }, "properties": { "title": "properties", "type": "object", "patternProperties": { ".+": {} } }, "self": { "title": "self", "type": "string" }, "size": { "title": "size", "type": "integer" }, "thumbnail": { "title": "thumbnail", "type": "string" } } } }
func (*ListOfAttachment) Len ¶ added in v1.0.8
func (l *ListOfAttachment) Len() int
func (*ListOfAttachment) Less ¶ added in v1.0.8
func (l *ListOfAttachment) Less(i, j int) bool
func (*ListOfAttachment) Swap ¶ added in v1.0.8
func (l *ListOfAttachment) Swap(i, j int)
type LoginInfo ¶
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"` }
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 Operations ¶
type Operations []string
Operations defined from schema:
{ "title": "operations", "type": "array", "items": { "type": "string" } }
type Opsbar ¶
type Opsbar struct {
LinkGroups LinkGroups `json:"linkGroups,omitempty" yaml:"linkGroups,omitempty"`
}
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 Priority ¶
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"` }
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 Project ¶
type Project struct { AssigneeType string `json:"assigneeType,omitempty" yaml:"assigneeType,omitempty"` AvatarUrls map[string]string `json:"avatarUrls,omitempty" yaml:"avatarUrls,omitempty"` Components Components `json:"components,omitempty" yaml:"components,omitempty"` Description string `json:"description,omitempty" yaml:"description,omitempty"` Email string `json:"email,omitempty" yaml:"email,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"` Lead *User `json:"lead,omitempty" yaml:"lead,omitempty"` Name string `json:"name,omitempty" yaml:"name,omitempty"` ProjectCategory *ProjectCategory `json:"projectCategory,omitempty" yaml:"projectCategory,omitempty"` ProjectKeys ProjectKeys `json:"projectKeys,omitempty" yaml:"projectKeys,omitempty"` ProjectTypeKey string `json:"projectTypeKey,omitempty" yaml:"projectTypeKey,omitempty"` Roles map[string]string `json:"roles,omitempty" yaml:"roles,omitempty"` Self string `json:"self,omitempty" yaml:"self,omitempty"` URL string `json:"url,omitempty" yaml:"url,omitempty"` Versions Versions `json:"versions,omitempty" yaml:"versions,omitempty"` }
Project defined from schema:
{ "title": "Project", "id": "https://docs.atlassian.com/jira/REST/schema/project#", "type": "object", "definitions": { "simple-list-wrapper": { "title": "Simple List Wrapper", "type": "object", "properties": { "items": { "type": "array", "items": { "title": "Group", "type": "object", "properties": { "name": { "type": "string" }, "self": { "type": "string" } } } }, "max-results": { "type": "integer" }, "size": { "type": "integer" } } }, "user": { "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" } } } }, "properties": { "assigneeType": { "title": "assigneeType", "type": "string" }, "avatarUrls": { "title": "avatarUrls", "type": "object", "patternProperties": { ".+": { "type": "string" } } }, "components": { "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" } } } }, "description": { "title": "description", "type": "string" }, "email": { "title": "email", "type": "string" }, "expand": { "title": "expand", "type": "string" }, "id": { "title": "id", "type": "string" }, "issueTypes": { "title": "issueTypes", "type": "array", "items": { "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" } } } }, "key": { "title": "key", "type": "string" }, "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" } } }, "name": { "title": "name", "type": "string" }, "projectCategory": { "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" } } }, "projectKeys": { "title": "projectKeys", "type": "array", "items": { "type": "string" } }, "projectTypeKey": { "title": "projectTypeKey", "type": "string" }, "roles": { "title": "roles", "type": "object", "patternProperties": { ".+": { "type": "string" } } }, "self": { "title": "self", "type": "string" }, "url": { "title": "url", "type": "string" }, "versions": { "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 ProjectCategory ¶
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"` }
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 ProjectKeys ¶
type ProjectKeys []string
ProjectKeys defined from schema:
{ "title": "projectKeys", "type": "array", "items": { "type": "string" } }
type Projects ¶
type Projects []*CreateMetaProject
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 Properties ¶
type Properties []*EntityProperty
Properties defined from schema:
{ "title": "properties", "type": "array", "items": { "title": "Entity Property", "type": "object", "properties": { "key": { "title": "key", "type": "string" }, "value": { "title": "value" } } } }
type RankRequest ¶
type RankRequest struct { Issues []string `json:"issues,omitempty" yaml:"issues,omitempty"` RankBeforeIssue string `json:"rankBeforeIssue,omitempty" yaml:"rankBeforeIssue,omitempty"` RankAfterIssue string `json:"rankAfterIssue,omitempty" yaml:"rankAfterIssue,omitempty"` }
func (*RankRequest) ProvideRankRequest ¶
func (r *RankRequest) ProvideRankRequest() *RankRequest
type RemoteEntityLink ¶
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"` }
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 Remotelinks ¶
type Remotelinks []*RemoteEntityLink
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 SearchRequest ¶
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"` }
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 SearchResults ¶
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"` }
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 SessionInfo ¶
type SessionInfo struct { Name string `json:"name,omitempty" yaml:"name,omitempty"` Value string `json:"value,omitempty" yaml:"value,omitempty"` }
SessionInfo defined from schema:
{ "title": "Session Info", "type": "object", "properties": { "name": { "title": "name", "type": "string" }, "value": { "title": "value", "type": "string" } } }
type SimpleLink ¶
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"` }
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 SimpleListWrapper ¶ added in v1.0.8
type SimpleListWrapper struct { Items Groups `json:"items,omitempty" yaml:"items,omitempty"` MaxResults int `json:"max-results,omitempty" yaml:"max-results,omitempty"` Size int `json:"size,omitempty" yaml:"size,omitempty"` }
SimpleListWrapper defined from schema:
{ "title": "Simple List Wrapper", "type": "object", "properties": { "items": { "type": "array", "items": { "title": "Group", "type": "object", "properties": { "name": { "type": "string" }, "self": { "type": "string" } } } }, "max-results": { "type": "integer" }, "size": { "type": "integer" } } }
type Status ¶
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"` Self string `json:"self,omitempty" yaml:"self,omitempty"` StatusCategory *StatusCategory `json:"statusCategory,omitempty" yaml:"statusCategory,omitempty"` StatusColor string `json:"statusColor,omitempty" yaml:"statusColor,omitempty"` }
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" }, "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 StatusCategory ¶
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"` Self string `json:"self,omitempty" yaml:"self,omitempty"` }
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" }, "self": { "title": "self", "type": "string" } } }
type Transition ¶
type Transition struct { Expand string `json:"expand,omitempty" yaml:"expand,omitempty"` 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"` }
Transition defined from schema:
{ "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" }, "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" }, "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 ¶
type Transitions []*Transition
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": { "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" }, "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" } } } } } }
func (Transitions) Find ¶
func (t Transitions) Find(name string) *Transition
Find will search the transitions for one that matches the given name. It will return a valid trantion that matches or nil
type TransitionsMeta ¶
type TransitionsMeta struct { Expand string `json:"expand,omitempty" yaml:"expand,omitempty"` Transitions Transitions `json:"transitions,omitempty" yaml:"transitions,omitempty"` }
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" }, "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" }, "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 User ¶
type User struct { AccountID string `json:"accountId,omitempty" yaml:"accountId,omitempty"` Active bool `json:"active,omitempty" yaml:"active,omitempty"` ApplicationRoles *SimpleListWrapper `json:"applicationRoles,omitempty" yaml:"applicationRoles,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"` Expand string `json:"expand,omitempty" yaml:"expand,omitempty"` Groups *SimpleListWrapper `json:"groups,omitempty" yaml:"groups,omitempty"` Key string `json:"key,omitempty" yaml:"key,omitempty"` Locale string `json:"locale,omitempty" yaml:"locale,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"` }
User defined from schema:
{ "title": "User", "type": "object", "properties": { "accountId": { "title": "accountId", "type": "string" }, "active": { "title": "active", "type": "boolean" }, "applicationRoles": { "title": "Simple List Wrapper", "type": "object", "properties": { "items": { "type": "array", "items": { "title": "Group", "type": "object", "properties": { "name": { "type": "string" }, "self": { "type": "string" } } } }, "max-results": { "type": "integer" }, "size": { "type": "integer" } } }, "avatarUrls": { "title": "avatarUrls", "type": "object", "patternProperties": { ".+": { "type": "string" } } }, "displayName": { "title": "displayName", "type": "string" }, "emailAddress": { "title": "emailAddress", "type": "string" }, "expand": { "title": "expand", "type": "string" }, "groups": { "title": "Simple List Wrapper", "type": "object", "properties": { "items": { "type": "array", "items": { "title": "Group", "type": "object", "properties": { "name": { "type": "string" }, "self": { "type": "string" } } } }, "max-results": { "type": "integer" }, "size": { "type": "integer" } } }, "key": { "title": "key", "type": "string" }, "locale": { "title": "locale", "type": "string" }, "name": { "title": "name", "type": "string" }, "self": { "title": "self", "type": "string" }, "timeZone": { "title": "timeZone", "type": "string" } } }
type Version ¶
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"` }
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 Versions ¶
type Versions []*Version
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 Visibility ¶
type Visibility struct { Type string `json:"type,omitempty" yaml:"type,omitempty"` Value string `json:"value,omitempty" yaml:"value,omitempty"` }
Visibility defined from schema:
{ "title": "Visibility", "type": "object", "properties": { "type": { "title": "type", "type": "string" }, "value": { "title": "value", "type": "string" } } }
type WarningMessages ¶
type WarningMessages []string
WarningMessages defined from schema:
{ "title": "warningMessages", "type": "array", "items": { "type": "string" } }
type Worklog ¶
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"` }
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" } } } } }
func (*Worklog) ProvideWorklog ¶
type WorklogWithPagination ¶
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"` }
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 Worklogs ¶
type Worklogs []*Worklog
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" } } } } } }
Source Files ¶
- AllowedValues.go
- Attachment.go
- AuthParams.go
- AuthSuccess.go
- ChangeHistory.go
- ChangeItem.go
- Changelog.go
- ClauseNames.go
- Comment.go
- Component.go
- Components.go
- CreateMeta.go
- CreateMetaIssueType.go
- CreateMetaProject.go
- CurrentUser.go
- EditMeta.go
- EntityProperty.go
- EpicIssues.go
- ErrorCollection.go
- ErrorCollectionFuncs.go
- ErrorMessages.go
- Field.go
- FieldMeta.go
- FieldMetaMap.go
- FieldOperation.go
- FieldOperations.go
- FieldOperationsMap.go
- Fields.go
- Group.go
- Groups.go
- Histories.go
- HistoryMetadata.go
- HistoryMetadataParticipant.go
- IncludedFields.go
- Issue.go
- IssueCreateResponse.go
- IssueLinkType.go
- IssueLinkTypes.go
- IssueRef.go
- IssueType.go
- IssueUpdate.go
- Issues.go
- Issuetypes.go
- Items.go
- JSONTypeMap.go
- JsonType.go
- LinkGroup.go
- LinkGroups.go
- LinkIssueRequest.go
- ListOfAttachment.go
- ListOfAttachmentFuncs.go
- LoginInfo.go
- Operations.go
- Opsbar.go
- Priority.go
- Project.go
- ProjectCategory.go
- ProjectKeys.go
- Projects.go
- Properties.go
- RankRequest.go
- RemoteEntityLink.go
- Remotelinks.go
- SearchRequest.go
- SearchResults.go
- SessionInfo.go
- SimpleLink.go
- SimpleListWrapper.go
- Status.go
- StatusCategory.go
- Transition.go
- Transitions.go
- TransitionsFuncs.go
- TransitionsMeta.go
- User.go
- Version.go
- Versions.go
- Visibility.go
- WarningMessages.go
- Worklog.go
- WorklogWithPagination.go
- Worklogs.go
- intOrString.go
- providers.go