Documentation
¶
Index ¶
- Constants
- Variables
- func ParseFloatCustomField(buffer bytes.Buffer, customField string) (float64, error)
- func ParseLabelCustomField(buffer bytes.Buffer, customField string) ([]string, error)
- func ParseStringCustomField(buffer bytes.Buffer, customField string) (string, error)
- type AQLSearchParamsScheme
- type AdminOrganizationPageScheme
- type AdminOrganizationScheme
- type AdminOrganizationUserScheme
- type AdminUserAccountScheme
- type AdminUserExtendedProfileScheme
- type AdminUserPermissionGrantReasonScheme
- type AdminUserPermissionGrantScheme
- type AdminUserPermissionProfileScheme
- type AdminUserPermissionScheme
- type AdminUserPrivacySettingsScheme
- type AdminUserScheme
- type AnnouncementBannerPayloadScheme
- type AnnouncementBannerScheme
- type ApplicationRoleScheme
- type ApproverLinkScheme
- type ApproverScheme
- type ArticleContentScheme
- type ArticlePageLinkScheme
- type ArticlePageScheme
- type ArticleScheme
- type ArticleSourceScheme
- type AttachmentPageScheme
- type AttachmentParamsScheme
- type AttachmentScheme
- type AttachmentSettingScheme
- type AttachmentVersionBodyScheme
- type AttachmentVersionPageScheme
- type AttachmentVersionScheme
- type AttributeScheme
- type AttributesToDisplayScheme
- type AuditRecordAssociatedItemScheme
- type AuditRecordChangedValueScheme
- type AuditRecordGetOptions
- type AuditRecordObjectItemScheme
- type AuditRecordPageScheme
- type AuditRecordScheme
- type AvailableScreenFieldScheme
- type AvatarURLScheme
- type BoardBacklogPayloadScheme
- type BoardColumnConfigurationScheme
- type BoardColumnScheme
- type BoardColumnStatusScheme
- type BoardConfigurationScheme
- type BoardEpicPageScheme
- type BoardEpicScheme
- type BoardEstimationFieldScheme
- type BoardEstimationScheme
- type BoardFilterScheme
- type BoardIssuePageScheme
- type BoardLocationScheme
- type BoardMovementPayloadScheme
- type BoardPageScheme
- type BoardPayloadLocationScheme
- type BoardPayloadScheme
- type BoardProjectCategoryScheme
- type BoardProjectInsightScheme
- type BoardProjectPageScheme
- type BoardProjectScheme
- type BoardRankingScheme
- type BoardScheme
- type BoardSprintPageScheme
- type BoardSprintScheme
- type BoardVersionPageScheme
- type BoardVersionScheme
- type BodyNodeScheme
- type BodyScheme
- type BodyTypeScheme
- type BulkGroupScheme
- type BulkIssueSchemeV2
- type BulkIssueSchemeV3
- type BulkProjectPermissionsScheme
- type CascadingSelectChildScheme
- type CascadingSelectScheme
- type ChangedWorklogPageScheme
- type ChangedWorklogPropertyScheme
- type ChangedWorklogScheme
- type CheckPermissionScheme
- type ChildTypeScheme
- type ChildTypesScheme
- type CommentNodeScheme
- type CommentPayloadScheme
- type CommentPayloadSchemeV2
- type CommentVisibilityScheme
- type ComponentCountScheme
- type ComponentPayloadScheme
- type ComponentScheme
- type ContainerSummaryScheme
- type ContentArchiveIDPayloadScheme
- type ContentArchivePayloadScheme
- type ContentArchiveResultScheme
- type ContentChildrenScheme
- type ContentExtensionScheme
- type ContentHistoryContributorsScheme
- type ContentHistoryScheme
- type ContentLabelPageScheme
- type ContentLabelPayloadScheme
- type ContentLabelScheme
- type ContentMoveScheme
- type ContentPageScheme
- type ContentPropertyPageScheme
- type ContentPropertyPayloadScheme
- type ContentPropertyScheme
- type ContentPropertyVersionScheme
- type ContentRestoreParamsPayloadScheme
- type ContentRestorePayloadScheme
- type ContentRestrictionByOperationScheme
- type ContentRestrictionDetailScheme
- type ContentRestrictionExpandableScheme
- type ContentRestrictionPageScheme
- type ContentRestrictionRestrictionUpdateScheme
- type ContentRestrictionScheme
- type ContentRestrictionUpdatePayloadScheme
- type ContentRestrictionUpdateScheme
- type ContentScheme
- type ContentTaskScheme
- type ContentUserDetailScheme
- type ContentUserScheme
- type ContentVersionPageScheme
- type ContentVersionScheme
- type ContentViewScheme
- type CopyOptionsScheme
- type CopyPageBodyScheme
- type CopyPageDestinationScheme
- type CopyTitleOptionScheme
- type CreateCustomerRequestPayloadScheme
- type CreateSpaceDescriptionPlainScheme
- type CreateSpaceDescriptionScheme
- type CreateSpaceScheme
- type CustomContentBodyScheme
- type CustomContentLinksScheme
- type CustomContentOptionsScheme
- type CustomContentPageLinksScheme
- type CustomContentPageScheme
- type CustomContentPayloadScheme
- type CustomContentPayloadVersionScheme
- type CustomContentScheme
- type CustomContentVersionScheme
- type CustomFieldAssetScheme
- type CustomFieldContextOptionPageScheme
- type CustomFieldContextOptionScheme
- func ParseMultiCheckboxesCustomField(buffer bytes.Buffer, customField string) ([]*CustomFieldContextOptionScheme, error)
- func ParseMultiSelectCustomField(buffer bytes.Buffer, customField string) ([]*CustomFieldContextOptionScheme, error)
- func ParseSelectCustomField(buffer bytes.Buffer, customField string) (*CustomFieldContextOptionScheme, error)
- type CustomFieldContextPageScheme
- type CustomFieldContextProjectMappingPageScheme
- type CustomFieldContextProjectMappingValueScheme
- type CustomFieldDefaultValuePageScheme
- type CustomFieldDefaultValueScheme
- type CustomFieldScheme
- type CustomFields
- func (c *CustomFields) Cascading(customFieldID, parent, child string) error
- func (c *CustomFields) CheckBox(customFieldID string, options []string) error
- func (c *CustomFields) Date(customFieldID string, dateTimeValue time.Time) (err error)
- func (c *CustomFields) DateTime(customFieldID string, dateValue time.Time) error
- func (c *CustomFields) Group(customFieldID, group string) error
- func (c *CustomFields) Groups(customFieldID string, groups []string) error
- func (c *CustomFields) MultiSelect(customFieldID string, options []string) error
- func (c *CustomFields) Number(customFieldID string, numberValue float64) error
- func (c *CustomFields) RadioButton(customFieldID, button string) error
- func (c *CustomFields) Select(customFieldID string, option string) error
- func (c *CustomFields) Text(customFieldID, textValue string) error
- func (c *CustomFields) TextArea(customFieldID string, textAreaValue *CommentNodeScheme) error
- func (c *CustomFields) URL(customFieldID, URL string) error
- func (c *CustomFields) User(customFieldID string, accountID string) error
- func (c *CustomFields) Users(customFieldID string, accountIDs []string) error
- type CustomerApprovalLinkScheme
- type CustomerApprovalPageLinkScheme
- type CustomerApprovalPageScheme
- type CustomerApprovalScheme
- type CustomerApproveScheme
- type CustomerFeedbackCommentScheme
- type CustomerFeedbackScheme
- type CustomerLinkScheme
- type CustomerPageLinksScheme
- type CustomerPageScheme
- type CustomerRequestCurrentStatusScheme
- type CustomerRequestDateScheme
- type CustomerRequestFields
- func (c *CustomerRequestFields) Attachments(attachments []string) error
- func (c *CustomerRequestFields) Cascading(customFieldID, parent, child string) error
- func (c *CustomerRequestFields) CheckBox(customFieldID string, options []string) error
- func (c *CustomerRequestFields) Components(components []string) error
- func (c *CustomerRequestFields) Date(customFieldID string, dateTimeValue time.Time) error
- func (c *CustomerRequestFields) DateTime(customFieldID string, dateValue time.Time) error
- func (c *CustomerRequestFields) Group(customFieldID, group string) error
- func (c *CustomerRequestFields) Groups(customFieldID string, groups []string) error
- func (c *CustomerRequestFields) Labels(labels []string) error
- func (c *CustomerRequestFields) MultiSelect(customFieldID string, options []string) error
- func (c *CustomerRequestFields) Number(customFieldID string, numberValue float64) error
- func (c *CustomerRequestFields) RadioButton(customFieldID, button string) error
- func (c *CustomerRequestFields) Select(customFieldID string, option string) error
- func (c *CustomerRequestFields) Text(customFieldID, textValue string) error
- func (c *CustomerRequestFields) URL(customFieldID, URL string) error
- func (c *CustomerRequestFields) User(customFieldID string, accountID string) error
- func (c *CustomerRequestFields) Users(customFieldID string, accountIDs []string) error
- type CustomerRequestLinksScheme
- type CustomerRequestPageScheme
- type CustomerRequestReporterScheme
- type CustomerRequestRequestFieldValueScheme
- type CustomerRequestScheme
- type CustomerRequestServiceDeskScheme
- type CustomerRequestTransitionPageLinkScheme
- type CustomerRequestTransitionPageScheme
- type CustomerRequestTransitionScheme
- type CustomerRequestTypeScheme
- type CustomerRequestsLinksScheme
- type CustomerScheme
- type DashboardPageScheme
- type DashboardPayloadScheme
- type DashboardScheme
- type DashboardSearchOptionsScheme
- type DashboardSearchPageScheme
- type DetailedVersionScheme
- type EntityPropertyScheme
- type EpicColorScheme
- type EpicScheme
- type EventNotificationScheme
- type ExpandableScheme
- type FieldConfigurationIssueTypeItemPageScheme
- type FieldConfigurationIssueTypeItemScheme
- type FieldConfigurationItemPageScheme
- type FieldConfigurationItemScheme
- type FieldConfigurationPageScheme
- type FieldConfigurationScheme
- type FieldConfigurationSchemeAssignPayload
- type FieldConfigurationSchemePageScheme
- type FieldConfigurationSchemeProjectPageScheme
- type FieldConfigurationSchemeProjectScheme
- type FieldConfigurationSchemeScheme
- type FieldConfigurationToIssueTypeMappingPayloadScheme
- type FieldConfigurationToIssueTypeMappingScheme
- type FieldContextDefaultPayloadScheme
- type FieldContextOptionListScheme
- type FieldContextOptionsScheme
- type FieldContextPayloadScheme
- type FieldContextScheme
- type FieldOptionContextParams
- type FieldSearchOptionsScheme
- type FieldSearchPageScheme
- type FilterDetailScheme
- type FilterPageScheme
- type FilterPayloadScheme
- type FilterScheme
- type FilterSearchOptionScheme
- type FilterSearchPageScheme
- type FilterSubscriptionPageScheme
- type FilterSubscriptionScheme
- type FilterUsersScheme
- type GenericActionSuccessScheme
- type GetBoardsOptions
- type GetContentAttachmentsOptionsScheme
- type GetContentOptionsScheme
- type GetSpacesOptionScheme
- type GetSpacesOptionSchemeV2
- type GroupBulkOptionsScheme
- type GroupDetailScheme
- type GroupMemberPageScheme
- type GroupPermissionScheme
- type GroupScheme
- type GroupUserDetailScheme
- type GroupUserPageScheme
- type IconScheme
- type InfoBuildDataScheme
- type InfoLinkScheme
- type InfoScheme
- type IssueAttachmentHumanMetadataEntryScheme
- type IssueAttachmentHumanMetadataScheme
- type IssueAttachmentMetadataScheme
- type IssueAttachmentScheme
- type IssueBulkResponseErrorScheme
- type IssueBulkResponseScheme
- type IssueBulkSchemeV2
- type IssueBulkSchemeV3
- type IssueChangelogAuthor
- type IssueChangelogHistoryItemScheme
- type IssueChangelogHistoryScheme
- type IssueChangelogScheme
- type IssueCommentPageScheme
- type IssueCommentPageSchemeV2
- type IssueCommentScheme
- type IssueCommentSchemeV2
- type IssueFieldLastUsedScheme
- type IssueFieldSchemaScheme
- type IssueFieldScheme
- type IssueFieldsScheme
- type IssueFieldsSchemeV2
- type IssueLabelsScheme
- type IssueLinkFieldScheme
- type IssueLinkFieldsScheme
- type IssueLinkPageScheme
- type IssueLinkScheme
- type IssueLinkTypeScheme
- type IssueLinkTypeSearchScheme
- type IssueMatchesPageScheme
- type IssueMatchesScheme
- type IssueMetadataCreateOptions
- type IssueMoveOptionsV2
- type IssueMoveOptionsV3
- type IssueNotifyGroupScheme
- type IssueNotifyOptionsScheme
- type IssueNotifyPermissionScheme
- type IssueNotifyRestrictScheme
- type IssueNotifyToScheme
- type IssueNotifyUserScheme
- type IssueOptionScheme
- type IssueResponseScheme
- type IssueScheme
- type IssueSchemeV2
- type IssueSearchCheckPayloadScheme
- type IssueSearchScheme
- type IssueSearchSchemeV2
- type IssueSecurityLevelScheme
- type IssueSecurityLevelsScheme
- type IssueTransitionScheme
- type IssueTransitionsScheme
- type IssueTypePayloadScheme
- type IssueTypeProjectScreenSchemePageScheme
- type IssueTypeScheme
- type IssueTypeSchemeItemPageScheme
- type IssueTypeSchemeMappingScheme
- type IssueTypeSchemePageScheme
- type IssueTypeSchemePayloadScheme
- type IssueTypeSchemeProjectsScheme
- type IssueTypeSchemeScheme
- type IssueTypeScopeScheme
- type IssueTypeScreenSchemeByProjectPageScheme
- type IssueTypeScreenSchemeItemScheme
- type IssueTypeScreenSchemeMappingPayloadScheme
- type IssueTypeScreenSchemeMappingScheme
- type IssueTypeScreenSchemePageScheme
- type IssueTypeScreenSchemePayloadScheme
- type IssueTypeScreenSchemeScheme
- type IssueTypeScreenSchemesProjectScheme
- type IssueTypeScreenScreenCreatedScheme
- type IssueTypeToContextMappingPageScheme
- type IssueTypeToContextMappingValueScheme
- type IssueTypeWorkflowMappingScheme
- type IssueTypeWorkflowPayloadScheme
- type IssueTypesWorkflowMappingScheme
- type IssueVoteScheme
- type IssueWatcherScheme
- type IssueWorklogADFPageScheme
- type IssueWorklogADFScheme
- type IssueWorklogRichTextPageScheme
- type IssueWorklogRichTextScheme
- type IssueWorklogVisibilityScheme
- type JiraTeamCreatePayloadScheme
- type JiraTeamCreateResponseScheme
- type JiraTeamPageScheme
- type JiraTeamPersonScheme
- type JiraTeamResourceScheme
- type JiraTeamScheme
- type JiraTeamUserScheme
- type LabelAssociatedContentPageScheme
- type LabelAssociatedContentScheme
- type LabelDetailsScheme
- type LabelValueScheme
- type LabelsScheme
- type LinkPageModelScheme
- type LinkPayloadSchemeV2
- type LinkPayloadSchemeV3
- type LinkScheme
- type LinkSelfModelScheme
- type LinkTypeScheme
- type LinkedIssueScheme
- type LongTaskDetailsScheme
- type LongTaskMessageScheme
- type LongTaskNameScheme
- type LongTaskPageScheme
- type LongTaskScheme
- type MarkScheme
- type MetadataScheme
- type NewIssueTypeSchemeScheme
- type NewProjectCreatedScheme
- type NotificationEventScheme
- type NotificationSchemeCreatedPayload
- type NotificationSchemeEventNotificationScheme
- type NotificationSchemeEventTypeScheme
- type NotificationSchemeEventsPayloadScheme
- type NotificationSchemePageScheme
- type NotificationSchemePayloadEventScheme
- type NotificationSchemePayloadScheme
- type NotificationSchemeProjectPageScheme
- type NotificationSchemeProjectScheme
- type NotificationSchemeScheme
- type NotificationSchemeSearchOptions
- type ObjectAttributeScheme
- type ObjectAvatarScheme
- type ObjectHistoryActorScheme
- type ObjectHistoryScheme
- type ObjectLinksScheme
- type ObjectListResultScheme
- type ObjectListScheme
- type ObjectPageScheme
- type ObjectPayloadAttributeScheme
- type ObjectPayloadAttributeValueScheme
- type ObjectPayloadScheme
- type ObjectReferenceTypeInfoScheme
- type ObjectSchemaAttributesParamsScheme
- type ObjectSchemaPageScheme
- type ObjectSchemaPayloadScheme
- type ObjectSchemaScheme
- type ObjectSchemaTypePageScheme
- type ObjectScheme
- type ObjectSearchParamsScheme
- type ObjectTypeAssetAttributeDefaultTypeScheme
- type ObjectTypeAssetAttributeReferenceTypeScheme
- type ObjectTypeAssetAttributeStatusScheme
- type ObjectTypeAssetAttributeValueGroupScheme
- type ObjectTypeAssetAttributeValueScheme
- type ObjectTypeAttributeScheme
- type ObjectTypeAttributesParamsScheme
- type ObjectTypePayloadScheme
- type ObjectTypePositionPayloadScheme
- type ObjectTypeScheme
- type OperationPermissionScheme
- type OperationScheme
- type OrderFieldOptionPayloadScheme
- type OrganizationDomainDataScheme
- type OrganizationDomainModelAttributeClaimScheme
- type OrganizationDomainModelAttributesScheme
- type OrganizationDomainModelScheme
- type OrganizationDomainPageScheme
- type OrganizationDomainScheme
- type OrganizationEventActionModelAttributesScheme
- type OrganizationEventActionModelScheme
- type OrganizationEventActionScheme
- type OrganizationEventActorModel
- type OrganizationEventLocationModel
- type OrganizationEventModelAttributesScheme
- type OrganizationEventModelScheme
- type OrganizationEventObjectModel
- type OrganizationEventOptScheme
- type OrganizationEventPageScheme
- type OrganizationEventScheme
- type OrganizationModelAttribute
- type OrganizationModelRelationships
- type OrganizationModelScheme
- type OrganizationModelSchemes
- type OrganizationPageLinkScheme
- type OrganizationPageScheme
- type OrganizationPolicyAttributes
- type OrganizationPolicyData
- type OrganizationPolicyPageScheme
- type OrganizationPolicyResource
- type OrganizationPolicyScheme
- type OrganizationScheme
- type OrganizationUserLinkScheme
- type OrganizationUserPageScheme
- type OrganizationUserProductScheme
- type OrganizationUserScheme
- type OrganizationUsersPageLinkScheme
- type OrganizationUsersPageScheme
- type PageBodyRepresentationScheme
- type PageBodyScheme
- type PageChunkLinksScheme
- type PageChunkScheme
- type PageCreatePayloadScheme
- type PageLinkScheme
- type PageOptionsScheme
- type PageScheme
- type PageUpdatePayloadScheme
- type PageUpdatePayloadVersionScheme
- type PageVersionScheme
- type ParentFieldsScheme
- type ParentScheme
- type ParseQueryScheme
- type ParsedQueryPageScheme
- type PermissionCheckMessageScheme
- type PermissionCheckPayload
- type PermissionCheckResponseScheme
- type PermissionFilterPayloadScheme
- type PermissionGrantHolderScheme
- type PermissionGrantPayloadScheme
- type PermissionGrantScheme
- type PermissionGrantsScheme
- type PermissionScheme
- type PermissionSchemeGrantsScheme
- type PermissionSchemePageScheme
- type PermissionSchemeScheme
- type PermissionScopeItemScheme
- type PermissionSubjectScheme
- type PermittedProjectsScheme
- type PriorityScheme
- type ProfilePictureScheme
- type ProjectCategoryPayloadScheme
- type ProjectCategoryScheme
- type ProjectDetailScheme
- type ProjectFeatureScheme
- type ProjectFeaturesScheme
- type ProjectHierarchyIssueTypeScheme
- type ProjectHierarchyScheme
- type ProjectIdentifierScheme
- type ProjectInsightScheme
- type ProjectIssueTypeSchemePageScheme
- type ProjectIssueTypesScheme
- type ProjectNotificationSchemeEventScheme
- type ProjectPayloadScheme
- type ProjectPermissionGrantsScheme
- type ProjectPropertyPageScheme
- type ProjectPropertyScheme
- type ProjectRequestTypePageLinkScheme
- type ProjectRequestTypePageScheme
- type ProjectRoleDetailScheme
- type ProjectRolePayloadScheme
- type ProjectRoleScheme
- type ProjectRolesScheme
- type ProjectScheme
- type ProjectSearchOptionsScheme
- type ProjectSearchScheme
- type ProjectStatusDetailsScheme
- type ProjectStatusPageScheme
- type ProjectTypeScheme
- type ProjectUpdateScheme
- type ProjectValidationMessageScheme
- type QueryPropertyScheme
- type QueryStructureOrderFieldNodeScheme
- type QueryStructureOrderFieldScheme
- type QueryStructureOrderScheme
- type QueryStructureScheme
- type RemoteLinkApplicationScheme
- type RemoteLinkIdentify
- type RemoteLinkObjectLinkScheme
- type RemoteLinkObjectScheme
- type RemoteLinkObjectStatusScheme
- type RemoteLinkScheme
- type RequestAttachmentCreationCommentScheme
- type RequestAttachmentCreationScheme
- type RequestAttachmentLinkScheme
- type RequestAttachmentPageLinkScheme
- type RequestAttachmentPageScheme
- type RequestAttachmentScheme
- type RequestAuthorScheme
- type RequestCommentLinkScheme
- type RequestCommentPageLinkScheme
- type RequestCommentPageScheme
- type RequestCommentRenderScheme
- type RequestCommentScheme
- type RequestParticipantLinkScheme
- type RequestParticipantPageLinkScheme
- type RequestParticipantPageScheme
- type RequestParticipantScheme
- type RequestSLALinkScheme
- type RequestSLAOngoingCycleScheme
- type RequestSLAPageLinkScheme
- type RequestSLAPageScheme
- type RequestSLAScheme
- type RequestTypeFieldScheme
- type RequestTypeFieldValueScheme
- type RequestTypeFieldsScheme
- type RequestTypeJiraSchema
- type RequestTypePageLinkScheme
- type RequestTypePageScheme
- type RequestTypePayloadScheme
- type RequestTypeScheme
- type ResolutionScheme
- type ResourceMetaScheme
- type ResourceScheme
- type ResponseScheme
- type RoleActorScheme
- type RoleActorUserScheme
- type SCIMEnterpriseUserInfoScheme
- type SCIMExtensionScheme
- type SCIMGroupOperationScheme
- type SCIMGroupOperationValueScheme
- type SCIMGroupPathScheme
- type SCIMSchemaScheme
- type SCIMSchemasScheme
- type SCIMUserComplexOperationScheme
- type SCIMUserEmailScheme
- type SCIMUserGetsOptionsScheme
- type SCIMUserGroupScheme
- type SCIMUserMetaScheme
- type SCIMUserNameScheme
- type SCIMUserPageScheme
- type SCIMUserPhoneNumberScheme
- type SCIMUserScheme
- type SCIMUserToPathOperationScheme
- type SCIMUserToPathScheme
- type SCIMUserToPathValueScheme
- type ScimGroupMemberScheme
- type ScimGroupPageScheme
- type ScimGroupScheme
- type ScimMetadata
- type ScreenFieldPageScheme
- type ScreenParamsScheme
- type ScreenScheme
- type ScreenSchemePageScheme
- type ScreenSchemeParamsScheme
- type ScreenSchemePayloadScheme
- type ScreenSchemeScheme
- type ScreenSearchPageScheme
- type ScreenTabFieldScheme
- type ScreenTabScheme
- type ScreenTypesScheme
- type ScreenWithTabScheme
- type SearchBreadcrumbScheme
- type SearchContentOptions
- type SearchPageLinksScheme
- type SearchPageScheme
- type SearchResultScheme
- type SecurityScheme
- type ServerHealthCheckScheme
- type ServerInformationScheme
- type ServiceDeskIssueQueueScheme
- type ServiceDeskPageLinkScheme
- type ServiceDeskPageScheme
- type ServiceDeskQueuePageLinkScheme
- type ServiceDeskQueuePageScheme
- type ServiceDeskQueueScheme
- type ServiceDeskScheme
- type ServiceDeskTemporaryFileScheme
- type ServiceProviderConfigScheme
- type ServiceRequestOptionScheme
- type ShareFilterScopeScheme
- type SharePermissionScheme
- type SpaceChunkV2Scheme
- type SpaceDescriptionSchemeV2
- type SpaceGroupScheme
- type SpaceHistoryScheme
- type SpaceOperationPayloadScheme
- type SpaceOperationScheme
- type SpacePageLinkSchemeV2
- type SpacePageScheme
- type SpacePermissionArrayPayloadScheme
- type SpacePermissionOperationScheme
- type SpacePermissionPageLinkScheme
- type SpacePermissionPageScheme
- type SpacePermissionPayloadScheme
- type SpacePermissionScheme
- type SpacePermissionV2Scheme
- type SpacePermissionsOperationScheme
- type SpacePermissionsPrincipalScheme
- type SpacePermissionsV2Scheme
- type SpaceScheme
- type SpaceSchemeV2
- type SprintDetailScheme
- type SprintIssuePageScheme
- type SprintIssueScheme
- type SprintMovePayloadScheme
- type SprintPayloadScheme
- type SprintScheme
- type StatusCategoryScheme
- type StatusDetailScheme
- type StatusScheme
- type SubAttributeScheme
- type SubjectPermissionScheme
- type TaskLinkScheme
- type TaskScheme
- type TeamManagedProjectScopeScheme
- type TemporaryAttachmentScheme
- type TicketPageScheme
- type TicketPriorityScheme
- type TicketScheme
- type TicketStatusScheme
- type TicketTypeScheme
- type TypeReferenceScheme
- type UpdateFieldConfigurationItemPayloadScheme
- type UpdateOperations
- type UpdateSpaceHomepageScheme
- type UpdateSpaceScheme
- type UserApplicationRoleItemsScheme
- type UserApplicationRolesScheme
- type UserBusinessDetailScheme
- type UserDetailScheme
- type UserGroupScheme
- type UserGroupsScheme
- type UserPayloadScheme
- type UserPermissionCheckParamsScheme
- type UserPermissionScheme
- type UserPersonalDetailScheme
- type UserProductAccessDataScheme
- type UserProductAccessScheme
- type UserProductLastActiveScheme
- type UserScheme
- type UserSearchPageScheme
- type UserTokensScheme
- type VersionCollaboratorsScheme
- type VersionDetailScheme
- type VersionGetsOptions
- type VersionIssueCountCustomFieldUsageScheme
- type VersionIssueCountsScheme
- type VersionIssuesStatusForFixVersionScheme
- type VersionOperation
- type VersionPageScheme
- type VersionPayloadScheme
- type VersionScheme
- type VersionUnresolvedIssuesCountScheme
- type WorkSpaceLinksPageScheme
- type WorkSpacePageScheme
- type WorkSpaceScheme
- type WorkflowConditionScheme
- type WorkflowCreatedResponseScheme
- type WorkflowPageScheme
- type WorkflowPayloadScheme
- type WorkflowPublishedIDScheme
- type WorkflowScheme
- type WorkflowSchemeAssociationPageScheme
- type WorkflowSchemeAssociationsScheme
- type WorkflowSchemePageScheme
- type WorkflowSchemePayloadScheme
- type WorkflowSchemeScheme
- type WorkflowSearchOptions
- type WorkflowStatusDetailPageScheme
- type WorkflowStatusDetailScheme
- type WorkflowStatusNodeScheme
- type WorkflowStatusPayloadScheme
- type WorkflowStatusProjectScheme
- type WorkflowStatusPropertiesScheme
- type WorkflowStatusScheme
- type WorkflowStatusScopeScheme
- type WorkflowStatusSearchParams
- type WorkflowTransitionPayloadScheme
- type WorkflowTransitionRulePayloadScheme
- type WorkflowTransitionRuleScheme
- type WorkflowTransitionRulesScheme
- type WorkflowTransitionScheme
- type WorkflowTransitionScreenPayloadScheme
- type WorkflowTransitionScreenScheme
- type WorklogADFPayloadScheme
- type WorklogOptionsScheme
- type WorklogRichTextPayloadScheme
Constants ¶
View Source
const ( BusinessContentManagementProjectTemplate = "com.atlassian.jira-core-project-templates:jira-core-simplified-content-management" BusinessDocumentApprovalProjectTemplate = "com.atlassian.jira-core-project-templates:jira-core-simplified-document-approval" BusinessLeadTrackingProjectTemplate = "com.atlassian.jira-core-project-templates:jira-core-simplified-lead-tracking" BusinessProcessControlProjectTemplate = "com.atlassian.jira-core-project-templates:jira-core-simplified-process-control" BusinessProcurementProjectTemplate = "com.atlassian.jira-core-project-templates:jira-core-simplified-procurement" BusinessProjectManagementProjectTemplate = "com.atlassian.jira-core-project-templates:jira-core-simplified-project-management" BusinessRecruitmentProjectTemplate = "com.atlassian.jira-core-project-templates:jira-core-simplified-recruitment" BusinessTaskTrackingProjectTemplate = "com.atlassian.jira-core-project-templates:jira-core-simplified-task-tracking" ITSMServiceDeskProjectTemplate = "com.atlassian.servicedesk:simplified-it-service-desk" ITSMInternalServiceDeskProjectTemplate = "com.atlassian.servicedesk:simplified-internal-service-desk" ITSMExternalServiceDeskProjectTemplate = "com.atlassian.servicedesk:simplified-external-service-desk" SoftwareTeamManagedKanbanProjectTemplate = "com.pyxis.greenhopper.jira:gh-simplified-agility-kanban" SoftwareTeamManagedScrumProjectTemplate = "com.pyxis.greenhopper.jira:gh-simplified-agility-scrum" SoftwareCompanyManagedKanbanProjectTemplate = "com.pyxis.greenhopper.jira:gh-simplified-kanban-classic" SoftwareCompanyManagedScrumProjectTemplate = "com.pyxis.greenhopper.jira:gh-simplified-scrum-classic" )
View Source
const (
DateFormatJira = "2006-01-02T15:04:05.999-0700"
)
Variables ¶
View Source
var ( ErrNoSCIMComplexValueError = errors.New("admin: no scim complex value set") ErrNoSCIMValueError = errors.New("admin: no scim value set") ErrNoSCIMPathError = errors.New("admin: no scim path set") ErrNoSCIMOperationError = errors.New("admin: no scim operation value set") ErrNoAdminOrganizationError = errors.New("admin: no organization id set") ErrNoAdminDomainIDError = errors.New("admin: no domain id set") ErrNoEventIDError = errors.New("admin: no event id set") ErrNoAdminPolicyError = errors.New("admin: no organization policy id set") ErrNoAdminDirectoryIDError = errors.New("admin: no directory id set") ErrNoAdminGroupIDError = errors.New("admin: no group id set") ErrNoAdminGroupNameError = errors.New("admin: no group name set") ErrNoAdminUserIDError = errors.New("admin: no user id set") ErrNoAdminAccountIDError = errors.New("admin: no account id set") ErrNoAdminUserTokenError = errors.New("admin: no user token id set") ErrNoCustomerMailError = errors.New("sm: no customer mail set") ErrNoCustomerDisplayNameError = errors.New("sm: no customer display name set") ErrNoKBQueryError = errors.New("sm: no knowledge base query set") ErrNoOrganizationNameError = errors.New("sm: no organization name set") ErrNoOrganizationIDError = errors.New("sm: no organization id set") ErrNoCommentBodyError = errors.New("sm/jira: no comment body set") ErrNoServiceDeskIDError = errors.New("sm: no service desk id set") ErrNoQueueIDError = errors.New("sm: no service desk queue id set") ErrNoRequestTypeIDError = errors.New("sm: no request type id set") ErrNoFileNameError = errors.New("sm: no file name set") ErrNoFileReaderError = errors.New("sm: no io.Reader set") ErrNoCustomRequestFieldsError = errors.New("sm: no customer request fields set") ErrNoSLAMetricIDError = errors.New("sm: no sla metric id set") ErrNoContentAttachmentIDError = errors.New("confluence: no attachment id set") ErrNoContentAttachmentNameError = errors.New("confluence: no attachment filename set") ErrNoContentReaderError = errors.New("confluence: no reader set") ErrNoContentIDError = errors.New("confluence: no content id set") ErrNoCustomContentTypeError = errors.New("confluence: no custom content type set") ErrNoCustomContentIDError = errors.New("confluence: no custom content id set") ErrNoPageIDError = errors.New("confluence: no page id set") ErrNoSpaceIDError = errors.New("confluence: no space id set") ErrNoTargetIDError = errors.New("confluence: no target id set") ErrNoPositionError = errors.New("confluence: no position set") ErrInvalidPositionError = errors.New("confluence: invalid position: (before, after, append)") ValidPositions = map[string]bool{"before": true, "after": true, "append": true} ErrNoLabelIDError = errors.New("confluence: no label id set") ErrNoCQLError = errors.New("confluence: no CQL query set") ErrNoContentTypeError = errors.New("confluence: no content type set") ErrNoEntityIDError = errors.New("confluence: no entity id set") ValidEntityValues = []string{"blogposts", "custom-content", "labels", "pages"} ErrNoEntityValue = errors.New("confluence: no valid entity id set") ErrInvalidContentTypeError = errors.New("confluence: invalid content type: (page, comment, attachment)") ValidContentTypes = []string{"page", "comment", "attachment"} ErrNoContentLabelError = errors.New("confluence: no content label set") ErrNoContentPropertyError = errors.New("confluence: no content property set") ErrNoSpaceNameError = errors.New("confluence: no space name set") ErrNoSpaceKeyError = errors.New("confluence: no space key set") ErrNoContentRestrictionKeyError = errors.New("confluence: no content restriction operation key set") ErrNoConfluenceGroupError = errors.New("confluence: no group id or name set") ErrNoLabelNameError = errors.New("confluence: no label name set") ErrNoBoardIDError = errors.New("agile: no board id set") ErrNoFilterIDError = errors.New("agile: no filter id set") ErrNoNotificationSchemeIDError = errors.New("jira: no notification scheme id set") ErrNoNotificationIDError = errors.New("jira: no notification id set") ErrNoEpicIDError = errors.New("agile: no epic id set") ErrNoSprintIDError = errors.New("agile: no sprint id set") ErrNoApplicationRoleError = errors.New("jira: no application role key set") ErrNoDashboardIDError = errors.New("jira: no dashboard id set") ErrNoGroupNameError = errors.New("jira: no group name set") ErrNoGroupIDError = errors.New("jira: no group name set") ErrNoGroupsNameError = errors.New("jira: no groups names set") ErrNoIssueKeyOrIDError = errors.New("jira: no issue key/id set") ErrNoRemoteLinkIDError = errors.New("jira: no remote link id set") ErrNoRemoteLinkGlobalIDError = errors.New("jira: no global remote link id set") ErrNoTransitionIDError = errors.New("jira: no transition id set") ErrNoAttachmentIDError = errors.New("jira: no attachment id set") ErrNoAttachmentNameError = errors.New("jira: no attachment filename set") ErrNoReaderError = errors.New("jira: no reader set") ErrNoCommentIDError = errors.New("jira: no comment id set") ErrNoProjectIDError = errors.New("jira: no project id set") ErrNoProjectIDOrKeyError = errors.New("jira: no project id or key set") ErrNoProjectRoleIDError = errors.New("jira: no project role id set") ErrNoProjectCategoryIDError = errors.New("jira: no project category id set") ErrNoPropertyKeyError = errors.New("jira: no property key set") ErrNoProjectFeatureKeyError = errors.New("jira: no project feature key set") ErrNoProjectFeatureStateError = errors.New("jira: no project state key set") ErrNoFieldIDError = errors.New("jira: no field id set") ErrNoEditOperatorError = errors.New("jira: no update operation set") ErrNoOperatorError = errors.New("jira: no operation set") ErrNoEditValueError = errors.New("jira: no update operation value set") ErrNoCustomFieldError = errors.New("jira: no custom-fields set") ErrNoCustomFieldIDError = errors.New("jira: no custom-field id set") ErrNoWorkflowStatusesError = errors.New("jira: no workflow statuses set") ErrNoWorkflowScopeError = errors.New("jira: no workflow scope set") ErrNoWorkflowStatusNameOrIdError = errors.New("jira: no workflow status name or id set") ErrNoFieldContextIDError = errors.New("jira: no field context id set") ErrNoIssueTypesError = errors.New("jira: no issue types id's set") ErrNoProjectsError = errors.New("jira: no projects set") ErrNoContextOptionIDError = errors.New("jira: no field context option id set") ErrNoTypeIDError = errors.New("jira: no link id set") ErrNoLinkTypeIDError = errors.New("jira: no link type id set") ErrNoPriorityIDError = errors.New("jira: no priority id set") ErrNoResolutionIDError = errors.New("jira: no resolution id set") ErrNoJQLError = errors.New("jira: no sql set") ErrNoIssueTypeIDError = errors.New("jira: no issue type id set") ErrNoIssueTypeScreenSchemeIDError = errors.New("jira: no issue type screen scheme id set") ErrNoScreenSchemeIDError = errors.New("jira: no screen scheme id set") ErrNoAccountIDError = errors.New("jira: no account id set") ErrNoWorklogIDError = errors.New("jira: no worklog id set") ErrNpWorklogsError = errors.New("jira: no worklog's id set") ErrNoPermissionSchemeIDError = errors.New("jira: no permission scheme id set") ErrNoPermissionGrantIDError = errors.New("jira: no permission grant id set") ErrNoPermissionKeysError = errors.New("jira: no permission keys set") ErrNoComponentIDError = errors.New("jira: no component id set") ErrProjectTypeKeyError = errors.New("jira: no project type key set") ErrNoProjectNameError = errors.New("jira: no project name set") ErrNoVersionIDError = errors.New("jira: no version id set") ErrNoScreenNameError = errors.New("jira: no screen name set") ErrNoScreenTabNameError = errors.New("jira: no screen tab name set") ErrNoAccountSliceError = errors.New("jira: no account id's set") ErrNoProjectKeySliceError = errors.New("jira: no project key's set") ErrNoProjectIDsError = errors.New("jira: no project id's set") ErrNoWorkflowIDError = errors.New("jira: no workflow id set") ErrNoWorkflowSchemeIDError = errors.New("jira: no workflow scheme id set") ErrNoScreenIDError = errors.New("jira: no screen id set") ErrNoScreenTabIDError = errors.New("jira: no screen tab id set") ErrNoFieldConfigurationNameError = errors.New("jira: no field configuration name set") ErrNoFieldConfigurationIDError = errors.New("jira: no field configuration id set") ErrNoFieldConfigurationSchemeNameError = errors.New("jira: no field configuration scheme name set") ErrNoFieldConfigurationSchemeIDError = errors.New("jira: no field configuration scheme id set") ErrNoVersionProvided = errors.New("client: no module version set") ErrNoIssueTypeSchemeIDError = errors.New("jira: no issue type scheme id set") ErrNoTaskIDError = errors.New("atlassian: no task id set") ErrNoApprovalIDError = errors.New("jira: no approval id set") ErrInvalidStatusCodeError = errors.New("client: invalid http response status, please refer the response.body for more details") ErrNotFound = errors.New("client: no atlassian resource found") ErrInternalError = errors.New("client: atlassian internal error") ErrBadRequestError = errors.New("client: atlassian invalid payload") ErrNilPayloadError = errors.New("client: please provide the necessary payload struct") ErrNonPayloadPointerError = errors.New("client: please provide a valid payload struct pointer (&)") ErrNoFieldInformationError = errors.New("custom-field: please provide a buffer with a valid fields object") ErrNoCustomFieldUnmarshalError = errors.New("custom-field: no valid json provided") ErrNoMultiSelectTypeError = errors.New("custom-field: no multiselect type found") ErrNoAssetTypeError = errors.New("custom-field: no asset type found") ErrNoUrlTypeError = errors.New("custom-field: no url type set") ErrNoTextTypeError = errors.New("custom-field: no text type set") ErrNoDateTimeTypeError = errors.New("custom-field: no date-time type set") ErrNoDateTypeError = errors.New("custom-field: no date type set") ErrNoSelectTypeError = errors.New("custom-field: no select type set") ErrNoButtonTypeError = errors.New("custom-field: no button type set") ErrNoUserTypeError = errors.New("custom-field: no user type set") ErrNoMultiUserTypeError = errors.New("custom-field: no multi-user type set") ErrNoCheckBoxTypeError = errors.New("custom-field: no check-box type set") ErrNoCascadingParentError = errors.New("custom-field: no cascading parent value set") ErrNoCascadingChildError = errors.New("custom-field: no cascading child value set") ErrNoAttachmentIdsError = errors.New("sm: no attachment id's set") ErrNoLabelsError = errors.New("sm: no label names set") ErrNoComponentsError = errors.New("sm: no components set") ErrNoWorkspaceIDError = errors.New("assets: no workspace id set") ErrNoAqlQueryError = errors.New("assets: no aql query id set") ErrNoIconIDError = errors.New("assets: no icon id set") ErrNoObjectIDError = errors.New("assets: no object id set") ErrNoObjectSchemaIDError = errors.New("assets: no object schema id set") ErrNoObjectTypeIDError = errors.New("assets: no object type id set") ErrNoObjectTypeAttributeIDError = errors.New("assets: no object type attribute id set") ErrNoSiteError = errors.New("client: no atlassian site set") ErrNoCreateIssuesError = errors.New("jira: no issues payload set") ErrNoIssueSchemeError = errors.New("jira: no issue instance set") )
Functions ¶
func ParseFloatCustomField ¶
func ParseLabelCustomField ¶
Types ¶
type AQLSearchParamsScheme ¶
type AQLSearchParamsScheme struct { // The query to determine which objects that should be fetched. // // E.g. objectType = "Computer". The empty AQL means all objects Query string `query:"qlQuery,omitempty"` // Which page to fetch when paginating through the response Page int `query:"page,omitempty"` // The amount of objects returned per page ResultPerPage int `query:"resultPerPage,omitempty"` // Should the objects attributes be included in the response. // // If this parameter is false only the information on the object will // // be returned and the object attributes will not be present IncludeAttributes bool `query:"includeAttributes,omitempty"` // How many levels of attributes should be included. // // E.g. consider an object A that has a reference to object B that has a reference to object C. // // If object A is included in the response and includeAttributesDeep=1 object A's reference to // // object B will be included in the attributes of object A but object B's reference to // // object C will not be included. However, if the includeAttributesDeep=2 then object B's // // reference to object C will be included in object B's attributes IncludeAttributesDeep bool `query:"includeAttributesDeep,omitempty"` // Should the response include the object type attribute definition // // for each attribute that is returned with the objects IncludeTypeAttributes bool `query:"includeTypeAttributes,omitempty"` // Include information about open Jira issues. // // Should each object have information if open tickets are connected to the object? IncludeExtendedInfo bool `query:"includeExtendedInfo,omitempty"` }
type AdminOrganizationPageScheme ¶
type AdminOrganizationPageScheme struct { Data []*OrganizationModelScheme `json:"data,omitempty"` Links *LinkPageModelScheme `json:"links,omitempty"` }
type AdminOrganizationScheme ¶
type AdminOrganizationScheme struct {
Data *OrganizationModelScheme `json:"data,omitempty"`
}
type AdminOrganizationUserScheme ¶
type AdminOrganizationUserScheme struct { AccountID string `json:"account_id,omitempty"` AccountType string `json:"account_type,omitempty"` AccountStatus string `json:"account_status,omitempty"` Name string `json:"name,omitempty"` Picture string `json:"picture,omitempty"` Email string `json:"email,omitempty"` AccessBillable bool `json:"access_billable,omitempty"` LastActive string `json:"last_active,omitempty"` ProductAccess []*OrganizationUserProductScheme `json:"product_access,omitempty"` Links *LinkSelfModelScheme `json:"links,omitempty"` }
type AdminUserAccountScheme ¶
type AdminUserAccountScheme struct { AccountID string `json:"account_id,omitempty"` Name string `json:"name,omitempty"` Nickname string `json:"nickname,omitempty"` ZoneInfo string `json:"zoneinfo,omitempty"` Locale string `json:"locale,omitempty"` Email string `json:"email,omitempty"` Picture string `json:"picture,omitempty"` AccountType string `json:"account_type,omitempty"` AccountStatus string `json:"account_status,omitempty"` EmailVerified bool `json:"email_verified,omitempty"` ExtendedProfile *AdminUserExtendedProfileScheme `json:"extended_profile"` PrivacySettings *AdminUserPrivacySettingsScheme `json:"privacy_settings"` }
type AdminUserPermissionGrantReasonScheme ¶
type AdminUserPermissionGrantReasonScheme struct {
Key string `json:"key,omitempty"`
}
type AdminUserPermissionGrantScheme ¶
type AdminUserPermissionGrantScheme struct { Allowed bool `json:"allowed,omitempty"` Reason *AdminUserPermissionGrantReasonScheme `json:"reason,omitempty"` }
type AdminUserPermissionProfileScheme ¶
type AdminUserPermissionProfileScheme struct { Name *AdminUserPermissionGrantScheme `json:"name,omitempty"` Nickname *AdminUserPermissionGrantScheme `json:"nickname,omitempty"` Zoneinfo *AdminUserPermissionGrantScheme `json:"zoneinfo,omitempty"` Locale *AdminUserPermissionGrantScheme `json:"locale,omitempty"` ExtendedProfilePhoneNumber *AdminUserPermissionGrantScheme `json:"extended_profile.phone_number,omitempty"` ExtendedProfileJobTitle *AdminUserPermissionGrantScheme `json:"extended_profile.job_title,omitempty"` ExtendedProfileOrganization *AdminUserPermissionGrantScheme `json:"extended_profile.organization,omitempty"` ExtendedProfileDepartment *AdminUserPermissionGrantScheme `json:"extended_profile.department,omitempty"` ExtendedProfileLocation *AdminUserPermissionGrantScheme `json:"extended_profile.location,omitempty"` ExtendedProfileTeamType *AdminUserPermissionGrantScheme `json:"extended_profile.team_type,omitempty"` }
type AdminUserPermissionScheme ¶
type AdminUserPermissionScheme struct { EmailSet *AdminUserPermissionGrantScheme `json:"email.set,omitempty"` LifecycleEnablement *AdminUserPermissionGrantScheme `json:"lifecycle.enablement,omitempty"` Profile *AdminUserPermissionProfileScheme `json:"profile,omitempty"` ProfileWrite *AdminUserPermissionProfileScheme `json:"profile.write,omitempty"` ProfileRead *AdminUserPermissionGrantScheme `json:"profile.read,omitempty"` LinkedAccountsRead *AdminUserPermissionGrantScheme `json:"linkedAccounts.read,omitempty"` APITokenRead *AdminUserPermissionGrantScheme `json:"apiToken.read,omitempty"` APITokenDelete *AdminUserPermissionGrantScheme `json:"apiToken.delete,omitempty"` Avatar *AdminUserPermissionGrantScheme `json:"avatar,omitempty"` PrivacySet *AdminUserPermissionGrantScheme `json:"privacy.set,omitempty"` SessionRead *AdminUserPermissionGrantScheme `json:"session.read,omitempty"` }
type AdminUserPrivacySettingsScheme ¶
type AdminUserPrivacySettingsScheme struct { Name string `json:"name,omitempty"` Nickname string `json:"nickname,omitempty"` Picture string `json:"picture,omitempty"` ExtendedProfileJobTitle string `json:"extended_profile.job_title,omitempty"` ExtendedProfileDepartment string `json:"extended_profile.department,omitempty"` ExtendedProfileOrganization string `json:"extended_profile.organization,omitempty"` ExtendedProfileLocation string `json:"extended_profile.location,omitempty"` ZoneInfo string `json:"zoneinfo,omitempty"` Email string `json:"email,omitempty"` ExtendedProfilePhoneNumber string `json:"extended_profile.phone_number,omitempty"` ExtendedProfileTeamType string `json:"extended_profile.team_type,omitempty"` }
type AdminUserScheme ¶
type AdminUserScheme struct {
Account *AdminUserAccountScheme `json:"account,omitempty"`
}
type ApplicationRoleScheme ¶
type ApplicationRoleScheme struct { Key string `json:"key,omitempty"` Groups []string `json:"groups,omitempty"` Name string `json:"name,omitempty"` DefaultGroups []string `json:"defaultGroups,omitempty"` SelectedByDefault bool `json:"selectedByDefault,omitempty"` Defined bool `json:"defined,omitempty"` NumberOfSeats int `json:"numberOfSeats,omitempty"` RemainingSeats int `json:"remainingSeats,omitempty"` UserCount int `json:"userCount,omitempty"` UserCountDescription string `json:"userCountDescription,omitempty"` HasUnlimitedSeats bool `json:"hasUnlimitedSeats,omitempty"` Platform bool `json:"platform,omitempty"` }
type ApproverLinkScheme ¶
type ApproverLinkScheme struct { JiraRest string `json:"jiraRest,omitempty"` AvatarUrls *AvatarURLScheme `json:"avatarUrls,omitempty"` Self string `json:"self,omitempty"` }
type ApproverScheme ¶
type ApproverScheme struct { AccountID string `json:"accountId,omitempty"` Name string `json:"name,omitempty"` Key string `json:"key,omitempty"` EmailAddress string `json:"emailAddress,omitempty"` DisplayName string `json:"displayName,omitempty"` Active bool `json:"active,omitempty"` TimeZone string `json:"timeZone,omitempty"` Links *ApproverLinkScheme `json:"_links,omitempty"` }
type ArticleContentScheme ¶
type ArticleContentScheme struct {
IframeSrc string `json:"iframeSrc,omitempty"`
}
type ArticlePageLinkScheme ¶
type ArticlePageScheme ¶
type ArticlePageScheme struct { Size int `json:"size,omitempty"` Start int `json:"start,omitempty"` Limit int `json:"limit,omitempty"` IsLastPage bool `json:"isLastPage,omitempty"` Values []*ArticleScheme `json:"values,omitempty"` Expands []string `json:"_expands,omitempty"` Links *ArticlePageLinkScheme `json:"_links,omitempty"` }
type ArticleScheme ¶
type ArticleScheme struct { Title string `json:"title,omitempty"` Excerpt string `json:"excerpt,omitempty"` Source *ArticleSourceScheme `json:"source,omitempty"` Content *ArticleContentScheme `json:"content,omitempty"` }
type ArticleSourceScheme ¶
type ArticleSourceScheme struct {
Type string `json:"type,omitempty"`
}
type AttachmentPageScheme ¶
type AttachmentPageScheme struct { Results []*AttachmentScheme `json:"results,omitempty"` Links *PageLinkScheme `json:"_links,omitempty"` }
type AttachmentParamsScheme ¶
type AttachmentParamsScheme struct { // Sort it's used to sort the result by a particular field. // Valid values: // created-date // -created-date // modified-date // -modified-date Sort string // MediaType filters the mediaType of attachments. Only one may be specified. MediaType string // FileName filters on the file-name of attachments. Only one may be specified. FileName string SerializeIDs bool }
type AttachmentScheme ¶
type AttachmentScheme struct { ID string `json:"id,omitempty"` BlogPostID string `json:"blogPostId,omitempty"` CustomContentID string `json:"customContentId,omitempty"` Comment string `json:"comment,omitempty"` MediaTypeDescription string `json:"mediaTypeDescription,omitempty"` WebuiLink string `json:"webuiLink,omitempty"` DownloadLink string `json:"downloadLink,omitempty"` Title string `json:"title,omitempty"` Status string `json:"status,omitempty"` FileSize int `json:"fileSize,omitempty"` MediaType string `json:"mediaType,omitempty"` PageID string `json:"pageId,omitempty"` FileID string `json:"fileId,omitempty"` Version *AttachmentVersionScheme `json:"version,omitempty"` }
type AttachmentSettingScheme ¶
type AttachmentVersionPageScheme ¶
type AttachmentVersionPageScheme struct { Results []*AttachmentVersionScheme `json:"results,omitempty"` Links *PageLinkScheme `json:"_links,omitempty"` }
type AttachmentVersionScheme ¶
type AttachmentVersionScheme struct { CreatedAt string `json:"createdAt,omitempty"` Message string `json:"message,omitempty"` Number int `json:"number,omitempty"` MinorEdit bool `json:"minorEdit,omitempty"` AuthorID string `json:"authorId,omitempty"` Attachment *AttachmentVersionBodyScheme `json:"attachment,omitempty"` }
type AttributeScheme ¶
type AttributeScheme struct { Name string `json:"name,omitempty"` Type string `json:"type,omitempty"` MultiValued bool `json:"multiValued,omitempty"` Description string `json:"description,omitempty"` Required bool `json:"required,omitempty"` CaseExact bool `json:"caseExact,omitempty"` Mutability string `json:"mutability,omitempty"` Returned string `json:"returned,omitempty"` Uniqueness string `json:"uniqueness,omitempty"` SubAttributes []*SubAttributeScheme `json:"subAttributes,omitempty"` }
type AttributesToDisplayScheme ¶
type AttributesToDisplayScheme struct {
AttributesToDisplayIds []int `json:"attributesToDisplayIds,omitempty"`
}
type AuditRecordGetOptions ¶
type AuditRecordPageScheme ¶
type AuditRecordPageScheme struct { Offset int `json:"offset,omitempty"` Limit int `json:"limit,omitempty"` Total int `json:"total,omitempty"` Records []*AuditRecordScheme `json:"records,omitempty"` }
type AuditRecordScheme ¶
type AuditRecordScheme struct { ID int `json:"id,omitempty"` Summary string `json:"summary,omitempty"` RemoteAddress string `json:"remoteAddress,omitempty"` AuthorKey string `json:"authorKey,omitempty"` Created string `json:"created,omitempty"` Category string `json:"category,omitempty"` EventSource string `json:"eventSource,omitempty"` Description string `json:"description,omitempty"` ObjectItem *AuditRecordObjectItemScheme `json:"objectItem,omitempty"` ChangedValues []*AuditRecordChangedValueScheme `json:"changedValues,omitempty"` AssociatedItems []*AuditRecordAssociatedItemScheme `json:"associatedItems,omitempty"` }
type AvatarURLScheme ¶
type BoardColumnConfigurationScheme ¶
type BoardColumnConfigurationScheme struct { Columns []*BoardColumnScheme `json:"columns,omitempty"` ConstraintType string `json:"constraintType,omitempty"` }
type BoardColumnScheme ¶
type BoardColumnScheme struct { Name string `json:"name,omitempty"` Statuses []*BoardColumnStatusScheme `json:"statuses,omitempty"` }
type BoardColumnStatusScheme ¶
type BoardConfigurationScheme ¶
type BoardConfigurationScheme struct { ID int `json:"id,omitempty"` Name string `json:"name,omitempty"` Type string `json:"type,omitempty"` Self string `json:"self,omitempty"` Location *BoardLocationScheme `json:"location,omitempty"` Filter *BoardFilterScheme `json:"filter,omitempty"` ColumnConfig *BoardColumnConfigurationScheme `json:"columnConfig,omitempty"` Estimation *BoardEstimationScheme `json:"estimation,omitempty"` Ranking *BoardRankingScheme `json:"ranking,omitempty"` }
type BoardEpicPageScheme ¶
type BoardEpicPageScheme struct { MaxResults int `json:"maxResults,omitempty"` StartAt int `json:"startAt,omitempty"` IsLast bool `json:"isLast,omitempty"` Values []*BoardEpicScheme `json:"values,omitempty"` }
type BoardEpicScheme ¶
type BoardEpicScheme struct { ID int `json:"id,omitempty"` Key string `json:"key,omitempty"` Self string `json:"self,omitempty"` Name string `json:"name,omitempty"` Summary string `json:"summary,omitempty"` Color struct { Key string `json:"key,omitempty"` } `json:"color,omitempty"` Done bool `json:"done,omitempty"` }
type BoardEstimationScheme ¶
type BoardEstimationScheme struct { Type string `json:"type,omitempty"` Field *BoardEstimationFieldScheme `json:"field,omitempty"` }
type BoardFilterScheme ¶
type BoardIssuePageScheme ¶
type BoardIssuePageScheme struct { Expand string `json:"expand,omitempty"` StartAt int `json:"startAt,omitempty"` MaxResults int `json:"maxResults,omitempty"` Total int `json:"total,omitempty"` Issues []*IssueSchemeV2 `json:"issues,omitempty"` }
type BoardLocationScheme ¶
type BoardLocationScheme struct { ProjectID int `json:"projectId,omitempty"` DisplayName string `json:"displayName,omitempty"` ProjectName string `json:"projectName,omitempty"` ProjectKey string `json:"projectKey,omitempty"` ProjectTypeKey string `json:"projectTypeKey,omitempty"` AvatarURI string `json:"avatarURI,omitempty"` Name string `json:"name,omitempty"` }
type BoardPageScheme ¶
type BoardPageScheme struct { MaxResults int `json:"maxResults"` StartAt int `json:"startAt"` Total int `json:"total"` IsLast bool `json:"isLast"` Values []*BoardScheme `json:"values"` }
type BoardPayloadScheme ¶
type BoardPayloadScheme struct { Name string `json:"name,omitempty"` Type string `json:"type,omitempty"` FilterID int `json:"filterId,omitempty"` Location *BoardPayloadLocationScheme `json:"location,omitempty"` }
type BoardProjectPageScheme ¶
type BoardProjectPageScheme struct { MaxResults int `json:"maxResults,omitempty"` StartAt int `json:"startAt,omitempty"` Total int `json:"total,omitempty"` IsLast bool `json:"isLast,omitempty"` Values []*BoardProjectScheme `json:"values,omitempty"` }
type BoardProjectScheme ¶
type BoardProjectScheme struct { Self string `json:"self,omitempty"` ID string `json:"id,omitempty"` Key string `json:"key,omitempty"` Name string `json:"name,omitempty"` ProjectCategory *BoardProjectCategoryScheme `json:"projectCategory,omitempty"` Simplified bool `json:"simplified,omitempty"` Style string `json:"style,omitempty"` Insight *BoardProjectInsightScheme `json:"insight,omitempty"` }
type BoardRankingScheme ¶
type BoardRankingScheme struct {
RankCustomFieldID int `json:"rankCustomFieldId,omitempty"`
}
type BoardScheme ¶
type BoardScheme struct { ID int `json:"id,omitempty"` Self string `json:"self,omitempty"` Name string `json:"name,omitempty"` Type string `json:"type,omitempty"` Location *BoardLocationScheme `json:"location,omitempty"` }
type BoardSprintPageScheme ¶
type BoardSprintPageScheme struct { MaxResults int `json:"maxResults,omitempty"` StartAt int `json:"startAt,omitempty"` IsLast bool `json:"isLast,omitempty"` Total int `json:"total,omitempty"` Values []*BoardSprintScheme `json:"values,omitempty"` }
type BoardSprintScheme ¶
type BoardSprintScheme struct { ID int `json:"id,omitempty"` Self string `json:"self,omitempty"` State string `json:"state,omitempty"` Name string `json:"name,omitempty"` StartDate time.Time `json:"startDate,omitempty"` EndDate time.Time `json:"endDate,omitempty"` CompleteDate time.Time `json:"completeDate,omitempty"` OriginBoardID int `json:"originBoardId,omitempty"` Goal string `json:"goal,omitempty"` }
type BoardVersionPageScheme ¶
type BoardVersionPageScheme struct { MaxResults int `json:"maxResults,omitempty"` StartAt int `json:"startAt,omitempty"` IsLast bool `json:"isLast,omitempty"` Values []*BoardVersionScheme `json:"values,omitempty"` }
type BoardVersionScheme ¶
type BoardVersionScheme struct { Self string `json:"self,omitempty"` ID int `json:"id,omitempty"` ProjectID int `json:"projectId,omitempty"` Name string `json:"name,omitempty"` Description string `json:"description,omitempty"` Archived bool `json:"archived,omitempty"` Released bool `json:"released,omitempty"` ReleaseDate time.Time `json:"releaseDate,omitempty"` }
type BodyNodeScheme ¶
type BodyScheme ¶
type BodyScheme struct { View *BodyNodeScheme `json:"view,omitempty"` ExportView *BodyNodeScheme `json:"export_view,omitempty"` StyledView *BodyNodeScheme `json:"styled_view,omitempty"` Storage *BodyNodeScheme `json:"storage,omitempty"` Editor2 *BodyNodeScheme `json:"editor2,omitempty"` AnonymousExportView *BodyNodeScheme `json:"anonymous_export_view,omitempty"` }
type BodyTypeScheme ¶
type BulkGroupScheme ¶
type BulkGroupScheme struct { MaxResults int `json:"maxResults,omitempty"` StartAt int `json:"startAt,omitempty"` Total int `json:"total,omitempty"` IsLast bool `json:"isLast,omitempty"` Values []*GroupDetailScheme `json:"values,omitempty"` }
type BulkIssueSchemeV2 ¶
type BulkIssueSchemeV2 struct {
Issues []*IssueSchemeV2 `json:"issues,omitempty"`
}
type BulkIssueSchemeV3 ¶
type BulkIssueSchemeV3 struct {
Issues []*IssueScheme `json:"issues,omitempty"`
}
type CascadingSelectScheme ¶
type CascadingSelectScheme struct { Self string `json:"self,omitempty"` Value string `json:"value,omitempty"` Id string `json:"id,omitempty"` Child *CascadingSelectChildScheme `json:"child,omitempty"` }
func ParseCascadingSelectCustomField ¶
func ParseCascadingSelectCustomField(buffer bytes.Buffer, customField string) (*CascadingSelectScheme, error)
type ChangedWorklogPropertyScheme ¶
type ChangedWorklogPropertyScheme struct {
Key string `json:"key,omitempty"`
}
type ChangedWorklogScheme ¶
type ChangedWorklogScheme struct { WorklogID int `json:"worklogId,omitempty"` UpdatedTime int `json:"updatedTime,omitempty"` Properties []*ChangedWorklogPropertyScheme `json:"properties,omitempty"` }
type CheckPermissionScheme ¶
type CheckPermissionScheme struct { Subject *PermissionSubjectScheme `json:"subject,omitempty"` Operation string `json:"operation,omitempty"` }
type ChildTypeScheme ¶
type ChildTypesScheme ¶
type ChildTypesScheme struct { Attachment *ChildTypeScheme `json:"attachment,omitempty"` Comment *ChildTypeScheme `json:"comment,omitempty"` Page *ChildTypeScheme `json:"page,omitempty"` }
type CommentNodeScheme ¶
type CommentNodeScheme struct { Version int `json:"version,omitempty"` Type string `json:"type,omitempty"` Content []*CommentNodeScheme `json:"content,omitempty"` Text string `json:"text,omitempty"` Attrs map[string]interface{} `json:"attrs,omitempty"` Marks []*MarkScheme `json:"marks,omitempty"` }
func (*CommentNodeScheme) AppendNode ¶
func (n *CommentNodeScheme) AppendNode(node *CommentNodeScheme)
type CommentPayloadScheme ¶
type CommentPayloadScheme struct { Visibility *CommentVisibilityScheme `json:"visibility,omitempty"` Body *CommentNodeScheme `json:"body,omitempty"` }
type CommentPayloadSchemeV2 ¶
type CommentPayloadSchemeV2 struct { Visibility *CommentVisibilityScheme `json:"visibility,omitempty"` Body string `json:"body,omitempty"` }
type CommentVisibilityScheme ¶
type ComponentCountScheme ¶
type ComponentPayloadScheme ¶
type ComponentPayloadScheme struct { IsAssigneeTypeValid bool `json:"isAssigneeTypeValid,omitempty"` Name string `json:"name,omitempty"` Description string `json:"description,omitempty"` Project string `json:"project,omitempty"` AssigneeType string `json:"assigneeType,omitempty"` LeadAccountID string `json:"leadAccountId,omitempty"` }
type ComponentScheme ¶
type ComponentScheme struct { Self string `json:"self,omitempty"` ID string `json:"id,omitempty"` Name string `json:"name,omitempty"` Description string `json:"description,omitempty"` Lead *UserScheme `json:"lead,omitempty"` LeadUserName string `json:"leadUserName,omitempty"` AssigneeType string `json:"assigneeType,omitempty"` Assignee *UserScheme `json:"assignee,omitempty"` RealAssigneeType string `json:"realAssigneeType,omitempty"` RealAssignee *UserScheme `json:"realAssignee,omitempty"` IsAssigneeTypeValid bool `json:"isAssigneeTypeValid,omitempty"` Project string `json:"project,omitempty"` ProjectID int `json:"projectId,omitempty"` }
type ContainerSummaryScheme ¶
type ContentArchiveIDPayloadScheme ¶
type ContentArchiveIDPayloadScheme struct {
ID int `json:"id,omitempty"`
}
type ContentArchivePayloadScheme ¶
type ContentArchivePayloadScheme struct {
Pages []*ContentArchiveIDPayloadScheme `json:"pages,omitempty"`
}
type ContentChildrenScheme ¶
type ContentChildrenScheme struct { Attachment *ContentPageScheme `json:"attachment,omitempty"` Comments *ContentPageScheme `json:"comment,omitempty"` Page *ContentPageScheme `json:"page,omitempty"` Links *LinkScheme `json:"_links,omitempty"` }
type ContentExtensionScheme ¶
type ContentHistoryContributorsScheme ¶
type ContentHistoryContributorsScheme struct {
Publishers *VersionCollaboratorsScheme `json:"publishers,omitempty"`
}
type ContentHistoryScheme ¶
type ContentHistoryScheme struct { Latest bool `json:"latest,omitempty"` CreatedBy *ContentUserScheme `json:"createdBy,omitempty"` CreatedDate string `json:"createdDate,omitempty"` LastUpdated *ContentVersionScheme `json:"lastUpdated,omitempty"` PreviousVersion *ContentVersionScheme `json:"previousVersion,omitempty"` Contributors *ContentHistoryContributorsScheme `json:"contributors,omitempty"` NextVersion *ContentVersionScheme `json:"nextVersion,omitempty"` Expandable *ExpandableScheme `json:"_expandable,omitempty"` Links *LinkScheme `json:"_links,omitempty"` }
type ContentLabelPageScheme ¶
type ContentLabelPageScheme struct { Results []*ContentLabelScheme `json:"results,omitempty"` Start int `json:"start,omitempty"` Limit int `json:"limit,omitempty"` Size int `json:"size,omitempty"` }
type ContentLabelScheme ¶
type ContentMoveScheme ¶
type ContentMoveScheme struct {
ID string `json:"pageId"`
}
type ContentPageScheme ¶
type ContentPageScheme struct { Results []*ContentScheme `json:"results"` Start int `json:"start"` Limit int `json:"limit"` Size int `json:"size"` Links *LinkScheme `json:"_links"` }
type ContentPropertyPageScheme ¶
type ContentPropertyPageScheme struct { Results []*ContentPropertyScheme `json:"results,omitempty"` Start int `json:"start,omitempty"` Limit int `json:"limit,omitempty"` Size int `json:"size,omitempty"` }
type ContentPropertyScheme ¶
type ContentPropertyScheme struct { ID string `json:"id,omitempty"` Key string `json:"key,omitempty"` Value interface{} `json:"value,omitempty"` Version *ContentPropertyVersionScheme `json:"version,omitempty"` Expandable struct { Content string `json:"content,omitempty"` AdditionalProperties string `json:"additionalProperties,omitempty"` } `json:"_expandable,omitempty"` }
type ContentRestorePayloadScheme ¶
type ContentRestorePayloadScheme struct { OperationKey string `json:"operationKey,omitempty"` Params *ContentRestoreParamsPayloadScheme `json:"params,omitempty"` }
type ContentRestrictionByOperationScheme ¶
type ContentRestrictionByOperationScheme struct {
OperationType *ContentRestrictionScheme `json:"operationType,omitempty"`
}
type ContentRestrictionDetailScheme ¶
type ContentRestrictionDetailScheme struct { User *UserPermissionScheme `json:"user,omitempty"` Group *GroupPermissionScheme `json:"group,omitempty"` }
type ContentRestrictionPageScheme ¶
type ContentRestrictionPageScheme struct { Start int `json:"start,omitempty"` Limit int `json:"limit,omitempty"` Size int `json:"size,omitempty"` RestrictionsHash string `json:"restrictionsHash,omitempty"` Results []*ContentRestrictionScheme `json:"results,omitempty"` }
type ContentRestrictionRestrictionUpdateScheme ¶
type ContentRestrictionRestrictionUpdateScheme struct { Group []*SpaceGroupScheme `json:"group,omitempty"` User []*ContentUserScheme `json:"user,omitempty"` }
type ContentRestrictionScheme ¶
type ContentRestrictionScheme struct { Operation string `json:"operation,omitempty"` Restrictions *ContentRestrictionDetailScheme `json:"restrictions,omitempty"` Content *ContentScheme `json:"content,omitempty"` Expandable *ContentRestrictionExpandableScheme `json:"_expandable,omitempty"` }
type ContentRestrictionUpdatePayloadScheme ¶
type ContentRestrictionUpdatePayloadScheme struct {
Results []*ContentRestrictionUpdateScheme `json:"results,omitempty"`
}
type ContentRestrictionUpdateScheme ¶
type ContentRestrictionUpdateScheme struct { Operation string `json:"operation,omitempty"` Restrictions *ContentRestrictionRestrictionUpdateScheme `json:"restrictions,omitempty"` Content *ContentScheme `json:"content,omitempty"` }
type ContentScheme ¶
type ContentScheme struct { ID string `json:"id,omitempty"` Type string `json:"type,omitempty"` Status string `json:"status,omitempty"` Title string `json:"title,omitempty"` Expandable *ExpandableScheme `json:"_expandable,omitempty"` Links *LinkScheme `json:"_links,omitempty"` ChildTypes *ChildTypesScheme `json:"childTypes,omitempty"` Space *SpaceScheme `json:"space,omitempty"` Metadata *MetadataScheme `json:"metadata,omitempty"` Operations []*OperationScheme `json:"operations,omitempty"` Body *BodyScheme `json:"body,omitempty"` Version *ContentVersionScheme `json:"version,omitempty"` Extensions *ContentExtensionScheme `json:"extensions,omitempty"` Ancestors []*ContentScheme `json:"ancestors,omitempty"` History *ContentHistoryScheme `json:"history,omitempty"` }
type ContentTaskScheme ¶
type ContentTaskScheme struct { ID string `json:"id,omitempty"` Links *TaskLinkScheme `json:"links,omitempty"` }
type ContentUserDetailScheme ¶
type ContentUserDetailScheme struct { Business *UserBusinessDetailScheme `json:"business,omitempty"` Personal *UserPersonalDetailScheme `json:"personal,omitempty"` }
type ContentUserScheme ¶
type ContentUserScheme struct { Type string `json:"type,omitempty"` Username string `json:"username,omitempty"` UserKey string `json:"userKey,omitempty"` AccountID string `json:"accountId,omitempty"` AccountType string `json:"accountType,omitempty"` Email string `json:"email,omitempty"` PublicName string `json:"publicName,omitempty"` ProfilePicture *ProfilePictureScheme `json:"profilePicture,omitempty"` DisplayName string `json:"displayName,omitempty"` Operations []*OperationScheme `json:"operations,omitempty"` Details *ContentUserDetailScheme `json:"details,omitempty"` PersonalSpace *SpaceScheme `json:"personalSpace,omitempty"` Expandable *ExpandableScheme `json:"_expandable,omitempty"` Links *LinkScheme `json:"_links,omitempty"` }
type ContentVersionPageScheme ¶
type ContentVersionPageScheme struct { Results []*ContentVersionScheme `json:"results,omitempty"` Start int `json:"start,omitempty"` Limit int `json:"limit,omitempty"` Size int `json:"size,omitempty"` }
type ContentVersionScheme ¶
type ContentVersionScheme struct { By *ContentUserScheme `json:"by,omitempty"` Number int `json:"number,omitempty"` When string `json:"when,omitempty"` FriendlyWhen string `json:"friendlyWhen,omitempty"` Message string `json:"message,omitempty"` MinorEdit bool `json:"minorEdit,omitempty"` Content *ContentScheme `json:"content,omitempty"` Collaborators *VersionCollaboratorsScheme `json:"collaborators,omitempty"` Expandable struct { Content string `json:"content"` Collaborators string `json:"collaborators"` } `json:"_expandable"` ContentTypeModified bool `json:"contentTypeModified"` }
type ContentViewScheme ¶
type CopyOptionsScheme ¶
type CopyOptionsScheme struct { CopyAttachments bool `json:"copyAttachments,omitempty"` CopyPermissions bool `json:"copyPermissions,omitempty"` CopyProperties bool `json:"copyProperties,omitempty"` CopyLabels bool `json:"copyLabels,omitempty"` CopyCustomContents bool `json:"copyCustomContents,omitempty"` DestinationPageID string `json:"destinationPageId,omitempty"` TitleOptions *CopyTitleOptionScheme `json:"titleOptions,omitempty"` Destination *CopyPageDestinationScheme `json:"destination,omitempty"` PageTitle string `json:"pageTitle,omitempty"` Body *CopyPageBodyScheme `json:"body,omitempty"` }
type CopyPageBodyScheme ¶
type CopyPageBodyScheme struct { Storage *BodyNodeScheme `json:"storage"` Editor2 *BodyNodeScheme `json:"editor2"` }
type CopyTitleOptionScheme ¶
type CreateCustomerRequestPayloadScheme ¶
type CreateCustomerRequestPayloadScheme struct { RequestParticipants []string `json:"requestParticipants,omitempty"` ServiceDeskID string `json:"serviceDeskId,omitempty"` RequestTypeID string `json:"requestTypeId,omitempty"` }
func (*CreateCustomerRequestPayloadScheme) MergeFields ¶
func (c *CreateCustomerRequestPayloadScheme) MergeFields(fields *CustomerRequestFields) (map[string]interface{}, error)
type CreateSpaceDescriptionScheme ¶
type CreateSpaceDescriptionScheme struct {
Plain *CreateSpaceDescriptionPlainScheme `json:"plain"`
}
type CreateSpaceScheme ¶
type CreateSpaceScheme struct { Key string `json:"key,omitempty"` Name string `json:"name,omitempty"` Description *CreateSpaceDescriptionScheme `json:"description,omitempty"` AnonymousAccess bool `json:"anonymousAccess,omitempty"` UnlicensedAccess bool `json:"unlicensedAccess,omitempty"` }
type CustomContentBodyScheme ¶
type CustomContentBodyScheme struct { Raw *BodyTypeScheme `json:"raw,omitempty"` Storage *BodyTypeScheme `json:"storage,omitempty"` AtlasDocFormat *BodyTypeScheme `json:"atlas_doc_format,omitempty"` }
type CustomContentLinksScheme ¶
type CustomContentLinksScheme struct {
Webui string `json:"webui,omitempty"`
}
type CustomContentPageLinksScheme ¶
type CustomContentPageLinksScheme struct {
Next string `json:"next,omitempty"`
}
type CustomContentPageScheme ¶
type CustomContentPageScheme struct { Results []*CustomContentScheme `json:"results,omitempty"` Links *CustomContentPageLinksScheme `json:"_links,omitempty"` }
type CustomContentPayloadScheme ¶
type CustomContentPayloadScheme struct { ID string `json:"id,omitempty"` Type string `json:"type,omitempty"` Status string `json:"status,omitempty"` SpaceID string `json:"spaceId,omitempty"` PageID string `json:"pageId,omitempty"` BlogPostID string `json:"blogPostId,omitempty"` CustomContentID string `json:"customContentId,omitempty"` Title string `json:"title,omitempty"` Body *BodyTypeScheme `json:"body,omitempty"` Version *CustomContentPayloadVersionScheme `json:"version,omitempty"` }
type CustomContentScheme ¶
type CustomContentScheme struct { ID string `json:"id,omitempty"` Type string `json:"type,omitempty"` Status string `json:"status,omitempty"` Title string `json:"title,omitempty"` SpaceID string `json:"spaceId,omitempty"` PageID string `json:"pageId,omitempty"` BlogPostID string `json:"blogPostId,omitempty"` CustomContentID string `json:"customContentId,omitempty"` AuthorID string `json:"authorId,omitempty"` CreatedAt string `json:"createdAt,omitempty"` Version *CustomContentVersionScheme `json:"version,omitempty"` Body *CustomContentBodyScheme `json:"body,omitempty"` Links *CustomContentLinksScheme `json:"_links,omitempty"` }
type CustomFieldAssetScheme ¶
type CustomFieldAssetScheme struct { WorkspaceId string `json:"workspaceId,omitempty"` Id string `json:"id,omitempty"` ObjectId string `json:"objectId,omitempty"` }
func ParseAssetCustomField ¶
func ParseAssetCustomField(buffer bytes.Buffer, customField string) ([]*CustomFieldAssetScheme, error)
type CustomFieldContextOptionPageScheme ¶
type CustomFieldContextOptionPageScheme struct { Self string `json:"self,omitempty"` NextPage string `json:"nextPage,omitempty"` MaxResults int `json:"maxResults,omitempty"` StartAt int `json:"startAt,omitempty"` Total int `json:"total,omitempty"` IsLast bool `json:"isLast,omitempty"` Values []*CustomFieldContextOptionScheme `json:"values,omitempty"` }
type CustomFieldContextOptionScheme ¶
type CustomFieldContextOptionScheme struct { ID string `json:"id,omitempty"` Value string `json:"value,omitempty"` Disabled bool `json:"disabled"` OptionID string `json:"optionId,omitempty"` }
func ParseMultiCheckboxesCustomField ¶
func ParseMultiCheckboxesCustomField(buffer bytes.Buffer, customField string) ([]*CustomFieldContextOptionScheme, error)
func ParseMultiSelectCustomField ¶
func ParseMultiSelectCustomField(buffer bytes.Buffer, customField string) ([]*CustomFieldContextOptionScheme, error)
func ParseSelectCustomField ¶
func ParseSelectCustomField(buffer bytes.Buffer, customField string) (*CustomFieldContextOptionScheme, error)
type CustomFieldContextPageScheme ¶
type CustomFieldContextPageScheme struct { MaxResults int `json:"maxResults,omitempty"` StartAt int `json:"startAt,omitempty"` Total int `json:"total,omitempty"` IsLast bool `json:"isLast,omitempty"` Values []*FieldContextScheme `json:"values,omitempty"` }
type CustomFieldContextProjectMappingPageScheme ¶
type CustomFieldContextProjectMappingPageScheme struct { Self string `json:"self,omitempty"` NextPage string `json:"nextPage,omitempty"` MaxResults int `json:"maxResults,omitempty"` StartAt int `json:"startAt,omitempty"` Total int `json:"total,omitempty"` IsLast bool `json:"isLast,omitempty"` Values []*CustomFieldContextProjectMappingValueScheme `json:"values,omitempty"` }
type CustomFieldDefaultValuePageScheme ¶
type CustomFieldDefaultValuePageScheme struct { MaxResults int `json:"maxResults,omitempty"` StartAt int `json:"startAt,omitempty"` Total int `json:"total,omitempty"` IsLast bool `json:"isLast,omitempty"` Values []*CustomFieldDefaultValueScheme `json:"values,omitempty"` }
type CustomFieldScheme ¶
type CustomFields ¶
type CustomFields struct{ Fields []map[string]interface{} }
func (*CustomFields) Cascading ¶
func (c *CustomFields) Cascading(customFieldID, parent, child string) error
func (*CustomFields) CheckBox ¶
func (c *CustomFields) CheckBox(customFieldID string, options []string) error
func (*CustomFields) Date ¶
func (c *CustomFields) Date(customFieldID string, dateTimeValue time.Time) (err error)
func (*CustomFields) DateTime ¶
func (c *CustomFields) DateTime(customFieldID string, dateValue time.Time) error
func (*CustomFields) Group ¶
func (c *CustomFields) Group(customFieldID, group string) error
func (*CustomFields) Groups ¶
func (c *CustomFields) Groups(customFieldID string, groups []string) error
func (*CustomFields) MultiSelect ¶
func (c *CustomFields) MultiSelect(customFieldID string, options []string) error
func (*CustomFields) Number ¶
func (c *CustomFields) Number(customFieldID string, numberValue float64) error
func (*CustomFields) RadioButton ¶
func (c *CustomFields) RadioButton(customFieldID, button string) error
func (*CustomFields) Select ¶
func (c *CustomFields) Select(customFieldID string, option string) error
func (*CustomFields) Text ¶
func (c *CustomFields) Text(customFieldID, textValue string) error
func (*CustomFields) TextArea ¶
func (c *CustomFields) TextArea(customFieldID string, textAreaValue *CommentNodeScheme) error
func (*CustomFields) URL ¶
func (c *CustomFields) URL(customFieldID, URL string) error
type CustomerApprovalLinkScheme ¶
type CustomerApprovalLinkScheme struct {
Self string `json:"self"`
}
type CustomerApprovalPageScheme ¶
type CustomerApprovalPageScheme struct { Size int `json:"size,omitempty"` Start int `json:"start,omitempty"` Limit int `json:"limit,omitempty"` IsLastPage bool `json:"isLastPage,omitempty"` Values []*CustomerApprovalScheme `json:"values,omitempty"` Expands []string `json:"_expands,omitempty"` Links *CustomerApprovalPageLinkScheme `json:"_links,omitempty"` }
type CustomerApprovalScheme ¶
type CustomerApprovalScheme struct { ID string `json:"id,omitempty"` Name string `json:"name,omitempty"` FinalDecision string `json:"finalDecision,omitempty"` CanAnswerApproval bool `json:"canAnswerApproval,omitempty"` Approvers []*CustomerApproveScheme `json:"approvers,omitempty"` CreatedDate *CustomerRequestDateScheme `json:"createdDate,omitempty"` CompletedDate *CustomerRequestDateScheme `json:"completedDate,omitempty"` Links *CustomerApprovalLinkScheme `json:"_links,omitempty"` }
type CustomerApproveScheme ¶
type CustomerApproveScheme struct { Approver *ApproverScheme `json:"approver,omitempty"` ApproverDecision string `json:"approverDecision,omitempty"` }
type CustomerFeedbackCommentScheme ¶
type CustomerFeedbackCommentScheme struct {
Body string `json:"body,omitempty"`
}
type CustomerFeedbackScheme ¶
type CustomerFeedbackScheme struct { Type string `json:"type,omitempty"` Rating int `json:"rating,omitempty"` Comment *CustomerFeedbackCommentScheme `json:"comment,omitempty"` }
type CustomerLinkScheme ¶
type CustomerLinkScheme struct { JiraRest string `json:"jiraRest"` AvatarUrls *AvatarURLScheme `json:"avatarUrls"` Self string `json:"self"` }
type CustomerPageLinksScheme ¶
type CustomerPageScheme ¶
type CustomerPageScheme struct { Expands []interface{} `json:"_expands,omitempty"` Size int `json:"size,omitempty"` Start int `json:"start,omitempty"` Limit int `json:"limit,omitempty"` IsLastPage bool `json:"isLastPage,omitempty"` Links *CustomerPageLinksScheme `json:"_links,omitempty"` Values []*CustomerScheme `json:"values,omitempty"` }
type CustomerRequestFields ¶
type CustomerRequestFields struct{ Fields map[string]interface{} }
func (*CustomerRequestFields) Attachments ¶
func (c *CustomerRequestFields) Attachments(attachments []string) error
func (*CustomerRequestFields) Cascading ¶
func (c *CustomerRequestFields) Cascading(customFieldID, parent, child string) error
func (*CustomerRequestFields) CheckBox ¶
func (c *CustomerRequestFields) CheckBox(customFieldID string, options []string) error
func (*CustomerRequestFields) Components ¶
func (c *CustomerRequestFields) Components(components []string) error
func (*CustomerRequestFields) Date ¶
func (c *CustomerRequestFields) Date(customFieldID string, dateTimeValue time.Time) error
func (*CustomerRequestFields) DateTime ¶
func (c *CustomerRequestFields) DateTime(customFieldID string, dateValue time.Time) error
func (*CustomerRequestFields) Group ¶
func (c *CustomerRequestFields) Group(customFieldID, group string) error
func (*CustomerRequestFields) Groups ¶
func (c *CustomerRequestFields) Groups(customFieldID string, groups []string) error
func (*CustomerRequestFields) Labels ¶
func (c *CustomerRequestFields) Labels(labels []string) error
func (*CustomerRequestFields) MultiSelect ¶
func (c *CustomerRequestFields) MultiSelect(customFieldID string, options []string) error
func (*CustomerRequestFields) Number ¶
func (c *CustomerRequestFields) Number(customFieldID string, numberValue float64) error
func (*CustomerRequestFields) RadioButton ¶
func (c *CustomerRequestFields) RadioButton(customFieldID, button string) error
func (*CustomerRequestFields) Select ¶
func (c *CustomerRequestFields) Select(customFieldID string, option string) error
func (*CustomerRequestFields) Text ¶
func (c *CustomerRequestFields) Text(customFieldID, textValue string) error
func (*CustomerRequestFields) URL ¶
func (c *CustomerRequestFields) URL(customFieldID, URL string) error
type CustomerRequestPageScheme ¶
type CustomerRequestPageScheme struct { Size int `json:"size,omitempty"` Start int `json:"start,omitempty"` Limit int `json:"limit,omitempty"` IsLastPage bool `json:"isLastPage,omitempty"` Values []*CustomerRequestScheme `json:"values,omitempty"` Expands []string `json:"_expands,omitempty"` Links *CustomerRequestsLinksScheme `json:"_links,omitempty"` }
type CustomerRequestReporterScheme ¶
type CustomerRequestReporterScheme struct { AccountID string `json:"accountId,omitempty"` Name string `json:"name,omitempty"` Key string `json:"key,omitempty"` EmailAddress string `json:"emailAddress,omitempty"` DisplayName string `json:"displayName,omitempty"` Active bool `json:"active,omitempty"` TimeZone string `json:"timeZone,omitempty"` }
type CustomerRequestScheme ¶
type CustomerRequestScheme struct { IssueID string `json:"issueId,omitempty"` IssueKey string `json:"issueKey,omitempty"` RequestTypeID string `json:"requestTypeId,omitempty"` RequestType *CustomerRequestTypeScheme `json:"requestType,omitempty"` ServiceDeskID string `json:"serviceDeskId,omitempty"` ServiceDesk *CustomerRequestServiceDeskScheme `json:"serviceDesk,omitempty"` CreatedDate *CustomerRequestDateScheme `json:"createdDate,omitempty"` Reporter *CustomerRequestReporterScheme `json:"reporter,omitempty"` RequestFieldValues []*CustomerRequestRequestFieldValueScheme `json:"requestFieldValues,omitempty"` CurrentStatus *CustomerRequestCurrentStatusScheme `json:"currentStatus,omitempty"` Expands []string `json:"_expands,omitempty"` Links *CustomerRequestLinksScheme `json:"_links,omitempty"` }
type CustomerRequestTransitionPageScheme ¶
type CustomerRequestTransitionPageScheme struct { Size int `json:"size,omitempty"` Start int `json:"start,omitempty"` Limit int `json:"limit,omitempty"` IsLastPage bool `json:"isLastPage,omitempty"` Values []*CustomerRequestTransitionScheme `json:"values,omitempty"` Expands []string `json:"_expands,omitempty"` Links *CustomerRequestTransitionPageLinkScheme `json:"_links,omitempty"` }
type CustomerRequestTypeScheme ¶
type CustomerRequestTypeScheme struct { ID string `json:"id,omitempty"` Name string `json:"name,omitempty"` Description string `json:"description,omitempty"` HelpText string `json:"helpText,omitempty"` IssueTypeID string `json:"issueTypeId,omitempty"` ServiceDeskID string `json:"serviceDeskId,omitempty"` GroupIds []string `json:"groupIds,omitempty"` }
type CustomerScheme ¶
type CustomerScheme struct { AccountID string `json:"accountId,omitempty"` Name string `json:"name,omitempty"` Key string `json:"key,omitempty"` EmailAddress string `json:"emailAddress,omitempty"` DisplayName string `json:"displayName,omitempty"` Active bool `json:"active,omitempty"` TimeZone string `json:"timeZone,omitempty"` Links *CustomerLinkScheme `json:"_links,omitempty"` }
type DashboardPageScheme ¶
type DashboardPageScheme struct { StartAt int `json:"startAt,omitempty"` MaxResults int `json:"maxResults,omitempty"` Total int `json:"total,omitempty"` Dashboards []*DashboardScheme `json:"dashboards,omitempty"` }
type DashboardPayloadScheme ¶
type DashboardPayloadScheme struct { Name string `json:"name,omitempty"` Description string `json:"description,omitempty"` EditPermissions []*SharePermissionScheme `json:"editPermissions,omitempty"` }
type DashboardScheme ¶
type DashboardScheme struct { ID string `json:"id,omitempty"` IsFavourite bool `json:"isFavourite,omitempty"` Name string `json:"name,omitempty"` Owner *UserScheme `json:"owner,omitempty"` Popularity int `json:"popularity,omitempty"` Rank int `json:"rank,omitempty"` Self string `json:"self,omitempty"` EditPermission []*SharePermissionScheme `json:"editPermissions,omitempty"` View string `json:"view,omitempty"` }
type DetailedVersionScheme ¶
type DetailedVersionScheme struct { Number int `json:"number,omitempty"` AuthorID string `json:"authorId,omitempty"` Message string `json:"message,omitempty"` CreatedAt string `json:"createdAt,omitempty"` MinorEdit bool `json:"minorEdit,omitempty"` ContentTypeModified bool `json:"contentTypeModified,omitempty"` Collaborators []string `json:"collaborators,omitempty"` PrevVersion int `json:"prevVersion,omitempty"` NextVersion int `json:"nextVersion,omitempty"` }
type EntityPropertyScheme ¶
type EntityPropertyScheme struct { Key string `json:"key"` Value interface{} `json:"value"` }
type EpicColorScheme ¶
type EpicColorScheme struct {
Key string `json:"key,omitempty"`
}
type EpicScheme ¶
type EventNotificationScheme ¶
type EventNotificationScheme struct { Expand string `json:"expand,omitempty"` ID int `json:"id,omitempty"` NotificationType string `json:"notificationType,omitempty"` Parameter string `json:"parameter,omitempty"` EmailAddress string `json:"emailAddress,omitempty"` Group *GroupScheme `json:"group,omitempty"` Field *IssueFieldScheme `json:"field,omitempty"` ProjectRole *ProjectRoleScheme `json:"projectRole,omitempty"` User *UserScheme `json:"user,omitempty"` }
type ExpandableScheme ¶
type ExpandableScheme struct { Container string `json:"container"` Metadata string `json:"metadata"` Restrictions string `json:"restrictions"` History string `json:"history"` Body string `json:"body"` Version string `json:"version"` Descendants string `json:"descendants"` Space string `json:"space"` ChildTypes string `json:"childTypes"` Operations string `json:"operations"` SchedulePublishDate string `json:"schedulePublishDate"` Children string `json:"children"` Ancestors string `json:"ancestors"` Settings string `json:"settings"` LookAndFeel string `json:"lookAndFeel"` Identifiers string `json:"identifiers"` Permissions string `json:"permissions"` Icon string `json:"icon"` Description string `json:"description"` Theme string `json:"theme"` Homepage string `json:"homepage"` LastUpdated string `json:"lastUpdated"` PreviousVersion string `json:"previousVersion"` Contributors string `json:"contributors"` NextVersion string `json:"nextVersion"` }
type FieldConfigurationIssueTypeItemPageScheme ¶
type FieldConfigurationIssueTypeItemPageScheme struct { MaxResults int `json:"maxResults,omitempty"` StartAt int `json:"startAt,omitempty"` Total int `json:"total,omitempty"` IsLast bool `json:"isLast,omitempty"` Values []*FieldConfigurationIssueTypeItemScheme `json:"values,omitempty"` }
type FieldConfigurationItemPageScheme ¶
type FieldConfigurationItemPageScheme struct { MaxResults int `json:"maxResults,omitempty"` StartAt int `json:"startAt,omitempty"` Total int `json:"total,omitempty"` IsLast bool `json:"isLast,omitempty"` Values []*FieldConfigurationItemScheme `json:"values,omitempty"` }
type FieldConfigurationPageScheme ¶
type FieldConfigurationPageScheme struct { MaxResults int `json:"maxResults,omitempty"` StartAt int `json:"startAt,omitempty"` Total int `json:"total,omitempty"` IsLast bool `json:"isLast,omitempty"` Values []*FieldConfigurationScheme `json:"values,omitempty"` }
type FieldConfigurationSchemePageScheme ¶
type FieldConfigurationSchemePageScheme struct { MaxResults int `json:"maxResults,omitempty"` StartAt int `json:"startAt,omitempty"` Total int `json:"total,omitempty"` IsLast bool `json:"isLast,omitempty"` Values []*FieldConfigurationSchemeScheme `json:"values,omitempty"` }
type FieldConfigurationSchemeProjectPageScheme ¶
type FieldConfigurationSchemeProjectPageScheme struct { MaxResults int `json:"maxResults,omitempty"` StartAt int `json:"startAt,omitempty"` Total int `json:"total,omitempty"` IsLast bool `json:"isLast,omitempty"` Values []*FieldConfigurationSchemeProjectScheme `json:"values,omitempty"` }
type FieldConfigurationSchemeProjectScheme ¶
type FieldConfigurationSchemeProjectScheme struct { ProjectIds []string `json:"projectIds,omitempty"` FieldConfigurationScheme *FieldConfigurationSchemeScheme `json:"fieldConfigurationScheme,omitempty"` }
type FieldConfigurationToIssueTypeMappingPayloadScheme ¶
type FieldConfigurationToIssueTypeMappingPayloadScheme struct {
Mappings []*FieldConfigurationToIssueTypeMappingScheme `json:"mappings,omitempty"`
}
type FieldContextDefaultPayloadScheme ¶
type FieldContextDefaultPayloadScheme struct {
DefaultValues []*CustomFieldDefaultValueScheme `json:"defaultValues,omitempty"`
}
type FieldContextOptionListScheme ¶
type FieldContextOptionListScheme struct {
Options []*CustomFieldContextOptionScheme `json:"options,omitempty"`
}
type FieldContextScheme ¶
type FieldContextScheme struct { ID string `json:"id,omitempty"` Name string `json:"name,omitempty"` Description string `json:"description,omitempty"` IsGlobalContext bool `json:"isGlobalContext,omitempty"` IsAnyIssueType bool `json:"isAnyIssueType,omitempty"` ProjectIds []string `json:"projectIds,omitempty"` IssueTypeIds []string `json:"issueTypeIds,omitempty"` }
type FieldSearchPageScheme ¶
type FieldSearchPageScheme struct { MaxResults int `json:"maxResults,omitempty"` StartAt int `json:"startAt,omitempty"` Total int `json:"total,omitempty"` IsLast bool `json:"isLast,omitempty"` Values []*IssueFieldScheme `json:"values,omitempty"` }
type FilterDetailScheme ¶
type FilterDetailScheme struct { Self string `json:"self,omitempty"` ID string `json:"id,omitempty"` Name string `json:"name,omitempty"` Owner *UserScheme `json:"owner,omitempty"` Jql string `json:"jql,omitempty"` ViewURL string `json:"viewUrl,omitempty"` SearchURL string `json:"searchUrl,omitempty"` Favourite bool `json:"favourite,omitempty"` FavouritedCount int `json:"favouritedCount,omitempty"` Subscriptions []*FilterSubscriptionScheme `json:"subscriptions,omitempty"` }
type FilterPageScheme ¶
type FilterPayloadScheme ¶
type FilterPayloadScheme struct { Name string `json:"name,omitempty"` Description string `json:"description,omitempty"` JQL string `json:"jql,omitempty"` Favorite bool `json:"favourite,omitempty"` EditPermissions []*SharePermissionScheme `json:"editPermissions,omitempty"` }
type FilterScheme ¶
type FilterScheme struct { Self string `json:"self,omitempty"` ID string `json:"id,omitempty"` Name string `json:"name,omitempty"` Owner *UserScheme `json:"owner,omitempty"` Jql string `json:"jql,omitempty"` ViewURL string `json:"viewUrl,omitempty"` SearchURL string `json:"searchUrl,omitempty"` Favourite bool `json:"favourite,omitempty"` FavouritedCount int `json:"favouritedCount,omitempty"` Subscriptions *FilterSubscriptionPageScheme `json:"subscriptions,omitempty"` }
type FilterSearchPageScheme ¶
type FilterSubscriptionPageScheme ¶
type FilterSubscriptionPageScheme struct { Size int `json:"size,omitempty"` Items []*FilterSubscriptionScheme `json:"items,omitempty"` MaxResults int `json:"max-results,omitempty"` StartIndex int `json:"start-index,omitempty"` EndIndex int `json:"end-index,omitempty"` }
type FilterSubscriptionScheme ¶
type FilterSubscriptionScheme struct { ID int `json:"id,omitempty"` User *UserScheme `json:"user,omitempty"` Group *GroupScheme `json:"group,omitempty"` }
type FilterUsersScheme ¶
type FilterUsersScheme struct { Size int `json:"size,omitempty"` Items []*UserScheme `json:"items,omitempty"` MaxResults int `json:"max-results,omitempty"` StartIndex int `json:"start-index,omitempty"` EndIndex int `json:"end-index,omitempty"` }
type GenericActionSuccessScheme ¶
type GenericActionSuccessScheme struct {
Message string `json:"message,omitempty"`
}
type GetBoardsOptions ¶
type GetContentOptionsScheme ¶
type GetSpacesOptionScheme ¶
type GetSpacesOptionSchemeV2 ¶
type GroupBulkOptionsScheme ¶
type GroupDetailScheme ¶
type GroupDetailScheme struct { Self string `json:"self,omitempty"` Name string `json:"name,omitempty"` GroupID string `json:"groupId,omitempty"` }
func ParseMultiGroupPickerCustomField ¶
func ParseMultiGroupPickerCustomField(buffer bytes.Buffer, customField string) ([]*GroupDetailScheme, error)
type GroupMemberPageScheme ¶
type GroupMemberPageScheme struct { Self string `json:"self,omitempty"` NextPage string `json:"nextPage,omitempty"` MaxResults int `json:"maxResults,omitempty"` StartAt int `json:"startAt,omitempty"` Total int `json:"total,omitempty"` IsLast bool `json:"isLast,omitempty"` Values []*GroupUserDetailScheme `json:"values,omitempty"` }
type GroupPermissionScheme ¶
type GroupPermissionScheme struct { Results []*SpaceGroupScheme `json:"results,omitempty"` Size int `json:"size,omitempty"` }
type GroupScheme ¶
type GroupScheme struct { Name string `json:"name,omitempty"` Self string `json:"self,omitempty"` Users *GroupUserPageScheme `json:"users,omitempty"` Expand string `json:"expand,omitempty"` }
type GroupUserDetailScheme ¶
type GroupUserDetailScheme struct { Self string `json:"self"` Name string `json:"name"` Key string `json:"key"` AccountID string `json:"accountId"` EmailAddress string `json:"emailAddress"` DisplayName string `json:"displayName"` Active bool `json:"active"` TimeZone string `json:"timeZone"` AccountType string `json:"accountType"` }
type GroupUserPageScheme ¶
type GroupUserPageScheme struct { Size int `json:"size,omitempty"` Items []*UserScheme `json:"items,omitempty"` MaxResults int `json:"max-results,omitempty"` StartIndex int `json:"start-index,omitempty"` EndIndex int `json:"end-index,omitempty"` }
type IconScheme ¶
type InfoBuildDataScheme ¶
type InfoLinkScheme ¶
type InfoLinkScheme struct {
Self string `json:"self,omitempty"`
}
type InfoScheme ¶
type InfoScheme struct { Version string `json:"version,omitempty"` PlatformVersion string `json:"platformVersion,omitempty"` BuildDate *InfoBuildDataScheme `json:"buildDate,omitempty"` BuildChangeSet string `json:"buildChangeSet,omitempty"` IsLicensedForUse bool `json:"isLicensedForUse,omitempty"` Links *InfoLinkScheme `json:"_links,omitempty"` }
type IssueAttachmentHumanMetadataScheme ¶
type IssueAttachmentHumanMetadataScheme struct { ID int `json:"id,omitempty"` Name string `json:"name,omitempty"` Entries []*IssueAttachmentHumanMetadataEntryScheme `json:"entries,omitempty"` TotalEntryCount int `json:"totalEntryCount,omitempty"` MediaType string `json:"mediaType,omitempty"` }
type IssueAttachmentMetadataScheme ¶
type IssueAttachmentMetadataScheme struct { ID int `json:"id,omitempty"` Self string `json:"self,omitempty"` Filename string `json:"filename,omitempty"` Author *UserScheme `json:"author,omitempty"` Created string `json:"created,omitempty"` Size int `json:"size,omitempty"` MimeType string `json:"mimeType,omitempty"` Content string `json:"content,omitempty"` Thumbnail string `json:"thumbnail,omitempty"` }
type IssueAttachmentScheme ¶
type IssueAttachmentScheme struct { Self string `json:"self,omitempty"` ID string `json:"id,omitempty"` Filename string `json:"filename,omitempty"` Author *UserScheme `json:"author,omitempty"` Created string `json:"created,omitempty"` Size int `json:"size,omitempty"` MimeType string `json:"mimeType,omitempty"` Content string `json:"content,omitempty"` Thumbnail string `json:"thumbnail,omitempty"` }
type IssueBulkResponseScheme ¶
type IssueBulkResponseScheme struct { Issues []struct { ID string `json:"id,omitempty"` Key string `json:"key,omitempty"` Self string `json:"self,omitempty"` } `json:"issues,omitempty"` Errors []*IssueBulkResponseErrorScheme `json:"errors,omitempty"` }
type IssueBulkSchemeV2 ¶
type IssueBulkSchemeV2 struct { Payload *IssueSchemeV2 CustomFields *CustomFields }
type IssueBulkSchemeV3 ¶
type IssueBulkSchemeV3 struct { Payload *IssueScheme CustomFields *CustomFields }
type IssueChangelogAuthor ¶
type IssueChangelogAuthor struct { Self string `json:"self,omitempty"` AccountID string `json:"accountId,omitempty"` EmailAddress string `json:"emailAddress,omitempty"` AvatarUrls *AvatarURLScheme `json:"avatarUrls,omitempty"` DisplayName string `json:"displayName,omitempty"` Active bool `json:"active,omitempty"` TimeZone string `json:"timeZone,omitempty"` AccountType string `json:"accountType,omitempty"` }
type IssueChangelogHistoryItemScheme ¶
type IssueChangelogHistoryItemScheme struct { Field string `json:"field,omitempty"` Fieldtype string `json:"fieldtype,omitempty"` FieldID string `json:"fieldId,omitempty"` From string `json:"from,omitempty"` FromString string `json:"fromString,omitempty"` To string `json:"to,omitempty"` ToString string `json:"toString,omitempty"` }
type IssueChangelogHistoryScheme ¶
type IssueChangelogHistoryScheme struct { ID string `json:"id,omitempty"` Author *IssueChangelogAuthor `json:"author,omitempty"` Created string `json:"created,omitempty"` Items []*IssueChangelogHistoryItemScheme `json:"items,omitempty"` }
type IssueChangelogScheme ¶
type IssueChangelogScheme struct { StartAt int `json:"startAt,omitempty"` MaxResults int `json:"maxResults,omitempty"` Total int `json:"total,omitempty"` Histories []*IssueChangelogHistoryScheme `json:"histories,omitempty"` }
type IssueCommentPageScheme ¶
type IssueCommentPageScheme struct { StartAt int `json:"startAt,omitempty"` MaxResults int `json:"maxResults,omitempty"` Total int `json:"total,omitempty"` Comments []*IssueCommentScheme `json:"comments,omitempty"` }
type IssueCommentPageSchemeV2 ¶
type IssueCommentPageSchemeV2 struct { StartAt int `json:"startAt,omitempty"` MaxResults int `json:"maxResults,omitempty"` Total int `json:"total,omitempty"` Comments []*IssueCommentSchemeV2 `json:"comments,omitempty"` }
type IssueCommentScheme ¶
type IssueCommentScheme struct { Self string `json:"self,omitempty"` ID string `json:"id,omitempty"` Author *UserScheme `json:"author,omitempty"` RenderedBody string `json:"renderedBody,omitempty"` Body *CommentNodeScheme `json:"body,omitempty"` JSDPublic bool `json:"jsdPublic,omitempty"` UpdateAuthor *UserScheme `json:"updateAuthor,omitempty"` Created string `json:"created,omitempty"` Updated string `json:"updated,omitempty"` Visibility *CommentVisibilityScheme `json:"visibility,omitempty"` }
type IssueCommentSchemeV2 ¶
type IssueCommentSchemeV2 struct { Self string `json:"self,omitempty"` ID string `json:"id,omitempty"` Body string `json:"body,omitempty"` RenderedBody string `json:"renderedBody,omitempty"` Author *UserScheme `json:"author,omitempty"` JSDPublic bool `json:"jsdPublic,omitempty"` UpdateAuthor *UserScheme `json:"updateAuthor,omitempty"` Created string `json:"created,omitempty"` Updated string `json:"updated,omitempty"` Visibility *CommentVisibilityScheme `json:"visibility,omitempty"` }
type IssueFieldSchemaScheme ¶
type IssueFieldScheme ¶
type IssueFieldScheme struct { ID string `json:"id,omitempty"` Key string `json:"key,omitempty"` Name string `json:"name,omitempty"` Custom bool `json:"custom,omitempty"` Orderable bool `json:"orderable,omitempty"` Searchable bool `json:"searchable,omitempty"` ClauseNames []string `json:"clauseNames,omitempty"` Scope *TeamManagedProjectScopeScheme `json:"scope,omitempty"` Schema *IssueFieldSchemaScheme `json:"schema,omitempty"` Description string `json:"description,omitempty"` IsLocked bool `json:"isLocked,omitempty"` SearcherKey string `json:"searcherKey,omitempty"` ScreensCount int `json:"screensCount,omitempty"` ContextsCount int `json:"contextsCount,omitempty"` LastUsed *IssueFieldLastUsedScheme `json:"lastUsed,omitempty"` }
type IssueFieldsScheme ¶
type IssueFieldsScheme struct { Parent *ParentScheme `json:"parent,omitempty"` IssueType *IssueTypeScheme `json:"issuetype,omitempty"` IssueLinks []*IssueLinkScheme `json:"issuelinks,omitempty"` Watcher *IssueWatcherScheme `json:"watches,omitempty"` Votes *IssueVoteScheme `json:"votes,omitempty"` Versions []*VersionScheme `json:"versions,omitempty"` Project *ProjectScheme `json:"project,omitempty"` FixVersions []*VersionScheme `json:"fixVersions,omitempty"` Priority *PriorityScheme `json:"priority,omitempty"` Components []*ComponentScheme `json:"components,omitempty"` Creator *UserScheme `json:"creator,omitempty"` Reporter *UserScheme `json:"reporter,omitempty"` Assignee *UserScheme `json:"assignee,omitempty"` Resolution *ResolutionScheme `json:"resolution,omitempty"` Resolutiondate string `json:"resolutiondate,omitempty"` Workratio int `json:"workratio,omitempty"` StatusCategoryChangeDate string `json:"statuscategorychangedate,omitempty"` LastViewed string `json:"lastViewed,omitempty"` Summary string `json:"summary,omitempty"` Created string `json:"created,omitempty"` Updated string `json:"updated,omitempty"` Labels []string `json:"labels,omitempty"` Status *StatusScheme `json:"status,omitempty"` Description *CommentNodeScheme `json:"description,omitempty"` Comment *IssueCommentPageScheme `json:"comment,omitempty"` Subtasks []*IssueScheme `json:"subtasks,omitempty"` Security *SecurityScheme `json:"security,omitempty"` Attachment []*AttachmentScheme `json:"attachment,omitempty"` Worklog *IssueWorklogADFPageScheme `json:"worklog,omitempty"` }
type IssueFieldsSchemeV2 ¶
type IssueFieldsSchemeV2 struct { Parent *ParentScheme `json:"parent,omitempty"` IssueType *IssueTypeScheme `json:"issuetype,omitempty"` IssueLinks []*IssueLinkScheme `json:"issuelinks,omitempty"` Watcher *IssueWatcherScheme `json:"watches,omitempty"` Votes *IssueVoteScheme `json:"votes,omitempty"` Versions []*VersionScheme `json:"versions,omitempty"` Project *ProjectScheme `json:"project,omitempty"` FixVersions []*VersionScheme `json:"fixVersions,omitempty"` Priority *PriorityScheme `json:"priority,omitempty"` Components []*ComponentScheme `json:"components,omitempty"` Creator *UserScheme `json:"creator,omitempty"` Reporter *UserScheme `json:"reporter,omitempty"` Assignee *UserScheme `json:"assignee,omitempty"` Resolution *ResolutionScheme `json:"resolution,omitempty"` Resolutiondate string `json:"resolutiondate,omitempty"` Workratio int `json:"workratio,omitempty"` StatusCategoryChangeDate string `json:"statuscategorychangedate,omitempty"` LastViewed string `json:"lastViewed,omitempty"` Summary string `json:"summary,omitempty"` Created string `json:"created,omitempty"` Updated string `json:"updated,omitempty"` Labels []string `json:"labels,omitempty"` Status *StatusScheme `json:"status,omitempty"` Description string `json:"description,omitempty"` Comment *IssueCommentPageSchemeV2 `json:"comment,omitempty"` Subtasks []*IssueScheme `json:"subtasks,omitempty"` Security *SecurityScheme `json:"security,omitempty"` Worklog *IssueWorklogRichTextPageScheme `json:"worklog,omitempty"` }
type IssueLabelsScheme ¶
type IssueLinkFieldScheme ¶
type IssueLinkFieldScheme struct {
IssueLinks []*IssueLinkScheme `json:"issuelinks,omitempty"`
}
type IssueLinkFieldsScheme ¶
type IssueLinkFieldsScheme struct { IssueType *IssueTypeScheme `json:"issuetype,omitempty"` IssueLinks []*IssueLinkScheme `json:"issuelinks,omitempty"` Watcher *IssueWatcherScheme `json:"watches,omitempty"` Votes *IssueVoteScheme `json:"votes,omitempty"` Versions []*VersionScheme `json:"versions,omitempty"` Project *ProjectScheme `json:"project,omitempty"` FixVersions []*VersionScheme `json:"fixVersions,omitempty"` Priority *PriorityScheme `json:"priority,omitempty"` Components []*ComponentScheme `json:"components,omitempty"` Creator *UserScheme `json:"creator,omitempty"` Reporter *UserScheme `json:"reporter,omitempty"` Assignee *UserScheme `json:"assignee,omitempty"` Resolution *ResolutionScheme `json:"resolution,omitempty"` Resolutiondate string `json:"resolutiondate,omitempty"` Workratio int `json:"workratio,omitempty"` StatusCategoryChangeDate string `json:"statuscategorychangedate,omitempty"` LastViewed string `json:"lastViewed,omitempty"` Summary string `json:"summary,omitempty"` Created string `json:"created,omitempty"` Updated string `json:"updated,omitempty"` Labels []string `json:"labels,omitempty"` Status *StatusScheme `json:"status,omitempty"` Security *SecurityScheme `json:"security,omitempty"` }
type IssueLinkPageScheme ¶
type IssueLinkPageScheme struct { Expand string `json:"expand,omitempty"` ID string `json:"id,omitempty"` Self string `json:"self,omitempty"` Key string `json:"key,omitempty"` Fields *IssueLinkFieldScheme `json:"fields,omitempty"` }
type IssueLinkScheme ¶
type IssueLinkScheme struct { ID string `json:"id,omitempty"` Type *LinkTypeScheme `json:"type,omitempty"` InwardIssue *LinkedIssueScheme `json:"inwardIssue,omitempty"` OutwardIssue *LinkedIssueScheme `json:"outwardIssue,omitempty"` }
type IssueLinkTypeScheme ¶
type IssueLinkTypeSearchScheme ¶
type IssueLinkTypeSearchScheme struct {
IssueLinkTypes []*LinkTypeScheme `json:"issueLinkTypes,omitempty"`
}
type IssueMatchesPageScheme ¶
type IssueMatchesPageScheme struct {
Matches []*IssueMatchesScheme `json:"matches,omitempty"`
}
type IssueMatchesScheme ¶
type IssueMoveOptionsV2 ¶
type IssueMoveOptionsV2 struct { Fields *IssueSchemeV2 CustomFields *CustomFields Operations *UpdateOperations }
type IssueMoveOptionsV3 ¶
type IssueMoveOptionsV3 struct { Fields *IssueScheme CustomFields *CustomFields Operations *UpdateOperations }
type IssueNotifyGroupScheme ¶
type IssueNotifyGroupScheme struct {
Name string `json:"name,omitempty"`
}
type IssueNotifyOptionsScheme ¶
type IssueNotifyOptionsScheme struct { HTMLBody string `json:"htmlBody,omitempty"` Subject string `json:"subject,omitempty"` TextBody string `json:"textBody,omitempty"` To *IssueNotifyToScheme `json:"to,omitempty"` Restrict *IssueNotifyRestrictScheme `json:"restrict,omitempty"` }
type IssueNotifyRestrictScheme ¶
type IssueNotifyRestrictScheme struct { Groups []*IssueNotifyGroupScheme `json:"groups,omitempty"` Permissions []*IssueNotifyPermissionScheme `json:"permissions,omitempty"` }
type IssueNotifyToScheme ¶
type IssueNotifyToScheme struct { Reporter bool `json:"reporter,omitempty"` Assignee bool `json:"assignee,omitempty"` Watchers bool `json:"watchers,omitempty"` Voters bool `json:"voters,omitempty"` Users []*IssueNotifyUserScheme `json:"users,omitempty"` Groups []*IssueNotifyGroupScheme `json:"groups,omitempty"` }
type IssueNotifyUserScheme ¶
type IssueNotifyUserScheme struct {
AccountID string `json:"accountId,omitempty"`
}
type IssueOptionScheme ¶
type IssueResponseScheme ¶
type IssueScheme ¶
type IssueScheme struct { ID string `json:"id,omitempty"` Key string `json:"key,omitempty"` Self string `json:"self,omitempty"` Transitions []*IssueTransitionScheme `json:"transitions,omitempty"` Changelog *IssueChangelogScheme `json:"changelog,omitempty"` Fields *IssueFieldsScheme `json:"fields,omitempty"` }
func (*IssueScheme) MergeCustomFields ¶
func (i *IssueScheme) MergeCustomFields(fields *CustomFields) (map[string]interface{}, error)
func (*IssueScheme) MergeOperations ¶
func (i *IssueScheme) MergeOperations(operations *UpdateOperations) (map[string]interface{}, error)
func (*IssueScheme) ToMap ¶
func (i *IssueScheme) ToMap() (map[string]interface{}, error)
type IssueSchemeV2 ¶
type IssueSchemeV2 struct { ID string `json:"id,omitempty"` Key string `json:"key,omitempty"` Self string `json:"self,omitempty"` Transitions []*IssueTransitionScheme `json:"transitions,omitempty"` Changelog *IssueChangelogScheme `json:"changelog,omitempty"` Fields *IssueFieldsSchemeV2 `json:"fields,omitempty"` }
func (*IssueSchemeV2) MergeCustomFields ¶
func (i *IssueSchemeV2) MergeCustomFields(fields *CustomFields) (map[string]interface{}, error)
func (*IssueSchemeV2) MergeOperations ¶
func (i *IssueSchemeV2) MergeOperations(operations *UpdateOperations) (map[string]interface{}, error)
func (*IssueSchemeV2) ToMap ¶
func (i *IssueSchemeV2) ToMap() (map[string]interface{}, error)
type IssueSearchScheme ¶
type IssueSearchScheme struct { Expand string `json:"expand,omitempty"` StartAt int `json:"startAt,omitempty"` MaxResults int `json:"maxResults,omitempty"` Total int `json:"total,omitempty"` Issues []*IssueScheme `json:"issues,omitempty"` WarningMessages []string `json:"warningMessages,omitempty"` }
type IssueSearchSchemeV2 ¶
type IssueSearchSchemeV2 struct { Expand string `json:"expand,omitempty"` StartAt int `json:"startAt,omitempty"` MaxResults int `json:"maxResults,omitempty"` Total int `json:"total,omitempty"` Issues []*IssueSchemeV2 `json:"issues,omitempty"` WarningMessages []string `json:"warningMessages,omitempty"` }
type IssueSecurityLevelsScheme ¶
type IssueSecurityLevelsScheme struct {
Levels []*IssueSecurityLevelScheme `json:"levels,omitempty"`
}
type IssueTransitionScheme ¶
type IssueTransitionScheme struct { ID string `json:"id,omitempty"` Name string `json:"name,omitempty"` To *StatusScheme `json:"to,omitempty"` HasScreen bool `json:"hasScreen,omitempty"` IsGlobal bool `json:"isGlobal,omitempty"` IsInitial bool `json:"isInitial,omitempty"` IsAvailable bool `json:"isAvailable,omitempty"` IsConditional bool `json:"isConditional,omitempty"` IsLooped bool `json:"isLooped,omitempty"` }
type IssueTransitionsScheme ¶
type IssueTransitionsScheme struct { Expand string `json:"expand,omitempty"` Transitions []*IssueTransitionScheme `json:"transitions,omitempty"` }
type IssueTypePayloadScheme ¶
type IssueTypeProjectScreenSchemePageScheme ¶
type IssueTypeProjectScreenSchemePageScheme struct { Self string `json:"self,omitempty"` NextPage string `json:"nextPage,omitempty"` MaxResults int `json:"maxResults,omitempty"` StartAt int `json:"startAt,omitempty"` Total int `json:"total,omitempty"` IsLast bool `json:"isLast,omitempty"` Values []*IssueTypeScreenSchemesProjectScheme `json:"values,omitempty"` }
type IssueTypeScheme ¶
type IssueTypeScheme struct { Self string `json:"self,omitempty"` ID string `json:"id,omitempty"` Description string `json:"description,omitempty"` IconURL string `json:"iconUrl,omitempty"` Name string `json:"name,omitempty"` Subtask bool `json:"subtask,omitempty"` AvatarID int `json:"avatarId,omitempty"` EntityID string `json:"entityId,omitempty"` HierarchyLevel int `json:"hierarchyLevel,omitempty"` Scope *IssueTypeScopeScheme `json:"scope,omitempty"` }
type IssueTypeSchemeItemPageScheme ¶
type IssueTypeSchemeItemPageScheme struct { MaxResults int `json:"maxResults,omitempty"` StartAt int `json:"startAt,omitempty"` Total int `json:"total,omitempty"` IsLast bool `json:"isLast,omitempty"` Values []*IssueTypeSchemeMappingScheme `json:"values,omitempty"` }
type IssueTypeSchemePageScheme ¶
type IssueTypeSchemePageScheme struct { Self string `json:"self,omitempty"` NextPage string `json:"nextPage,omitempty"` MaxResults int `json:"maxResults,omitempty"` StartAt int `json:"startAt,omitempty"` Total int `json:"total,omitempty"` IsLast bool `json:"isLast,omitempty"` Values []*IssueTypeSchemeScheme `json:"values,omitempty"` }
type IssueTypeSchemeProjectsScheme ¶
type IssueTypeSchemeProjectsScheme struct { IssueTypeScheme *IssueTypeSchemeScheme `json:"issueTypeScheme,omitempty"` ProjectIds []string `json:"projectIds,omitempty"` }
type IssueTypeSchemeScheme ¶
type IssueTypeScopeScheme ¶
type IssueTypeScopeScheme struct { Type string `json:"type,omitempty"` Project *ProjectScheme `json:"project,omitempty"` }
type IssueTypeScreenSchemeByProjectPageScheme ¶
type IssueTypeScreenSchemeByProjectPageScheme struct { MaxResults int `json:"maxResults,omitempty"` StartAt int `json:"startAt,omitempty"` Total int `json:"total,omitempty"` IsLast bool `json:"isLast,omitempty"` Values []*ProjectDetailScheme `json:"values,omitempty"` }
type IssueTypeScreenSchemeMappingScheme ¶
type IssueTypeScreenSchemeMappingScheme struct { Self string `json:"self,omitempty"` NextPage string `json:"nextPage,omitempty"` MaxResults int `json:"maxResults,omitempty"` StartAt int `json:"startAt,omitempty"` Total int `json:"total,omitempty"` IsLast bool `json:"isLast,omitempty"` Values []*IssueTypeScreenSchemeItemScheme `json:"values,omitempty"` }
type IssueTypeScreenSchemePageScheme ¶
type IssueTypeScreenSchemePageScheme struct { Self string `json:"self,omitempty"` NextPage string `json:"nextPage,omitempty"` MaxResults int `json:"maxResults,omitempty"` StartAt int `json:"startAt,omitempty"` Total int `json:"total,omitempty"` IsLast bool `json:"isLast,omitempty"` Values []*IssueTypeScreenSchemeScheme `json:"values,omitempty"` }
type IssueTypeScreenSchemePayloadScheme ¶
type IssueTypeScreenSchemePayloadScheme struct { Name string `json:"name,omitempty"` Description string `json:"description,omitempty"` IssueTypeMappings []*IssueTypeScreenSchemeMappingPayloadScheme `json:"issueTypeMappings,omitempty"` }
type IssueTypeScreenSchemeScheme ¶
type IssueTypeScreenSchemeScheme struct { ID string `json:"id,omitempty"` Name string `json:"name,omitempty"` Description string `json:"description,omitempty"` Projects *ProjectSearchScheme `json:"projects,omitempty"` }
type IssueTypeScreenSchemesProjectScheme ¶
type IssueTypeScreenSchemesProjectScheme struct { IssueTypeScreenScheme *IssueTypeScreenSchemeScheme `json:"issueTypeScreenScheme,omitempty"` ProjectIds []string `json:"projectIds,omitempty"` }
type IssueTypeScreenScreenCreatedScheme ¶
type IssueTypeScreenScreenCreatedScheme struct {
ID string `json:"id"`
}
type IssueTypeToContextMappingPageScheme ¶
type IssueTypeToContextMappingPageScheme struct { MaxResults int `json:"maxResults,omitempty"` StartAt int `json:"startAt,omitempty"` Total int `json:"total,omitempty"` IsLast bool `json:"isLast,omitempty"` Values []*IssueTypeToContextMappingValueScheme `json:"values"` }
type IssueVoteScheme ¶
type IssueVoteScheme struct { Self string `json:"self,omitempty"` Votes int `json:"votes,omitempty"` HasVoted bool `json:"hasVoted,omitempty"` Voters []*UserScheme `json:"voters,omitempty"` }
type IssueWatcherScheme ¶
type IssueWatcherScheme struct { Self string `json:"self,omitempty"` IsWatching bool `json:"isWatching,omitempty"` WatchCount int `json:"watchCount,omitempty"` Watchers []*UserDetailScheme `json:"watchers,omitempty"` }
type IssueWorklogADFPageScheme ¶
type IssueWorklogADFPageScheme struct { StartAt int `json:"startAt,omitempty"` MaxResults int `json:"maxResults,omitempty"` Total int `json:"total,omitempty"` Worklogs []*IssueWorklogADFScheme `json:"worklogs,omitempty"` }
type IssueWorklogADFScheme ¶
type IssueWorklogADFScheme struct { Self string `json:"self,omitempty"` Author *UserDetailScheme `json:"author,omitempty"` UpdateAuthor *UserDetailScheme `json:"updateAuthor,omitempty"` Comment *CommentNodeScheme `json:"comment,omitempty"` Updated string `json:"updated,omitempty"` Visibility *IssueWorklogVisibilityScheme `json:"visibility,omitempty"` Started string `json:"started,omitempty"` TimeSpent string `json:"timeSpent,omitempty"` TimeSpentSeconds int `json:"timeSpentSeconds,omitempty"` ID string `json:"id,omitempty"` IssueID string `json:"issueId,omitempty"` }
type IssueWorklogRichTextPageScheme ¶
type IssueWorklogRichTextPageScheme struct { StartAt int `json:"startAt,omitempty"` MaxResults int `json:"maxResults,omitempty"` Total int `json:"total,omitempty"` Worklogs []*IssueWorklogRichTextScheme `json:"worklogs,omitempty"` }
type IssueWorklogRichTextScheme ¶
type IssueWorklogRichTextScheme struct { Self string `json:"self,omitempty"` Author *UserDetailScheme `json:"author,omitempty"` UpdateAuthor *UserDetailScheme `json:"updateAuthor,omitempty"` Comment string `json:"comment,omitempty"` Updated string `json:"updated,omitempty"` Visibility *IssueWorklogVisibilityScheme `json:"visibility,omitempty"` Started string `json:"started,omitempty"` TimeSpent string `json:"timeSpent,omitempty"` TimeSpentSeconds int `json:"timeSpentSeconds,omitempty"` ID string `json:"id,omitempty"` IssueID string `json:"issueId,omitempty"` }
type JiraTeamCreatePayloadScheme ¶
type JiraTeamCreatePayloadScheme struct { Title string `json:"title,omitempty"` Resources []*JiraTeamResourceScheme `json:"resources,omitempty"` }
type JiraTeamCreateResponseScheme ¶
type JiraTeamCreateResponseScheme struct { Id int `json:"id,omitempty"` Team *JiraTeamScheme `json:"team,omitempty"` Persons []*JiraTeamPersonScheme `json:"persons,omitempty"` }
type JiraTeamPageScheme ¶
type JiraTeamPageScheme struct { MoreResultsAvailable bool `json:"moreResultsAvailable,omitempty"` Teams []*JiraTeamScheme `json:"teams,omitempty"` Persons []*JiraTeamPersonScheme `json:"persons,omitempty"` ZeroMemberTeamsCount int `json:"zeroMemberTeamsCount,omitempty"` }
type JiraTeamPersonScheme ¶
type JiraTeamPersonScheme struct { PersonId int `json:"personId,omitempty"` JiraUser *JiraTeamUserScheme `json:"jiraUser,omitempty"` }
type JiraTeamResourceScheme ¶
type JiraTeamScheme ¶
type JiraTeamScheme struct { Id int `json:"id,omitempty"` ExternalId string `json:"externalId,omitempty"` Title string `json:"title,omitempty"` Resources []*JiraTeamResourceScheme `json:"resources,omitempty"` }
type JiraTeamUserScheme ¶
type LabelAssociatedContentPageScheme ¶
type LabelAssociatedContentPageScheme struct { Results []*LabelAssociatedContentScheme `json:"results,omitempty"` Start int `json:"start,omitempty"` Limit int `json:"limit,omitempty"` Size int `json:"size,omitempty"` }
type LabelDetailsScheme ¶
type LabelDetailsScheme struct { Label *ContentLabelScheme `json:"label"` AssociatedContents *LabelAssociatedContentPageScheme `json:"associatedContents"` }
type LabelValueScheme ¶
type LabelsScheme ¶
type LabelsScheme struct { Results []*LabelValueScheme `json:"results,omitempty"` Start int `json:"start,omitempty"` Limit int `json:"limit,omitempty"` Size int `json:"size,omitempty"` Links *LinkScheme `json:"_links,omitempty"` }
type LinkPageModelScheme ¶
type LinkPayloadSchemeV2 ¶
type LinkPayloadSchemeV2 struct { Comment *CommentPayloadSchemeV2 `json:"comment,omitempty"` InwardIssue *LinkedIssueScheme `json:"inwardIssue,omitempty"` OutwardIssue *LinkedIssueScheme `json:"outwardIssue,omitempty"` Type *LinkTypeScheme `json:"type,omitempty"` }
type LinkPayloadSchemeV3 ¶
type LinkPayloadSchemeV3 struct { Comment *CommentPayloadScheme `json:"comment,omitempty"` InwardIssue *LinkedIssueScheme `json:"inwardIssue,omitempty"` OutwardIssue *LinkedIssueScheme `json:"outwardIssue,omitempty"` Type *LinkTypeScheme `json:"type,omitempty"` }
type LinkScheme ¶
type LinkScheme struct { Base string `json:"base,omitempty"` Context string `json:"context,omitempty"` Self string `json:"self,omitempty"` Tinyui string `json:"tinyui,omitempty"` Editui string `json:"editui,omitempty"` Webui string `json:"webui,omitempty"` Download string `json:"download,omitempty"` Next string `json:"next"` Collection string `json:"collection"` }
type LinkSelfModelScheme ¶
type LinkSelfModelScheme struct {
Self string `json:"self,omitempty"`
}
type LinkTypeScheme ¶
type LinkedIssueScheme ¶
type LinkedIssueScheme struct { ID string `json:"id,omitempty"` Key string `json:"key,omitempty"` Self string `json:"self,omitempty"` Fields *IssueLinkFieldsScheme `json:"fields,omitempty"` }
type LongTaskDetailsScheme ¶
type LongTaskMessageScheme ¶
type LongTaskNameScheme ¶
type LongTaskNameScheme struct {
Key string `json:"key,omitempty"`
}
type LongTaskPageScheme ¶
type LongTaskPageScheme struct { Results []*LongTaskScheme `json:"results,omitempty"` Start int `json:"start,omitempty"` Limit int `json:"limit,omitempty"` Size int `json:"size,omitempty"` }
type LongTaskScheme ¶
type LongTaskScheme struct { ID string `json:"id,omitempty"` Name *LongTaskNameScheme `json:"name,omitempty"` ElapsedTime int `json:"elapsedTime,omitempty"` PercentageComplete int `json:"percentageComplete,omitempty"` Successful bool `json:"successful,omitempty"` Finished bool `json:"finished,omitempty"` Messages []*LongTaskMessageScheme `json:"messages,omitempty"` Status string `json:"status,omitempty"` Errors []*LongTaskMessageScheme `json:"errors,omitempty"` AdditionalDetails *LongTaskDetailsScheme `json:"additionalDetails,omitempty"` }
type MarkScheme ¶
type MetadataScheme ¶
type MetadataScheme struct { Labels *LabelsScheme `json:"labels"` Expandable *ExpandableScheme `json:"_expandable,omitempty"` MediaType string `json:"mediaType,omitempty"` }
type NewIssueTypeSchemeScheme ¶
type NewIssueTypeSchemeScheme struct {
IssueTypeSchemeID string `json:"issueTypeSchemeId"`
}
type NewProjectCreatedScheme ¶
type NotificationEventScheme ¶
type NotificationEventScheme struct { ID int `json:"id,omitempty"` Name string `json:"name,omitempty"` Description string `json:"description,omitempty"` TemplateEvent *NotificationEventScheme `json:"templateEvent,omitempty"` }
type NotificationSchemeCreatedPayload ¶
type NotificationSchemeCreatedPayload struct {
Id string `json:"id"`
}
type NotificationSchemeEventTypeScheme ¶
type NotificationSchemeEventTypeScheme struct {
ID string `json:"id,omitempty"`
}
type NotificationSchemeEventsPayloadScheme ¶
type NotificationSchemeEventsPayloadScheme struct {
NotificationSchemeEvents []*NotificationSchemePayloadEventScheme `json:"notificationSchemeEvents,omitempty"`
}
type NotificationSchemePageScheme ¶
type NotificationSchemePageScheme struct { MaxResults int `json:"maxResults,omitempty"` StartAt int `json:"startAt,omitempty"` Total int `json:"total,omitempty"` IsLast bool `json:"isLast,omitempty"` Values []*NotificationSchemeScheme `json:"values,omitempty"` }
type NotificationSchemePayloadEventScheme ¶
type NotificationSchemePayloadEventScheme struct { Event *NotificationSchemeEventTypeScheme `json:"event,omitempty"` Notifications []*NotificationSchemeEventNotificationScheme `json:"notifications,omitempty"` }
type NotificationSchemePayloadScheme ¶
type NotificationSchemePayloadScheme struct { Description string `json:"description,omitempty"` Name string `json:"name,omitempty"` Events []*NotificationSchemePayloadEventScheme `json:"notificationSchemeEvents,omitempty"` }
type NotificationSchemeProjectPageScheme ¶
type NotificationSchemeProjectPageScheme struct { MaxResults int `json:"maxResults,omitempty"` StartAt int `json:"startAt,omitempty"` Total int `json:"total,omitempty"` IsLast bool `json:"isLast,omitempty"` Values []*NotificationSchemeProjectScheme `json:"values,omitempty"` }
type NotificationSchemeScheme ¶
type NotificationSchemeScheme struct { Expand string `json:"expand,omitempty"` ID int `json:"id,omitempty"` Self string `json:"self,omitempty"` Name string `json:"name,omitempty"` Description string `json:"description,omitempty"` NotificationSchemeEvents []*ProjectNotificationSchemeEventScheme `json:"notificationSchemeEvents,omitempty"` Scope *TeamManagedProjectScopeScheme `json:"scope,omitempty"` Projects []int `json:"projects,omitempty"` }
type ObjectAttributeScheme ¶
type ObjectAttributeScheme struct { WorkspaceId string `json:"workspaceId,omitempty"` GlobalId string `json:"globalId,omitempty"` ID string `json:"id,omitempty"` ObjectTypeAttribute *ObjectTypeAttributeScheme `json:"objectTypeAttribute,omitempty"` ObjectTypeAttributeId string `json:"objectTypeAttributeId,omitempty"` ObjectAttributeValues []*ObjectTypeAssetAttributeValueScheme `json:"objectAttributeValues,omitempty"` }
type ObjectAvatarScheme ¶
type ObjectAvatarScheme struct { WorkspaceId string `json:"workspaceId,omitempty"` GlobalId string `json:"globalId,omitempty"` ID string `json:"id,omitempty"` AvatarUUID string `json:"avatarUUID,omitempty"` Url16 string `json:"url16,omitempty"` Url48 string `json:"url48,omitempty"` Url72 string `json:"url72,omitempty"` Url144 string `json:"url144,omitempty"` Url288 string `json:"url288,omitempty"` ObjectId string `json:"objectId,omitempty"` }
type ObjectHistoryActorScheme ¶
type ObjectHistoryActorScheme struct { AvatarUrl string `json:"avatarUrl,omitempty"` DisplayName string `json:"displayName,omitempty"` Name string `json:"name,omitempty"` Key string `json:"key,omitempty"` EmailAddress string `json:"emailAddress,omitempty"` Html string `json:"html,omitempty"` RenderedLink string `json:"renderedLink,omitempty"` IsDeleted bool `json:"isDeleted,omitempty"` LastSeenVersion string `json:"lastSeenVersion,omitempty"` Self string `json:"self,omitempty"` }
type ObjectHistoryScheme ¶
type ObjectHistoryScheme struct { Actor *ObjectHistoryActorScheme `json:"actor,omitempty"` ID string `json:"id,omitempty"` AffectedAttribute string `json:"affectedAttribute,omitempty"` OldValue string `json:"oldValue,omitempty"` NewValue string `json:"newValue,omitempty"` Type int `json:"type,omitempty"` Created string `json:"created,omitempty"` ObjectID string `json:"objectId,omitempty"` }
type ObjectLinksScheme ¶
type ObjectLinksScheme struct {
Self string `json:"self,omitempty"`
}
type ObjectListResultScheme ¶
type ObjectListResultScheme struct { StartAt int `json:"startAt,omitempty"` MaxResults int `json:"maxResults,omitempty"` Total int `json:"total,omitempty"` IsLast bool `json:"isLast,omitempty"` Values []*ObjectScheme `json:"values,omitempty"` ObjectTypeAttributes []*ObjectTypeAttributeScheme `json:"objectTypeAttributes,omitempty"` }
type ObjectListScheme ¶
type ObjectListScheme struct { ObjectEntries []*ObjectScheme `json:"objectEntries,omitempty"` ObjectTypeAttributes []*ObjectTypeAttributeScheme `json:"objectTypeAttributes,omitempty"` ObjectTypeId string `json:"objectTypeId,omitempty"` ObjectTypeIsInherited bool `json:"objectTypeIsInherited,omitempty"` AbstractObjectType bool `json:"abstractObjectType,omitempty"` TotalFilterCount int `json:"totalFilterCount,omitempty"` StartIndex int `json:"startIndex,omitempty"` ToIndex int `json:"toIndex,omitempty"` PageObjectSize int `json:"pageObjectSize,omitempty"` PageNumber int `json:"pageNumber,omitempty"` OrderByTypeAttrId int `json:"orderByTypeAttrId,omitempty"` OrderWay string `json:"orderWay,omitempty"` QlQuery string `json:"qlQuery,omitempty"` QlQuerySearchResult bool `json:"qlQuerySearchResult,omitempty"` Iql string `json:"iql,omitempty"` IqlSearchResult bool `json:"iqlSearchResult,omitempty"` ConversionPossible bool `json:"conversionPossible,omitempty"` }
type ObjectPageScheme ¶
type ObjectPageScheme struct { ObjectEntries []*ObjectScheme `json:"objectEntries"` ObjectTypeAttributes []*ObjectTypeAttributeScheme `json:"objectTypeAttributes"` ObjectTypeID string `json:"objectTypeId"` ObjectTypeIsInherited bool `json:"objectTypeIsInherited"` AbstractObjectType bool `json:"abstractObjectType"` TotalFilterCount int `json:"totalFilterCount"` StartIndex int `json:"startIndex"` ToIndex int `json:"toIndex"` PageObjectSize int `json:"pageObjectSize"` PageNumber int `json:"pageNumber"` OrderByTypeAttrId int `json:"orderByTypeAttrId"` OrderWay string `json:"orderWay"` QlQuery string `json:"qlQuery"` QlQuerySearchResult bool `json:"qlQuerySearchResult"` Iql string `json:"iql"` IqlSearchResult bool `json:"iqlSearchResult"` ConversionPossible bool `json:"conversionPossible"` }
type ObjectPayloadAttributeScheme ¶
type ObjectPayloadAttributeScheme struct { ObjectTypeAttributeID string `json:"objectTypeAttributeId,omitempty"` ObjectAttributeValues []*ObjectPayloadAttributeValueScheme `json:"objectAttributeValues,omitempty"` }
type ObjectPayloadAttributeValueScheme ¶
type ObjectPayloadAttributeValueScheme struct {
Value string `json:"value,omitempty"`
}
type ObjectPayloadScheme ¶
type ObjectPayloadScheme struct { ObjectTypeID string `json:"objectTypeId,omitempty"` AvatarUUID string `json:"avatarUUID,omitempty"` HasAvatar bool `json:"hasAvatar,omitempty"` Attributes []*ObjectPayloadAttributeScheme `json:"attributes,omitempty"` }
type ObjectReferenceTypeInfoScheme ¶
type ObjectReferenceTypeInfoScheme struct { ReferenceTypes []*TypeReferenceScheme `json:"referenceTypes,omitempty"` ObjectType *ObjectTypeScheme `json:"objectType,omitempty"` NumberOfReferencedObjects int `json:"numberOfReferencedObjects,omitempty"` OpenIssuesExists bool `json:"openIssuesExists,omitempty"` }
type ObjectSchemaAttributesParamsScheme ¶
type ObjectSchemaAttributesParamsScheme struct { // OnlyValueEditable return only values that are associated with values that can be edited OnlyValueEditable bool // Extended include the object type with each object type attribute Extended bool // Query it's a query that will be used to filter object type attributes by their name Query string }
type ObjectSchemaPageScheme ¶
type ObjectSchemaPageScheme struct { StartAt int `json:"startAt,omitempty"` MaxResults int `json:"maxResults,omitempty"` Total int `json:"total,omitempty"` Values []*ObjectSchemaScheme `json:"values,omitempty"` }
type ObjectSchemaScheme ¶
type ObjectSchemaScheme struct { WorkspaceId string `json:"workspaceId,omitempty"` GlobalId string `json:"globalId,omitempty"` Id string `json:"id,omitempty"` Name string `json:"name,omitempty"` ObjectSchemaKey string `json:"objectSchemaKey,omitempty"` Description string `json:"description,omitempty"` Status string `json:"status,omitempty"` Created string `json:"created,omitempty"` Updated string `json:"updated,omitempty"` ObjectCount int `json:"objectCount,omitempty"` ObjectTypeCount int `json:"objectTypeCount,omitempty"` CanManage bool `json:"canManage,omitempty"` }
type ObjectSchemaTypePageScheme ¶
type ObjectSchemaTypePageScheme struct {
Entries []*ObjectTypeScheme `json:"entries,omitempty"`
}
type ObjectScheme ¶
type ObjectScheme struct { WorkspaceId string `json:"workspaceId,omitempty"` GlobalId string `json:"globalId,omitempty"` ID string `json:"id,omitempty"` Label string `json:"label,omitempty"` ObjectKey string `json:"objectKey,omitempty"` Avatar *ObjectAvatarScheme `json:"avatar,omitempty"` ObjectType *ObjectTypeScheme `json:"objectType,omitempty"` Created string `json:"created,omitempty"` Updated string `json:"updated,omitempty"` HasAvatar bool `json:"hasAvatar,omitempty"` Timestamp int `json:"timestamp,omitempty"` Attributes []*ObjectAttributeScheme `json:"attributes"` Links *ObjectLinksScheme `json:"_links,omitempty"` }
type ObjectSearchParamsScheme ¶
type ObjectSearchParamsScheme struct { // The AQL that will fetch the objects. // // The object type parameter will be appended implicitly to this AQL Query string `json:"qlQuery,omitempty"` // Required if qlQuery is not set. // // Deprecated. Use Query instead. Iql string `json:"iql,omitempty"` ObjectTypeID string `json:"objectTypeId,omitempty"` // The requested page to be loaded for a paginated result. // // The default value is page = 1 Page int `json:"page,omitempty"` // How many objects should be returned in the request. // // It is used with page attribute for pagination. ResultPerPage int `json:"resultsPerPage,omitempty"` // Which attribute should be used to order by. // // The preferred way is to use an order by in qlQuery and not pass this argument. OrderByTypeAttributeID int `json:"orderByTypeAttrId,omitempty"` // Sort objects in ascending order or descending order based on the attribute identified by orderByTypeAttrId. // // 1 mean ascending all other values mean descending. // // The preferred way is to not supply the asc parameter and use an order by in qlQuery instead. Asc int `json:"asc,omitempty"` // Identifies an object that should be included in the result. // // The page will be calculated accordingly to include the object specified in the result set ObjectID string `json:"objectId,omitempty"` ObjectSchemaID string `json:"objectSchemaId,omitempty"` // Should attribute values be included in the response. IncludeAttributes bool `json:"includeAttributes,omitempty"` // Identifies attributes to be displayed AttributesToDisplay *AttributesToDisplayScheme `json:"attributesToDisplay,omitempty"` }
type ObjectTypeAssetAttributeValueScheme ¶
type ObjectTypeAssetAttributeValueScheme struct { Value string `json:"value,omitempty"` DisplayValue string `json:"displayValue,omitempty"` SearchValue string `json:"searchValue,omitempty"` Group *ObjectTypeAssetAttributeValueGroupScheme `json:"group,omitempty"` Status *ObjectTypeAssetAttributeStatusScheme `json:"status,omitempty"` AdditionalValue string `json:"additionalValue,omitempty"` }
type ObjectTypeAttributeScheme ¶
type ObjectTypeAttributeScheme struct { WorkspaceId string `json:"workspaceId,omitempty"` GlobalId string `json:"globalId,omitempty"` ID string `json:"id,omitempty"` ObjectType *ObjectTypeScheme `json:"objectType,omitempty"` Name string `json:"name,omitempty"` Label bool `json:"label,omitempty"` Type int `json:"type,omitempty"` Description string `json:"description,omitempty"` DefaultType *ObjectTypeAssetAttributeDefaultTypeScheme `json:"defaultType,omitempty"` TypeValue string `json:"typeValue,omitempty"` TypeValueMulti []string `json:"typeValueMulti,omitempty"` AdditionalValue string `json:"additionalValue,omitempty"` ReferenceType *ObjectTypeAssetAttributeReferenceTypeScheme `json:"referenceType,omitempty"` ReferenceObjectTypeId string `json:"referenceObjectTypeId,omitempty"` ReferenceObjectType *ObjectTypeScheme `json:"referenceObjectType,omitempty"` Editable bool `json:"editable,omitempty"` System bool `json:"system,omitempty"` Indexed bool `json:"indexed,omitempty"` Sortable bool `json:"sortable,omitempty"` Summable bool `json:"summable,omitempty"` MinimumCardinality int `json:"minimumCardinality,omitempty"` MaximumCardinality int `json:"maximumCardinality,omitempty"` Suffix string `json:"suffix,omitempty"` Removable bool `json:"removable,omitempty"` ObjectAttributeExists bool `json:"objectAttributeExists,omitempty"` Hidden bool `json:"hidden,omitempty"` IncludeChildObjectTypes bool `json:"includeChildObjectTypes,omitempty"` UniqueAttribute bool `json:"uniqueAttribute,omitempty"` RegexValidation string `json:"regexValidation,omitempty"` Iql string `json:"iql,omitempty"` QlQuery string `json:"qlQuery,omitempty"` Options string `json:"options,omitempty"` Position int `json:"position,omitempty"` }
type ObjectTypePayloadScheme ¶
type ObjectTypePayloadScheme struct { Name string `json:"name,omitempty"` Description string `json:"description,omitempty"` IconId string `json:"iconId,omitempty"` ObjectSchemaId string `json:"objectSchemaId,omitempty"` ParentObjectTypeId string `json:"parentObjectTypeId,omitempty"` Inherited bool `json:"inherited,omitempty"` AbstractObjectType bool `json:"abstractObjectType,omitempty"` }
type ObjectTypeScheme ¶
type ObjectTypeScheme struct { WorkspaceId string `json:"workspaceId,omitempty"` GlobalId string `json:"globalId,omitempty"` Id string `json:"id,omitempty"` Name string `json:"name,omitempty"` Description string `json:"description,omitempty"` Icon *IconScheme `json:"icon,omitempty"` Position int `json:"position,omitempty"` Created string `json:"created,omitempty"` Updated string `json:"updated,omitempty"` ObjectCount int `json:"objectCount,omitempty"` ParentObjectTypeId string `json:"parentObjectTypeId,omitempty"` ObjectSchemaId string `json:"objectSchemaId,omitempty"` Inherited bool `json:"inherited,omitempty"` AbstractObjectType bool `json:"abstractObjectType,omitempty"` ParentObjectTypeInherited bool `json:"parentObjectTypeInherited,omitempty"` }
type OperationScheme ¶
type OrganizationDomainDataScheme ¶
type OrganizationDomainDataScheme struct { ID string `json:"id"` Type string `json:"type"` Attributes struct { Name string `json:"name"` Claim struct { Type string `json:"type"` Status string `json:"status"` } `json:"claim"` } `json:"attributes"` Links struct { Self string `json:"self"` } `json:"links"` }
type OrganizationDomainModelAttributesScheme ¶
type OrganizationDomainModelAttributesScheme struct { Name string `json:"name,omitempty"` Claim *OrganizationDomainModelAttributeClaimScheme `json:"claim,omitempty"` }
type OrganizationDomainModelScheme ¶
type OrganizationDomainModelScheme struct { ID string `json:"id,omitempty"` Type string `json:"type,omitempty"` Attributes *OrganizationDomainModelAttributesScheme `json:"attributes,omitempty"` Links *LinkSelfModelScheme `json:"links,omitempty"` }
type OrganizationDomainPageScheme ¶
type OrganizationDomainPageScheme struct { Data []*OrganizationDomainModelScheme `json:"data,omitempty"` Links *LinkPageModelScheme `json:"links,omitempty"` }
type OrganizationDomainScheme ¶
type OrganizationDomainScheme struct {
Data *OrganizationDomainDataScheme `json:"data"`
}
type OrganizationEventActionModelScheme ¶
type OrganizationEventActionModelScheme struct { ID string `json:"id,omitempty"` Type string `json:"type,omitempty"` Attributes *OrganizationEventActionModelAttributesScheme `json:"attributes,omitempty"` }
type OrganizationEventActionScheme ¶
type OrganizationEventActionScheme struct {
Data []*OrganizationEventActionModelScheme `json:"data,omitempty"`
}
type OrganizationEventActorModel ¶
type OrganizationEventActorModel struct { ID string `json:"id,omitempty"` Name string `json:"name,omitempty"` Links *LinkSelfModelScheme `json:"links,omitempty"` }
type OrganizationEventModelAttributesScheme ¶
type OrganizationEventModelAttributesScheme struct { Time string `json:"time,omitempty"` Action string `json:"action,omitempty"` Actor *OrganizationEventActorModel `json:"actor,omitempty"` Context []*OrganizationEventObjectModel `json:"context,omitempty"` Container []*OrganizationEventObjectModel `json:"container,omitempty"` Location *OrganizationEventLocationModel `json:"location,omitempty"` }
type OrganizationEventModelScheme ¶
type OrganizationEventModelScheme struct { ID string `json:"id,omitempty"` Type string `json:"type,omitempty"` Attributes *OrganizationEventModelAttributesScheme `json:"attributes,omitempty"` Links *LinkSelfModelScheme `json:"links,omitempty"` }
type OrganizationEventOptScheme ¶
type OrganizationEventOptScheme struct { Q string //Single query term for searching events. From time.Time //The earliest date and time of the event represented as a UNIX epoch time. To time.Time //The latest date and time of the event represented as a UNIX epoch time. Action string //A query filter that returns events of a specific action type. }
type OrganizationEventPageScheme ¶
type OrganizationEventPageScheme struct { Data []*OrganizationEventModelScheme `json:"data,omitempty"` Links *LinkPageModelScheme `json:"links,omitempty"` Meta struct { Next string `json:"next,omitempty"` PageSize int `json:"page_size,omitempty"` } `json:"meta,omitempty"` }
type OrganizationEventScheme ¶
type OrganizationEventScheme struct {
Data *OrganizationEventModelScheme `json:"data,omitempty"`
}
type OrganizationModelAttribute ¶
type OrganizationModelAttribute struct {
Name string `json:"name,omitempty"`
}
type OrganizationModelRelationships ¶
type OrganizationModelRelationships struct { Domains *OrganizationModelSchemes `json:"domains,omitempty"` Users *OrganizationModelSchemes `json:"users,omitempty"` }
type OrganizationModelScheme ¶
type OrganizationModelScheme struct { ID string `json:"id,omitempty"` Type string `json:"type,omitempty"` Attributes *OrganizationModelAttribute `json:"attributes,omitempty"` Relationships *OrganizationModelRelationships `json:"relationships,omitempty"` Links *LinkSelfModelScheme `json:"links,omitempty"` }
type OrganizationModelSchemes ¶
type OrganizationModelSchemes struct { Links struct { Related string `json:"related,omitempty"` } `json:"links,omitempty"` }
type OrganizationPageScheme ¶
type OrganizationPageScheme struct { Size int `json:"size,omitempty"` Start int `json:"start,omitempty"` Limit int `json:"limit,omitempty"` IsLastPage bool `json:"isLastPage,omitempty"` Values []*OrganizationScheme `json:"values,omitempty"` Expands []string `json:"_expands,omitempty"` Links *OrganizationPageLinkScheme `json:"_links,omitempty"` }
type OrganizationPolicyAttributes ¶
type OrganizationPolicyAttributes struct { Type string `json:"type,omitempty"` Name string `json:"name,omitempty"` Status string `json:"status,omitempty"` Resources []*OrganizationPolicyResource `json:"resources,omitempty"` CreatedAt time.Time `json:"createdAt,omitempty"` UpdatedAt time.Time `json:"updatedAt,omitempty"` }
type OrganizationPolicyData ¶
type OrganizationPolicyData struct { ID string `json:"id,omitempty"` Type string `json:"type,omitempty"` Attributes *OrganizationPolicyAttributes `json:"attributes,omitempty"` }
type OrganizationPolicyPageScheme ¶
type OrganizationPolicyPageScheme struct { Data []*OrganizationPolicyData `json:"data,omitempty"` Links *LinkPageModelScheme `json:"links,omitempty"` Meta struct { Next string `json:"next,omitempty"` PageSize int `json:"page_size,omitempty"` } `json:"meta,omitempty"` }
type OrganizationPolicyScheme ¶
type OrganizationPolicyScheme struct {
Data OrganizationPolicyData `json:"data,omitempty"`
}
type OrganizationScheme ¶
type OrganizationUserPageScheme ¶
type OrganizationUserPageScheme struct { Data []*AdminOrganizationUserScheme `json:"data,omitempty"` Links *LinkPageModelScheme `json:"links,omitempty"` Meta struct { Total int `json:"total,omitempty"` } `json:"meta,omitempty"` }
type OrganizationUserScheme ¶
type OrganizationUserScheme struct { AccountID string `json:"accountId,omitempty"` Name string `json:"name,omitempty"` Key string `json:"key,omitempty"` EmailAddress string `json:"emailAddress,omitempty"` DisplayName string `json:"displayName,omitempty"` Active bool `json:"active,omitempty"` TimeZone string `json:"timeZone,omitempty"` Links *OrganizationUserLinkScheme `json:"_links,omitempty"` }
type OrganizationUsersPageScheme ¶
type OrganizationUsersPageScheme struct { Size int `json:"size,omitempty"` Start int `json:"start,omitempty"` Limit int `json:"limit,omitempty"` IsLastPage bool `json:"isLastPage,omitempty"` Values []*OrganizationUserScheme `json:"values,omitempty"` Expands []string `json:"_expands,omitempty"` Links *OrganizationUsersPageLinkScheme `json:"_links,omitempty"` }
type PageBodyScheme ¶
type PageBodyScheme struct { Storage *PageBodyRepresentationScheme `json:"storage,omitempty"` AtlasDocFormat *PageBodyRepresentationScheme `json:"atlas_doc_format,omitempty"` }
type PageChunkLinksScheme ¶
type PageChunkLinksScheme struct {
Next string `json:"next,omitempty"`
}
type PageChunkScheme ¶
type PageChunkScheme struct { Results []*PageScheme `json:"results,omitempty"` Links *PageChunkLinksScheme `json:"_links,omitempty"` }
type PageCreatePayloadScheme ¶
type PageCreatePayloadScheme struct { SpaceID int `json:"spaceId,omitempty"` Status string `json:"status,omitempty"` Title string `json:"title,omitempty"` Body *PageBodyRepresentationScheme `json:"body,omitempty"` }
type PageLinkScheme ¶
type PageLinkScheme struct {
Next string `json:"next,omitempty"`
}
type PageOptionsScheme ¶
type PageScheme ¶
type PageScheme struct { ID string `json:"id,omitempty"` Status string `json:"status,omitempty"` Title string `json:"title,omitempty"` SpaceID string `json:"spaceId,omitempty"` ParentID string `json:"parentId,omitempty"` AuthorID string `json:"authorId,omitempty"` CreatedAt string `json:"createdAt,omitempty"` ParentType string `json:"parentType,omitempty"` Position int `json:"position,omitempty"` Version *PageVersionScheme `json:"version,omitempty"` Body *PageBodyScheme `json:"body,omitempty"` }
type PageUpdatePayloadScheme ¶
type PageUpdatePayloadScheme struct { ID int `json:"id,omitempty"` Status string `json:"status,omitempty"` Title string `json:"title,omitempty"` SpaceID int `json:"spaceId,omitempty"` Body *PageBodyRepresentationScheme `json:"body,omitempty"` Version *PageUpdatePayloadVersionScheme `json:"version,omitempty"` }
type PageVersionScheme ¶
type ParentFieldsScheme ¶
type ParentFieldsScheme struct { Summary string `json:"summary,omitempty"` Status *StatusScheme `json:"status,omitempty"` }
type ParentScheme ¶
type ParentScheme struct { ID string `json:"id,omitempty"` Key string `json:"key,omitempty"` Self string `json:"self,omitempty"` Fields *ParentFieldsScheme `json:"fields,omitempty"` }
type ParseQueryScheme ¶
type ParseQueryScheme struct { Query string `json:"query"` Structure struct { Where struct { } `json:"where"` OrderBy *QueryStructureOrderScheme `json:"orderBy"` } `json:"structure"` Errors []string `json:"errors"` }
type ParsedQueryPageScheme ¶
type ParsedQueryPageScheme struct {
Queries []*ParseQueryScheme `json:"queries"`
}
type PermissionCheckMessageScheme ¶
type PermissionCheckMessageScheme struct { Translation string `json:"translation"` Args []struct { } `json:"args"` }
type PermissionCheckPayload ¶
type PermissionCheckPayload struct { GlobalPermissions []string `json:"globalPermissions,omitempty"` AccountID string `json:"accountId,omitempty"` ProjectPermissions []*BulkProjectPermissionsScheme `json:"projectPermissions,omitempty"` }
type PermissionCheckResponseScheme ¶
type PermissionCheckResponseScheme struct { HasPermission bool `json:"hasPermission"` Errors []*PermissionCheckMessageScheme `json:"errors,omitempty"` }
type PermissionGrantPayloadScheme ¶
type PermissionGrantPayloadScheme struct { Holder *PermissionGrantHolderScheme `json:"holder,omitempty"` Permission string `json:"permission,omitempty"` }
type PermissionGrantScheme ¶
type PermissionGrantScheme struct { ID int `json:"id,omitempty"` Self string `json:"self,omitempty"` Holder *PermissionGrantHolderScheme `json:"holder,omitempty"` Permission string `json:"permission,omitempty"` }
type PermissionGrantsScheme ¶
type PermissionGrantsScheme struct { ProjectPermissions []*ProjectPermissionGrantsScheme `json:"projectPermissions,omitempty"` GlobalPermissions []string `json:"globalPermissions,omitempty"` }
type PermissionScheme ¶
type PermissionSchemeGrantsScheme ¶
type PermissionSchemeGrantsScheme struct { Permissions []*PermissionGrantScheme `json:"permissions,omitempty"` Expand string `json:"expand,omitempty"` }
type PermissionSchemePageScheme ¶
type PermissionSchemePageScheme struct {
PermissionSchemes []*PermissionSchemeScheme `json:"permissionSchemes,omitempty"`
}
type PermissionSchemeScheme ¶
type PermissionSchemeScheme struct { Expand string `json:"expand,omitempty"` ID int `json:"id,omitempty"` Self string `json:"self,omitempty"` Name string `json:"name,omitempty"` Description string `json:"description,omitempty"` Permissions []*PermissionGrantScheme `json:"permissions,omitempty"` Scope *TeamManagedProjectScopeScheme `json:"scope,omitempty"` }
type PermissionScopeItemScheme ¶
type PermissionScopeItemScheme struct { Self string `json:"self,omitempty"` ID string `json:"id,omitempty"` Key string `json:"key,omitempty"` Name string `json:"name,omitempty"` ProjectTypeKey string `json:"projectTypeKey,omitempty"` Simplified bool `json:"simplified,omitempty"` ProjectCategory *ProjectCategoryScheme `json:"projectCategory,omitempty"` }
type PermissionSubjectScheme ¶
type PermittedProjectsScheme ¶
type PermittedProjectsScheme struct {
Projects []*ProjectIdentifierScheme `json:"projects,omitempty"`
}
type PriorityScheme ¶
type ProfilePictureScheme ¶
type ProjectCategoryScheme ¶
type ProjectDetailScheme ¶
type ProjectDetailScheme struct { Self string `json:"self,omitempty"` ID string `json:"id,omitempty"` Key string `json:"key,omitempty"` Name string `json:"name,omitempty"` ProjectTypeKey string `json:"projectTypeKey,omitempty"` Simplified bool `json:"simplified,omitempty"` ProjectCategory *ProjectCategoryScheme `json:"projectCategory,omitempty"` }
type ProjectFeatureScheme ¶
type ProjectFeatureScheme struct { ProjectID int `json:"projectId,omitempty"` State string `json:"state,omitempty"` ToggleLocked bool `json:"toggleLocked,omitempty"` Feature string `json:"feature,omitempty"` Prerequisites []string `json:"prerequisites,omitempty"` LocalisedName string `json:"localisedName,omitempty"` LocalisedDescription string `json:"localisedDescription,omitempty"` ImageURI string `json:"imageUri,omitempty"` }
type ProjectFeaturesScheme ¶
type ProjectFeaturesScheme struct {
Features []*ProjectFeatureScheme `json:"features,omitempty"`
}
type ProjectHierarchyScheme ¶
type ProjectHierarchyScheme struct { EntityID string `json:"entityId,omitempty"` Level int `json:"level,omitempty"` Name string `json:"name,omitempty"` IssueTypes []*ProjectHierarchyIssueTypeScheme `json:"issueTypes,omitempty"` }
type ProjectIdentifierScheme ¶
type ProjectInsightScheme ¶
type ProjectIssueTypeSchemePageScheme ¶
type ProjectIssueTypeSchemePageScheme struct { MaxResults int `json:"maxResults"` StartAt int `json:"startAt"` Total int `json:"total"` IsLast bool `json:"isLast"` Values []*IssueTypeSchemeProjectsScheme `json:"values"` }
type ProjectIssueTypesScheme ¶
type ProjectIssueTypesScheme struct { Project *ProjectScheme `json:"project,omitempty"` IssueTypes []string `json:"issueTypes,omitempty"` }
type ProjectNotificationSchemeEventScheme ¶
type ProjectNotificationSchemeEventScheme struct { Event *NotificationEventScheme `json:"event,omitempty"` Notifications []*EventNotificationScheme `json:"notifications,omitempty"` }
type ProjectPayloadScheme ¶
type ProjectPayloadScheme struct { NotificationScheme int `json:"notificationScheme,omitempty"` FieldConfigurationScheme int `json:"fieldConfigurationScheme,omitempty"` IssueSecurityScheme int `json:"issueSecurityScheme,omitempty"` PermissionScheme int `json:"permissionScheme,omitempty"` IssueTypeScheme int `json:"issueTypeScheme,omitempty"` IssueTypeScreenScheme int `json:"issueTypeScreenScheme,omitempty"` WorkflowScheme int `json:"workflowScheme,omitempty"` Description string `json:"description,omitempty"` LeadAccountID string `json:"leadAccountId,omitempty"` URL string `json:"url,omitempty"` ProjectTemplateKey string `json:"projectTemplateKey,omitempty"` AvatarID int `json:"avatarId,omitempty"` Name string `json:"name,omitempty"` AssigneeType string `json:"assigneeType,omitempty"` ProjectTypeKey string `json:"projectTypeKey,omitempty"` Key string `json:"key,omitempty"` CategoryID int `json:"categoryId,omitempty"` }
type ProjectPropertyPageScheme ¶
type ProjectPropertyPageScheme struct {
Keys []*ProjectPropertyScheme `json:"keys,omitempty"`
}
type ProjectPropertyScheme ¶
type ProjectRequestTypePageScheme ¶
type ProjectRequestTypePageScheme struct { Expands []string `json:"_expands,omitempty"` Size int `json:"size,omitempty"` Start int `json:"start,omitempty"` Limit int `json:"limit,omitempty"` IsLastPage bool `json:"isLastPage,omitempty"` Values []*RequestTypeScheme `json:"values,omitempty"` Links *ProjectRequestTypePageLinkScheme `json:"_links,omitempty"` }
type ProjectRoleDetailScheme ¶
type ProjectRoleDetailScheme struct { Self string `json:"self,omitempty"` Name string `json:"name,omitempty"` ID int `json:"id,omitempty"` Description string `json:"description,omitempty"` Admin bool `json:"admin,omitempty"` Scope *TeamManagedProjectScopeScheme `json:"scope,omitempty"` RoleConfigurable bool `json:"roleConfigurable,omitempty"` TranslatedName string `json:"translatedName,omitempty"` Default bool `json:"default,omitempty"` }
type ProjectRoleScheme ¶
type ProjectRoleScheme struct { Self string `json:"self,omitempty"` Name string `json:"name,omitempty"` ID int `json:"id,omitempty"` Description string `json:"description,omitempty"` Actors []*RoleActorScheme `json:"actors,omitempty"` Scope *TeamManagedProjectScopeScheme `json:"scope,omitempty"` TranslatedName string `json:"translatedName,omitempty"` CurrentUserRole bool `json:"currentUserRole,omitempty"` Admin bool `json:"admin,omitempty"` RoleConfigurable bool `json:"roleConfigurable,omitempty"` Default bool `json:"default,omitempty"` }
type ProjectRolesScheme ¶
type ProjectRolesScheme struct { AtlassianAddonsProjectAccess string `json:"atlassian-addons-project-access,omitempty"` ServiceDeskTeam string `json:"Service Desk Team,omitempty"` ServiceDeskCustomers string `json:"Service Desk Customers,omitempty"` Administrators string `json:"Administrators,omitempty"` }
type ProjectScheme ¶
type ProjectScheme struct { Expand string `json:"expand,omitempty"` Self string `json:"self,omitempty"` ID string `json:"id,omitempty"` Key string `json:"key,omitempty"` Description string `json:"description,omitempty"` URL string `json:"url,omitempty"` Email string `json:"email,omitempty"` AssigneeType string `json:"assigneeType,omitempty"` Name string `json:"name,omitempty"` ProjectTypeKey string `json:"projectTypeKey,omitempty"` Simplified bool `json:"simplified,omitempty"` Style string `json:"style,omitempty"` Favourite bool `json:"favourite,omitempty"` IsPrivate bool `json:"isPrivate,omitempty"` UUID string `json:"uuid,omitempty"` Lead *UserScheme `json:"lead,omitempty"` Components []*ComponentScheme `json:"components,omitempty"` IssueTypes []*IssueTypeScheme `json:"issueTypes,omitempty"` Versions []*VersionScheme `json:"versions,omitempty"` Roles *ProjectRolesScheme `json:"roles,omitempty"` AvatarUrls *AvatarURLScheme `json:"avatarUrls,omitempty"` ProjectKeys []string `json:"projectKeys,omitempty"` Insight *ProjectInsightScheme `json:"insight,omitempty"` Category *ProjectCategoryScheme `json:"projectCategory,omitempty"` Deleted bool `json:"deleted,omitempty"` RetentionTillDate string `json:"retentionTillDate,omitempty"` DeletedDate string `json:"deletedDate,omitempty"` DeletedBy *UserScheme `json:"deletedBy,omitempty"` Archived bool `json:"archived,omitempty"` ArchivedDate string `json:"archivedDate,omitempty"` ArchivedBy *UserScheme `json:"archivedBy,omitempty"` }
type ProjectSearchOptionsScheme ¶
type ProjectSearchOptionsScheme struct { OrderBy string // The project IDs to filter the results by. // To include multiple IDs, provide an ampersand-separated list. IDs []int // The project keys to filter the results by. // To include multiple keys, provide an ampersand-separated list. Keys []string // Filter the results using a literal string. // Projects with a matching key or name are returned (case-insensitive). Query string // Orders results by the project type. // This parameter accepts a comma-separated list. // Valid values are business, service_desk, and software. TypeKeys []string // The ID of the project's category. // A complete list of category IDs is found using the Get all project categories operation. CategoryID int Action string // EXPERIMENTAL. Filter results by project status: // 1. live: Search live projects. // 2. archived: Search archived projects. // 3. deleted: Search deleted projects, those in the recycle bin. Status []string // Use expand to include additional information in the response. // This parameter accepts a comma-separated list. Expand []string // EXPERIMENTAL. A list of project properties to return for the project. // This parameter accepts a comma-separated list. Properties []string // EXPERIMENTAL. A query string used to search properties. // The query string cannot be specified using a JSON object. // For example, to search for the value of nested from {"something":{"nested":1,"other":2}} // use [thepropertykey].something.nested=1. // Note that thepropertykey is only returned when included in properties. PropertyQuery string }
type ProjectSearchScheme ¶
type ProjectSearchScheme struct { Self string `json:"self,omitempty"` NextPage string `json:"nextPage,omitempty"` MaxResults int `json:"maxResults,omitempty"` StartAt int `json:"startAt,omitempty"` Total int `json:"total,omitempty"` IsLast bool `json:"isLast,omitempty"` Values []*ProjectScheme `json:"values,omitempty"` }
type ProjectStatusDetailsScheme ¶
type ProjectStatusDetailsScheme struct { Self string `json:"self,omitempty"` Description string `json:"description,omitempty"` IconURL string `json:"iconUrl,omitempty"` Name string `json:"name,omitempty"` ID string `json:"id,omitempty"` StatusCategory *StatusCategoryScheme `json:"statusCategory,omitempty"` }
type ProjectStatusPageScheme ¶
type ProjectStatusPageScheme struct { Self string `json:"self,omitempty"` ID string `json:"id,omitempty"` Name string `json:"name,omitempty"` Subtask bool `json:"subtask,omitempty"` Statuses []*ProjectStatusDetailsScheme `json:"statuses,omitempty"` }
type ProjectTypeScheme ¶
type ProjectUpdateScheme ¶
type ProjectUpdateScheme struct { NotificationScheme int `json:"notificationScheme,omitempty"` Description string `json:"description,omitempty"` Lead string `json:"lead,omitempty"` URL string `json:"url,omitempty"` ProjectTemplateKey string `json:"projectTemplateKey,omitempty"` AvatarID int `json:"avatarId,omitempty"` IssueSecurityScheme int `json:"issueSecurityScheme,omitempty"` Name string `json:"name,omitempty"` PermissionScheme int `json:"permissionScheme,omitempty"` AssigneeType string `json:"assigneeType,omitempty"` ProjectTypeKey string `json:"projectTypeKey,omitempty"` Key string `json:"key,omitempty"` CategoryID int `json:"categoryId,omitempty"` }
type QueryPropertyScheme ¶
type QueryStructureOrderFieldNodeScheme ¶
type QueryStructureOrderFieldNodeScheme struct { Name string `json:"name"` Property []*QueryPropertyScheme `json:"property"` }
type QueryStructureOrderFieldScheme ¶
type QueryStructureOrderFieldScheme struct { Field *QueryStructureOrderFieldNodeScheme `json:"field"` Direction string `json:"direction"` }
type QueryStructureOrderScheme ¶
type QueryStructureOrderScheme struct {
Fields []*QueryStructureOrderFieldScheme `json:"fields"`
}
type QueryStructureScheme ¶
type QueryStructureScheme struct {
OrderBy *QueryStructureOrderScheme `json:"orderBy"`
}
type RemoteLinkIdentify ¶
type RemoteLinkObjectScheme ¶
type RemoteLinkObjectScheme struct { Icon *RemoteLinkObjectLinkScheme `json:"icon,omitempty"` Status *RemoteLinkObjectStatusScheme `json:"status,omitempty"` Summary string `json:"summary,omitempty"` Title string `json:"title,omitempty"` URL string `json:"url,omitempty"` }
type RemoteLinkObjectStatusScheme ¶
type RemoteLinkObjectStatusScheme struct { Icon *RemoteLinkObjectLinkScheme `json:"icon,omitempty"` Resolved bool `json:"resolved,omitempty"` }
type RemoteLinkScheme ¶
type RemoteLinkScheme struct { Application *RemoteLinkApplicationScheme `json:"application,omitempty"` GlobalID string `json:"globalId,omitempty"` ID int `json:"id,omitempty"` Object *RemoteLinkObjectScheme `json:"object,omitempty"` Relationship string `json:"relationship,omitempty"` Self string `json:"self,omitempty"` }
type RequestAttachmentCreationCommentScheme ¶
type RequestAttachmentCreationCommentScheme struct { Expands []string `json:"_expands,omitempty"` ID string `json:"id,omitempty"` Body string `json:"body,omitempty"` Public bool `json:"public,omitempty"` Author RequestAuthorScheme `json:"author,omitempty"` Created *CustomerRequestDateScheme `json:"created,omitempty"` Links struct { Self string `json:"self,omitempty"` } `json:"_links,omitempty"` }
type RequestAttachmentCreationScheme ¶
type RequestAttachmentCreationScheme struct { Comment *RequestAttachmentCreationCommentScheme `json:"comment,omitempty"` Attachments *RequestAttachmentPageScheme `json:"attachments,omitempty"` }
type RequestAttachmentPageScheme ¶
type RequestAttachmentPageScheme struct { Size int `json:"size,omitempty"` Start int `json:"start,omitempty"` Limit int `json:"limit,omitempty"` IsLastPage bool `json:"isLastPage,omitempty"` Values []*RequestAttachmentScheme `json:"values,omitempty"` Expands []string `json:"_expands,omitempty"` Links *RequestAttachmentPageLinkScheme `json:"_links,omitempty"` }
type RequestAttachmentScheme ¶
type RequestAttachmentScheme struct { Filename string `json:"filename,omitempty"` Author *RequestAuthorScheme `json:"author,omitempty"` Created *CustomerRequestDateScheme `json:"created,omitempty"` Size int `json:"size,omitempty"` MimeType string `json:"mimeType,omitempty"` Links *RequestAttachmentLinkScheme `json:"_links,omitempty"` }
type RequestAuthorScheme ¶
type RequestAuthorScheme struct { AccountID string `json:"accountId,omitempty"` Name string `json:"name,omitempty"` Key string `json:"key,omitempty"` EmailAddress string `json:"emailAddress,omitempty"` DisplayName string `json:"displayName,omitempty"` Active bool `json:"active,omitempty"` TimeZone string `json:"timeZone,omitempty"` }
type RequestCommentLinkScheme ¶
type RequestCommentLinkScheme struct {
Self string `json:"self"`
}
type RequestCommentPageScheme ¶
type RequestCommentPageScheme struct { Size int `json:"size"` Start int `json:"start"` Limit int `json:"limit"` IsLastPage bool `json:"isLastPage"` Values []*RequestCommentScheme `json:"values"` Expands []string `json:"_expands"` Links *RequestCommentPageLinkScheme `json:"_links"` }
type RequestCommentRenderScheme ¶
type RequestCommentRenderScheme struct {
HTML string `json:"html"`
}
type RequestCommentScheme ¶
type RequestCommentScheme struct { ID string `json:"id,omitempty"` Body string `json:"body,omitempty"` RenderedBody *RequestCommentRenderScheme `json:"renderedBody,omitempty"` Author *RequestAuthorScheme `json:"author,omitempty"` Created *CustomerRequestDateScheme `json:"created,omitempty"` Attachments *RequestAttachmentPageScheme `json:"attachments,omitempty"` Expands []string `json:"_expands,omitempty"` Public bool `json:"public,omitempty"` Links *RequestCommentLinkScheme `json:"_links,omitempty"` }
type RequestParticipantPageScheme ¶
type RequestParticipantPageScheme struct { Size int `json:"size,omitempty"` Start int `json:"start,omitempty"` Limit int `json:"limit,omitempty"` IsLastPage bool `json:"isLastPage,omitempty"` Values []*RequestParticipantScheme `json:"values,omitempty"` Expands []string `json:"_expands,omitempty"` Links *RequestParticipantPageLinkScheme `json:"_links,omitempty"` }
type RequestParticipantScheme ¶
type RequestParticipantScheme struct { AccountID string `json:"accountId,omitempty"` Name string `json:"name,omitempty"` Key string `json:"key,omitempty"` EmailAddress string `json:"emailAddress,omitempty"` DisplayName string `json:"displayName,omitempty"` Active bool `json:"active,omitempty"` TimeZone string `json:"timeZone,omitempty"` Links *RequestParticipantLinkScheme `json:"_links,omitempty"` }
type RequestSLALinkScheme ¶
type RequestSLALinkScheme struct {
Self string `json:"self,omitempty"`
}
type RequestSLAPageScheme ¶
type RequestSLAPageScheme struct { Size int `json:"size,omitempty"` Start int `json:"start,omitempty"` Limit int `json:"limit,omitempty"` IsLastPage bool `json:"isLastPage,omitempty"` Values []*RequestSLAScheme `json:"values,omitempty"` Expands []string `json:"_expands,omitempty"` Links *RequestSLAPageLinkScheme `json:"_links,omitempty"` }
type RequestSLAScheme ¶
type RequestSLAScheme struct { ID string `json:"id,omitempty"` Name string `json:"name,omitempty"` OngoingCycle *RequestSLAOngoingCycleScheme `json:"ongoingCycle,omitempty"` Links *RequestSLALinkScheme `json:"_links,omitempty"` }
type RequestTypeFieldScheme ¶
type RequestTypeFieldScheme struct { FieldID string `json:"fieldId,omitempty"` Name string `json:"name,omitempty"` Description string `json:"description,omitempty"` Required bool `json:"required,omitempty"` DefaultValues []*RequestTypeFieldValueScheme `json:"defaultValues,omitempty"` ValidValues []*RequestTypeFieldValueScheme `json:"validValues,omitempty"` JiraSchema *RequestTypeJiraSchema `json:"jiraSchema,omitempty"` Visible bool `json:"visible,omitempty"` }
type RequestTypeFieldsScheme ¶
type RequestTypeFieldsScheme struct { RequestTypeFields []*RequestTypeFieldScheme `json:"requestTypeFields,omitempty"` CanRaiseOnBehalfOf bool `json:"canRaiseOnBehalfOf,omitempty"` CanAddRequestParticipants bool `json:"canAddRequestParticipants,omitempty"` }
type RequestTypeJiraSchema ¶
type RequestTypePageScheme ¶
type RequestTypePageScheme struct { Size int `json:"size,omitempty"` Start int `json:"start,omitempty"` Limit int `json:"limit,omitempty"` IsLastPage bool `json:"isLastPage,omitempty"` Values []*RequestTypeScheme `json:"values,omitempty"` Expands []string `json:"_expands,omitempty"` Links *RequestTypePageLinkScheme `json:"_links,omitempty"` }
type RequestTypeScheme ¶
type RequestTypeScheme struct { ID string `json:"id,omitempty"` Name string `json:"name,omitempty"` Description string `json:"description,omitempty"` HelpText string `json:"helpText,omitempty"` IssueTypeID string `json:"issueTypeId,omitempty"` ServiceDeskID string `json:"serviceDeskId,omitempty"` GroupIds []string `json:"groupIds,omitempty"` Expands []string `json:"_expands,omitempty"` }
type ResolutionScheme ¶
type ResourceMetaScheme ¶
type ResourceScheme ¶
type ResourceScheme struct { ID string `json:"id,omitempty"` Name string `json:"name,omitempty"` Description string `json:"description,omitempty"` Attributes []*AttributeScheme `json:"attributes,omitempty"` Meta *ResourceMetaScheme `json:"meta,omitempty"` }
type ResponseScheme ¶
type RoleActorScheme ¶
type RoleActorScheme struct { ID int `json:"id,omitempty"` DisplayName string `json:"displayName,omitempty"` Type string `json:"type,omitempty"` Name string `json:"name,omitempty"` AvatarURL string `json:"avatarUrl,omitempty"` ActorGroup *GroupScheme `json:"actorGroup,omitempty"` ActorUser *RoleActorUserScheme `json:"actorUser,omitempty"` }
type RoleActorUserScheme ¶
type RoleActorUserScheme struct {
AccountID string `json:"accountId,omitempty"`
}
type SCIMExtensionScheme ¶
type SCIMExtensionScheme struct {
AtlassianAccountID string `json:"atlassianAccountId,omitempty"`
}
type SCIMGroupOperationScheme ¶
type SCIMGroupOperationScheme struct { Op string `json:"op,omitempty"` Path string `json:"path,omitempty"` Value []*SCIMGroupOperationValueScheme `json:"value,omitempty"` }
type SCIMGroupPathScheme ¶
type SCIMGroupPathScheme struct { Schemas []string `json:"schemas,omitempty"` Operations []*SCIMGroupOperationScheme `json:"Operations,omitempty"` }
type SCIMSchemaScheme ¶
type SCIMSchemaScheme struct { ID string `json:"id,omitempty"` Name string `json:"name,omitempty"` Description string `json:"description,omitempty"` Attributes []*AttributeScheme `json:"attributes,omitempty"` Meta *ResourceMetaScheme `json:"meta,omitempty"` }
type SCIMSchemasScheme ¶
type SCIMSchemasScheme struct { TotalResults int `json:"totalResults,omitempty"` ItemsPerPage int `json:"itemsPerPage,omitempty"` StartIndex int `json:"startIndex,omitempty"` Schemas []string `json:"schemas,omitempty"` Resources []*ResourceScheme `json:"Resources,omitempty"` }
type SCIMUserEmailScheme ¶
type SCIMUserGroupScheme ¶
type SCIMUserMetaScheme ¶
type SCIMUserNameScheme ¶
type SCIMUserNameScheme struct { Formatted string `json:"formatted,omitempty"` FamilyName string `json:"familyName,omitempty"` GivenName string `json:"givenName,omitempty"` MiddleName string `json:"middleName,omitempty"` HonorificPrefix string `json:"honorificPrefix,omitempty"` HonorificSuffix string `json:"honorificSuffix,omitempty"` }
type SCIMUserPageScheme ¶
type SCIMUserPageScheme struct { Schemas []string `json:"schemas,omitempty"` TotalResults int `json:"totalResults,omitempty"` StartIndex int `json:"startIndex,omitempty"` ItemsPerPage int `json:"itemsPerPage,omitempty"` Resources []*SCIMUserScheme `json:"Resources,omitempty"` }
type SCIMUserScheme ¶
type SCIMUserScheme struct { ID string `json:"id"` ExternalID string `json:"externalId"` Meta *SCIMUserMetaScheme `json:"meta,omitempty"` Groups []*SCIMUserGroupScheme `json:"groups,omitempty"` UserName string `json:"userName,omitempty"` Emails []*SCIMUserEmailScheme `json:"emails,omitempty"` Name *SCIMUserNameScheme `json:"name,omitempty"` DisplayName string `json:"displayName,omitempty"` NickName string `json:"nickName,omitempty"` Title string `json:"title,omitempty"` PreferredLanguage string `json:"preferredLanguage,omitempty"` Department string `json:"department,omitempty"` Organization string `json:"organization,omitempty"` Timezone string `json:"timezone,omitempty"` PhoneNumbers []*SCIMUserPhoneNumberScheme `json:"phoneNumbers,omitempty"` Active bool `json:"active,omitempty"` EnterpriseInfo *SCIMEnterpriseUserInfoScheme `json:"urn:ietf:params:scim:schemas:extension:enterprise:2.1:User,omitempty"` SCIMExtension *SCIMExtensionScheme `json:"urn:scim:schemas:extension:atlassian-external:1.1,omitempty"` }
type SCIMUserToPathScheme ¶
type SCIMUserToPathScheme struct { Schemas []string `json:"schemas,omitempty"` Operations []*SCIMUserToPathOperationScheme `json:"operations,omitempty"` }
func (*SCIMUserToPathScheme) AddBoolOperation ¶
func (s *SCIMUserToPathScheme) AddBoolOperation(operation, path string, value bool) error
func (*SCIMUserToPathScheme) AddComplexOperation ¶
func (s *SCIMUserToPathScheme) AddComplexOperation(operation, path string, values []*SCIMUserComplexOperationScheme) error
func (*SCIMUserToPathScheme) AddStringOperation ¶
func (s *SCIMUserToPathScheme) AddStringOperation(operation, path, value string) error
type SCIMUserToPathValueScheme ¶
type SCIMUserToPathValueScheme struct { Array bool `json:"array,omitempty"` Null bool `json:"null,omitempty"` ValueNode bool `json:"valueNode,omitempty"` ContainerNode bool `json:"containerNode,omitempty"` MissingNode bool `json:"missingNode,omitempty"` Object bool `json:"object,omitempty"` NodeType string `json:"nodeType,omitempty"` Pojo bool `json:"pojo,omitempty"` Number bool `json:"number,omitempty"` IntegralNumber bool `json:"integralNumber,omitempty"` FloatingPointNumber bool `json:"floatingPointNumber,omitempty"` Short bool `json:"short,omitempty"` Int bool `json:"int,omitempty"` Long bool `json:"long,omitempty"` Double bool `json:"double,omitempty"` BigDecimal bool `json:"bigDecimal,omitempty"` BigInteger bool `json:"bigInteger,omitempty"` Textual bool `json:"textual,omitempty"` Boolean bool `json:"boolean,omitempty"` Binary bool `json:"binary,omitempty"` Float bool `json:"float,omitempty"` }
type ScimGroupMemberScheme ¶
type ScimGroupPageScheme ¶
type ScimGroupPageScheme struct { Schemas []string `json:"schemas,omitempty"` TotalResults int `json:"totalResults,omitempty"` StartIndex int `json:"startIndex,omitempty"` ItemsPerPage int `json:"itemsPerPage,omitempty"` Resources []*ScimGroupScheme `json:"Resources,omitempty"` }
type ScimGroupScheme ¶
type ScimGroupScheme struct { Schemas []string `json:"schemas,omitempty"` ID string `json:"id,omitempty"` ExternalID string `json:"externalId,omitempty"` DisplayName string `json:"displayName,omitempty"` Members []*ScimGroupMemberScheme `json:"members,omitempty"` Meta *ScimMetadata `json:"meta,omitempty"` }
type ScimMetadata ¶
type ScreenFieldPageScheme ¶
type ScreenFieldPageScheme struct { Self string `json:"self,omitempty"` NextPage string `json:"nextPage,omitempty"` MaxResults int `json:"maxResults,omitempty"` StartAt int `json:"startAt,omitempty"` Total int `json:"total,omitempty"` IsLast bool `json:"isLast,omitempty"` Values []*ScreenWithTabScheme `json:"values,omitempty"` }
type ScreenParamsScheme ¶
type ScreenParamsScheme struct { // The list of screen IDs IDs []int // String used to perform a case-insensitive partial match with screen name. QueryString string // The scope filter string. To filter by multiple scope, Scope []string // Order the results by a field: // 1. id Sorts by screen ID. // 2. name Sorts by screen name. OrderBy string }
type ScreenScheme ¶
type ScreenScheme struct { ID int `json:"id,omitempty"` Name string `json:"name,omitempty"` Description string `json:"description,omitempty"` Scope *TeamManagedProjectScopeScheme `json:"scope,omitempty"` }
type ScreenSchemePageScheme ¶
type ScreenSchemePageScheme struct { Self string `json:"self,omitempty"` NextPage string `json:"nextPage,omitempty"` MaxResults int `json:"maxResults,omitempty"` StartAt int `json:"startAt,omitempty"` Total int `json:"total,omitempty"` IsLast bool `json:"isLast,omitempty"` Values []*ScreenSchemeScheme `json:"values,omitempty"` }
type ScreenSchemePayloadScheme ¶
type ScreenSchemePayloadScheme struct { Screens *ScreenTypesScheme `json:"screens,omitempty"` Name string `json:"name,omitempty"` Description string `json:"description,omitempty"` }
type ScreenSchemeScheme ¶
type ScreenSchemeScheme struct { ID int `json:"id,omitempty"` Name string `json:"name,omitempty"` Description string `json:"description,omitempty"` Screens *ScreenTypesScheme `json:"screens,omitempty"` IssueTypeScreenSchemes *IssueTypeSchemePageScheme `json:"issueTypeScreenSchemes,omitempty"` }
type ScreenSearchPageScheme ¶
type ScreenTabFieldScheme ¶
type ScreenTabScheme ¶
type ScreenTypesScheme ¶
type ScreenWithTabScheme ¶
type ScreenWithTabScheme struct { ID int `json:"id,omitempty"` Name string `json:"name,omitempty"` Description string `json:"description,omitempty"` Scope *TeamManagedProjectScopeScheme `json:"scope,omitempty"` Tab *ScreenTabScheme `json:"tab,omitempty"` }
type SearchBreadcrumbScheme ¶
type SearchContentOptions ¶
type SearchPageLinksScheme ¶
type SearchPageScheme ¶
type SearchPageScheme struct { Results []*SearchResultScheme `json:"results,omitempty"` Start int `json:"start,omitempty"` Limit int `json:"limit,omitempty"` Size int `json:"size,omitempty"` TotalSize int `json:"totalSize,omitempty"` CqlQuery string `json:"cqlQuery,omitempty"` SearchDuration int `json:"searchDuration,omitempty"` ArchivedResultCount int `json:"archivedResultCount,omitempty"` Links *SearchPageLinksScheme `json:"_links,omitempty"` }
type SearchResultScheme ¶
type SearchResultScheme struct { Content *ContentScheme `json:"content,omitempty"` User *ContentUserScheme `json:"user,omitempty"` Space *SpaceScheme `json:"space,omitempty"` Title string `json:"title,omitempty"` Excerpt string `json:"excerpt,omitempty"` URL string `json:"url,omitempty"` ResultParentContainer *ContainerSummaryScheme `json:"resultParentContainer,omitempty"` ResultGlobalContainer *ContainerSummaryScheme `json:"resultGlobalContainer,omitempty"` Breadcrumbs []*SearchBreadcrumbScheme `json:"breadcrumbs,omitempty"` EntityType string `json:"entityType,omitempty"` IconCSSClass string `json:"iconCssClass,omitempty"` LastModified string `json:"lastModified,omitempty"` FriendlyLastModified string `json:"friendlyLastModified,omitempty"` Score float64 `json:"score,omitempty"` }
type SecurityScheme ¶
type ServerHealthCheckScheme ¶
type ServerInformationScheme ¶
type ServerInformationScheme struct { BaseURL string `json:"baseUrl,omitempty"` Version string `json:"version,omitempty"` VersionNumbers []int `json:"versionNumbers,omitempty"` DeploymentType string `json:"deploymentType,omitempty"` BuildNumber int `json:"buildNumber,omitempty"` BuildDate string `json:"buildDate,omitempty"` ServerTime string `json:"serverTime,omitempty"` ScmInfo string `json:"scmInfo,omitempty"` ServerTitle string `json:"serverTitle,omitempty"` HealthChecks []*ServerHealthCheckScheme `json:"healthChecks,omitempty"` }
type ServiceDeskIssueQueueScheme ¶
type ServiceDeskIssueQueueScheme struct { Size int `json:"size,omitempty"` Start int `json:"start,omitempty"` Limit int `json:"limit,omitempty"` IsLastPage bool `json:"isLastPage,omitempty"` Values []*IssueSchemeV2 `json:"values,omitempty"` Expands []string `json:"_expands,omitempty"` Links *ServiceDeskQueuePageLinkScheme `json:"_links,omitempty"` }
type ServiceDeskPageScheme ¶
type ServiceDeskPageScheme struct { Expands []string `json:"_expands,omitempty"` Size int `json:"size,omitempty"` Start int `json:"start,omitempty"` Limit int `json:"limit,omitempty"` IsLastPage bool `json:"isLastPage,omitempty"` Links *ServiceDeskPageLinkScheme `json:"_links,omitempty"` Values []*ServiceDeskScheme `json:"values,omitempty"` }
type ServiceDeskQueuePageScheme ¶
type ServiceDeskQueuePageScheme struct { Size int `json:"size,omitempty"` Start int `json:"start,omitempty"` Limit int `json:"limit,omitempty"` IsLastPage bool `json:"isLastPage,omitempty"` Values []*ServiceDeskQueueScheme `json:"values,omitempty"` Expands []string `json:"_expands,omitempty"` Links *ServiceDeskQueuePageLinkScheme `json:"_links,omitempty"` }
type ServiceDeskQueueScheme ¶
type ServiceDeskScheme ¶
type ServiceDeskTemporaryFileScheme ¶
type ServiceDeskTemporaryFileScheme struct {
TemporaryAttachments []*TemporaryAttachmentScheme `json:"temporaryAttachments,omitempty"`
}
type ServiceProviderConfigScheme ¶
type ServiceProviderConfigScheme struct { Schemas []string `json:"schemas"` Patch struct { Supported bool `json:"supported"` } `json:"patch"` Bulk struct { Supported bool `json:"supported"` MaxOperations int `json:"maxOperations"` MaxPayloadSize int `json:"maxPayloadSize"` } `json:"bulk"` Filter struct { MaxResults int `json:"maxResults"` Supported bool `json:"supported"` } `json:"filter"` ChangePassword struct { Supported bool `json:"supported"` } `json:"changePassword"` Sort struct { Supported bool `json:"supported"` } `json:"sort"` Etag struct { Supported bool `json:"supported"` } `json:"etag"` AuthenticationSchemes []struct { Type string `json:"type"` Name string `json:"name"` Description string `json:"description"` } `json:"authenticationSchemes"` Meta struct { Location string `json:"location"` ResourceType string `json:"resourceType"` LastModified time.Time `json:"lastModified"` Created time.Time `json:"created"` } `json:"meta"` }
type ShareFilterScopeScheme ¶
type ShareFilterScopeScheme struct {
}type SharePermissionScheme ¶
type SharePermissionScheme struct {}
type SpaceChunkV2Scheme ¶
type SpaceChunkV2Scheme struct { Results []*SpaceSchemeV2 `json:"results,omitempty"` Links struct { Next string `json:"next"` } `json:"_links"` }
type SpaceDescriptionSchemeV2 ¶
type SpaceDescriptionSchemeV2 struct { Plain *PageBodyRepresentationScheme `json:"plain,omitempty"` View *PageBodyRepresentationScheme `json:"view,omitempty"` }
type SpaceGroupScheme ¶
type SpaceGroupScheme struct { Type string `json:"type,omitempty"` Name string `json:"name,omitempty"` ID string `json:"id,omitempty"` Links *LinkScheme `json:"_links,omitempty"` }
type SpaceHistoryScheme ¶
type SpaceHistoryScheme struct { CreatedDate string `json:"createdDate,omitempty"` CreatedBy *ContentUserScheme `json:"createdBy,omitempty"` }
type SpaceOperationScheme ¶
type SpacePageLinkSchemeV2 ¶
type SpacePageLinkSchemeV2 struct {
Next string `json:"next,omitempty"`
}
type SpacePageScheme ¶
type SpacePermissionArrayPayloadScheme ¶
type SpacePermissionArrayPayloadScheme struct { Subject *PermissionSubjectScheme `json:"subject,omitempty"` Operations []*SpaceOperationPayloadScheme `json:"operations,omitempty"` }
type SpacePermissionPageLinkScheme ¶
type SpacePermissionPageLinkScheme struct {
Next string `json:"next,omitempty"`
}
type SpacePermissionPageScheme ¶
type SpacePermissionPageScheme struct { Results []*SpacePermissionsV2Scheme `json:"results,omitempty"` Links *SpacePermissionPageLinkScheme `json:"_links,omitempty"` }
type SpacePermissionPayloadScheme ¶
type SpacePermissionPayloadScheme struct { Subject *PermissionSubjectScheme `json:"subject,omitempty"` Operation *SpacePermissionOperationScheme `json:"operation,omitempty"` }
type SpacePermissionScheme ¶
type SpacePermissionScheme struct { Subject *SubjectPermissionScheme `json:"subjects,omitempty"` Operation *OperationPermissionScheme `json:"operation,omitempty"` AnonymousAccess bool `json:"anonymousAccess,omitempty"` UnlicensedAccess bool `json:"unlicensedAccess,omitempty"` }
type SpacePermissionV2Scheme ¶
type SpacePermissionV2Scheme struct { Subject *PermissionSubjectScheme `json:"subject,omitempty"` Operation *SpacePermissionOperationScheme `json:"operation,omitempty"` }
type SpacePermissionsV2Scheme ¶
type SpacePermissionsV2Scheme struct { ID string `json:"id"` Principal *SpacePermissionsPrincipalScheme `json:"principal"` Operation *SpacePermissionsOperationScheme `json:"operation"` }
type SpaceScheme ¶
type SpaceScheme struct { ID int `json:"id,omitempty"` Key string `json:"key,omitempty"` Name string `json:"name,omitempty"` Type string `json:"type,omitempty"` Status string `json:"status,omitempty"` HomePage *ContentScheme `json:"homepage,omitempty"` Operations *[]SpaceOperationScheme `json:"operations,omitempty"` Permissions []*SpacePermissionScheme `json:"permissions,omitempty"` History *SpaceHistoryScheme `json:"history,omitempty"` Expandable *ExpandableScheme `json:"_expandable,omitempty"` Links *LinkScheme `json:"_links,omitempty"` }
type SpaceSchemeV2 ¶
type SpaceSchemeV2 struct { ID int `json:"id,omitempty"` Key string `json:"key,omitempty"` Name string `json:"name,omitempty"` Type string `json:"type,omitempty"` Status string `json:"status,omitempty"` HomepageId int `json:"homepageId,omitempty"` Description *SpaceDescriptionSchemeV2 `json:"description,omitempty"` }
type SprintDetailScheme ¶
type SprintDetailScheme struct { ID int `json:"id,omitempty"` State string `json:"state,omitempty"` Name string `json:"name,omitempty"` StartDate string `json:"startDate,omitempty"` EndDate string `json:"endDate,omitempty"` CompleteDate string `json:"completeDate,omitempty"` OriginBoardID int `json:"originBoardId,omitempty"` Goal string `json:"goal,omitempty"` }
func ParseSprintCustomField ¶
func ParseSprintCustomField(buffer bytes.Buffer, customField string) ([]*SprintDetailScheme, error)
type SprintIssuePageScheme ¶
type SprintIssuePageScheme struct { Expand string `json:"expand,omitempty"` StartAt int `json:"startAt,omitempty"` MaxResults int `json:"maxResults,omitempty"` Total int `json:"total,omitempty"` Issues []*SprintIssueScheme `json:"issues,omitempty"` }
type SprintIssueScheme ¶
type SprintMovePayloadScheme ¶
type SprintPayloadScheme ¶
type SprintScheme ¶
type SprintScheme struct { ID int `json:"id,omitempty"` Self string `json:"self,omitempty"` State string `json:"state,omitempty"` Name string `json:"name,omitempty"` StartDate time.Time `json:"startDate,omitempty"` EndDate time.Time `json:"endDate,omitempty"` CompleteDate time.Time `json:"completeDate,omitempty"` OriginBoardID int `json:"originBoardId,omitempty"` Goal string `json:"goal,omitempty"` }
type StatusCategoryScheme ¶
type StatusDetailScheme ¶
type StatusDetailScheme struct { Self string `json:"self,omitempty"` Description string `json:"description,omitempty"` IconURL string `json:"iconUrl,omitempty"` Name string `json:"name,omitempty"` ID string `json:"id,omitempty"` StatusCategory *StatusCategoryScheme `json:"statusCategory,omitempty"` Scope *WorkflowStatusScopeScheme `json:"scope,omitempty"` }
type StatusScheme ¶
type SubAttributeScheme ¶
type SubAttributeScheme struct { Name string `json:"name,omitempty"` Type string `json:"type,omitempty"` MultiValued bool `json:"multiValued,omitempty"` Description string `json:"description,omitempty"` Required bool `json:"required,omitempty"` CaseExact bool `json:"caseExact,omitempty"` Mutability string `json:"mutability,omitempty"` Returned string `json:"returned,omitempty"` Uniqueness string `json:"uniqueness,omitempty"` }
type SubjectPermissionScheme ¶
type SubjectPermissionScheme struct { User *UserPermissionScheme `json:"user,omitempty"` Group *GroupPermissionScheme `json:"group,omitempty"` }
type TaskLinkScheme ¶
type TaskLinkScheme struct {
Status string `json:"status"`
}
type TaskScheme ¶
type TaskScheme struct { Self string `json:"self"` ID string `json:"id"` Description string `json:"description"` Status string `json:"status"` Result string `json:"result"` SubmittedBy int `json:"submittedBy"` Progress int `json:"progress"` ElapsedRuntime int `json:"elapsedRuntime"` Submitted int64 `json:"submitted"` Started int64 `json:"started"` Finished int64 `json:"finished"` LastUpdate int64 `json:"lastUpdate"` }
type TeamManagedProjectScopeScheme ¶
type TeamManagedProjectScopeScheme struct { Type string `json:"type,omitempty"` Project *ProjectScheme `json:"project,omitempty"` }
type TicketPageScheme ¶
type TicketPageScheme struct { Tickets []*TicketScheme `json:"tickets,omitempty"` AllTicketsQuery string `json:"allTicketsQuery,omitempty"` }
type TicketPriorityScheme ¶
type TicketScheme ¶
type TicketScheme struct { WorkspaceId string `json:"workspaceId,omitempty"` GlobalId string `json:"globalId,omitempty"` Key string `json:"key,omitempty"` Id string `json:"id,omitempty"` Reporter string `json:"reporter,omitempty"` Created string `json:"created,omitempty"` Updated string `json:"updated,omitempty"` Title string `json:"title,omitempty"` Status *TicketStatusScheme `json:"status,omitempty"` Type *TicketTypeScheme `json:"type,omitempty"` Priority *TicketPriorityScheme `json:"priority,omitempty"` }
type TicketStatusScheme ¶
type TicketTypeScheme ¶
type TypeReferenceScheme ¶
type TypeReferenceScheme struct { WorkspaceID string `json:"workspaceId,omitempty"` GlobalID string `json:"globalId,omitempty"` ID string `json:"id,omitempty"` Name string `json:"name,omitempty"` Description string `json:"description,omitempty"` Color string `json:"color,omitempty"` URL16 string `json:"url16,omitempty"` Removable bool `json:"removable,omitempty"` ObjectSchemaID string `json:"objectSchemaId,omitempty"` }
type UpdateFieldConfigurationItemPayloadScheme ¶
type UpdateFieldConfigurationItemPayloadScheme struct {
FieldConfigurationItems []*FieldConfigurationItemScheme `json:"fieldConfigurationItems"`
}
type UpdateOperations ¶
type UpdateOperations struct{ Fields []map[string]interface{} }
func (*UpdateOperations) AddArrayOperation ¶
func (u *UpdateOperations) AddArrayOperation(customFieldID string, mapping map[string]string) error
func (*UpdateOperations) AddStringOperation ¶
func (u *UpdateOperations) AddStringOperation(customFieldID, operation, value string) error
type UpdateSpaceHomepageScheme ¶
type UpdateSpaceHomepageScheme struct {
ID string `json:"id"`
}
type UpdateSpaceScheme ¶
type UpdateSpaceScheme struct { Name string `json:"name,omitempty"` Description *CreateSpaceDescriptionScheme `json:"description,omitempty"` Homepage *UpdateSpaceHomepageScheme `json:"homepage,omitempty"` }
type UserApplicationRoleItemsScheme ¶
type UserApplicationRoleItemsScheme struct { Key string `json:"key,omitempty"` Groups []string `json:"groups,omitempty"` Name string `json:"name,omitempty"` DefaultGroups []string `json:"defaultGroups,omitempty"` SelectedByDefault bool `json:"selectedByDefault,omitempty"` Defined bool `json:"defined,omitempty"` NumberOfSeats int `json:"numberOfSeats,omitempty"` RemainingSeats int `json:"remainingSeats,omitempty"` UserCount int `json:"userCount,omitempty"` UserCountDescription string `json:"userCountDescription,omitempty"` HasUnlimitedSeats bool `json:"hasUnlimitedSeats,omitempty"` Platform bool `json:"platform,omitempty"` }
type UserApplicationRolesScheme ¶
type UserApplicationRolesScheme struct { Size int `json:"size,omitempty"` Items []*UserApplicationRoleItemsScheme `json:"items,omitempty"` MaxResults int `json:"max-results,omitempty"` }
type UserDetailScheme ¶
type UserDetailScheme struct { Self string `json:"self,omitempty"` Name string `json:"name,omitempty"` Key string `json:"key,omitempty"` AccountID string `json:"accountId,omitempty"` EmailAddress string `json:"emailAddress,omitempty"` DisplayName string `json:"displayName,omitempty"` Active bool `json:"active,omitempty"` TimeZone string `json:"timeZone,omitempty"` AccountType string `json:"accountType,omitempty"` }
func ParseMultiUserPickerCustomField ¶
func ParseMultiUserPickerCustomField(buffer bytes.Buffer, customField string) ([]*UserDetailScheme, error)
func ParseUserPickerCustomField ¶
func ParseUserPickerCustomField(buffer bytes.Buffer, customField string) (*UserDetailScheme, error)
type UserGroupScheme ¶
type UserGroupsScheme ¶
type UserGroupsScheme struct { Size int `json:"size,omitempty"` Items []*UserGroupScheme `json:"items,omitempty"` MaxResults int `json:"max-results,omitempty"` }
type UserPayloadScheme ¶
type UserPermissionScheme ¶
type UserPermissionScheme struct { Results []*ContentUserScheme `json:"results,omitempty"` Size int `json:"size,omitempty"` }
type UserProductAccessDataScheme ¶
type UserProductAccessDataScheme struct { ProductAccess []*UserProductLastActiveScheme `json:"product_access,omitempty"` AddedToOrg string `json:"added_to_org,omitempty"` }
type UserProductAccessScheme ¶
type UserProductAccessScheme struct {
Data *UserProductAccessDataScheme `json:"data,omitempty"`
}
type UserScheme ¶
type UserScheme struct { Self string `json:"self,omitempty"` Key string `json:"key,omitempty"` AccountID string `json:"accountId,omitempty"` AccountType string `json:"accountType,omitempty"` Name string `json:"name,omitempty"` EmailAddress string `json:"emailAddress,omitempty"` AvatarUrls *AvatarURLScheme `json:"avatarUrls,omitempty"` DisplayName string `json:"displayName,omitempty"` Active bool `json:"active,omitempty"` TimeZone string `json:"timeZone,omitempty"` Locale string `json:"locale,omitempty"` Groups *UserGroupsScheme `json:"groups,omitempty"` ApplicationRoles *UserApplicationRolesScheme `json:"applicationRoles,omitempty"` Expand string `json:"expand,omitempty"` }
type UserSearchPageScheme ¶
type UserSearchPageScheme struct { MaxResults int `json:"maxResults,omitempty"` StartAt int `json:"startAt,omitempty"` Total int `json:"total,omitempty"` IsLast bool `json:"isLast,omitempty"` Values []*UserScheme `json:"values,omitempty"` }
type UserTokensScheme ¶
type VersionCollaboratorsScheme ¶
type VersionCollaboratorsScheme struct { Users []*ContentUserScheme `json:"users,omitempty"` UserKeys []string `json:"userKeys,omitempty"` }
type VersionDetailScheme ¶
type VersionDetailScheme struct { Self string `json:"self,omitempty"` ID string `json:"id,omitempty"` Description string `json:"description,omitempty"` Name string `json:"name,omitempty"` Archived bool `json:"archived,omitempty"` Released bool `json:"released,omitempty"` ReleaseDate string `json:"releaseDate,omitempty"` }
func ParseMultiVersionCustomField ¶
func ParseMultiVersionCustomField(buffer bytes.Buffer, customField string) ([]*VersionDetailScheme, error)
type VersionGetsOptions ¶
type VersionIssueCountsScheme ¶
type VersionIssueCountsScheme struct { Self string `json:"self,omitempty"` IssuesFixedCount int `json:"issuesFixedCount,omitempty"` IssuesAffectedCount int `json:"issuesAffectedCount,omitempty"` IssueCountWithCustomFieldsShowingVersion int `json:"issueCountWithCustomFieldsShowingVersion,omitempty"` CustomFieldUsage []*VersionIssueCountCustomFieldUsageScheme `json:"customFieldUsage,omitempty"` }
type VersionOperation ¶
type VersionPageScheme ¶
type VersionPageScheme struct { Self string `json:"self,omitempty"` NextPage string `json:"nextPage,omitempty"` MaxResults int `json:"maxResults,omitempty"` StartAt int `json:"startAt,omitempty"` Total int `json:"total,omitempty"` IsLast bool `json:"isLast,omitempty"` Values []*VersionScheme `json:"values,omitempty"` }
type VersionPayloadScheme ¶
type VersionPayloadScheme struct { Archived bool `json:"archived,omitempty"` ReleaseDate string `json:"releaseDate,omitempty"` Name string `json:"name,omitempty"` Description string `json:"description,omitempty"` ProjectID int `json:"projectId,omitempty"` Released bool `json:"released,omitempty"` StartDate string `json:"startDate,omitempty"` }
type VersionScheme ¶
type VersionScheme struct { Self string `json:"self,omitempty"` ID string `json:"id,omitempty"` Description string `json:"description,omitempty"` Name string `json:"name,omitempty"` Archived bool `json:"archived,omitempty"` Released bool `json:"released,omitempty"` ReleaseDate string `json:"releaseDate,omitempty"` Overdue bool `json:"overdue,omitempty"` UserReleaseDate string `json:"userReleaseDate,omitempty"` ProjectID int `json:"projectId,omitempty"` Operations []*VersionOperation `json:"operations,omitempty"` IssuesStatusForFixVersion *VersionIssuesStatusForFixVersionScheme `json:"issuesStatusForFixVersion,omitempty"` }
type WorkSpacePageScheme ¶
type WorkSpacePageScheme struct { Size int `json:"size,omitempty"` Start int `json:"start,omitempty"` Limit int `json:"limit,omitempty"` IsLastPage bool `json:"isLastPage,omitempty"` Links *WorkSpaceLinksPageScheme `json:"_links,omitempty"` Values []*WorkSpaceScheme `json:"values,omitempty"` }
type WorkSpaceScheme ¶
type WorkSpaceScheme struct {
WorkspaceId string `json:"workspaceId,omitempty"`
}
type WorkflowConditionScheme ¶
type WorkflowConditionScheme struct { Conditions []*WorkflowConditionScheme `json:"conditions,omitempty"` Configuration interface{} `json:"configuration,omitempty"` Operator string `json:"operator,omitempty"` Type string `json:"type,omitempty"` }
type WorkflowPageScheme ¶
type WorkflowPageScheme struct { Self string `json:"self,omitempty"` NextPage string `json:"nextPage,omitempty"` MaxResults int `json:"maxResults,omitempty"` StartAt int `json:"startAt,omitempty"` Total int `json:"total,omitempty"` IsLast bool `json:"isLast,omitempty"` Values []*WorkflowScheme `json:"values,omitempty"` }
type WorkflowPayloadScheme ¶
type WorkflowPayloadScheme struct { Name string `json:"name,omitempty"` Description string `json:"description,omitempty"` Statuses []*WorkflowTransitionScreenScheme `json:"statuses,omitempty"` Transitions []*WorkflowTransitionPayloadScheme `json:"transitions,omitempty"` }
type WorkflowScheme ¶
type WorkflowScheme struct { ID *WorkflowPublishedIDScheme `json:"id,omitempty"` Transitions []*WorkflowTransitionScheme `json:"transitions,omitempty"` Statuses []*WorkflowStatusScheme `json:"statuses,omitempty"` Description string `json:"description,omitempty"` IsDefault bool `json:"isDefault,omitempty"` }
type WorkflowSchemeAssociationPageScheme ¶
type WorkflowSchemeAssociationPageScheme struct {
Values []*WorkflowSchemeAssociationsScheme `json:"values,omitempty"`
}
type WorkflowSchemeAssociationsScheme ¶
type WorkflowSchemeAssociationsScheme struct { ProjectIds []string `json:"projectIds,omitempty"` WorkflowScheme *WorkflowSchemeScheme `json:"workflowScheme,omitempty"` }
type WorkflowSchemePageScheme ¶
type WorkflowSchemePageScheme struct { Self string `json:"self,omitempty"` NextPage string `json:"nextPage,omitempty"` MaxResults int `json:"maxResults,omitempty"` StartAt int `json:"startAt,omitempty"` Total int `json:"total,omitempty"` IsLast bool `json:"isLast,omitempty"` Values []*WorkflowSchemeScheme `json:"values,omitempty"` }
type WorkflowSchemePayloadScheme ¶
type WorkflowSchemePayloadScheme struct { DefaultWorkflow string `json:"defaultWorkflow,omitempty"` Name string `json:"name,omitempty"` Description string `json:"description,omitempty"` IssueTypeMappings interface{} `json:"issueTypeMappings,omitempty"` UpdateDraftIfNeeded bool `json:"updateDraftIfNeeded,omitempty"` }
type WorkflowSchemeScheme ¶
type WorkflowSchemeScheme struct { ID int `json:"id,omitempty"` Name string `json:"name,omitempty"` Description string `json:"description,omitempty"` DefaultWorkflow string `json:"defaultWorkflow,omitempty"` Draft bool `json:"draft,omitempty"` LastModifiedUser *UserScheme `json:"lastModifiedUser,omitempty"` LastModified string `json:"lastModified,omitempty"` Self string `json:"self,omitempty"` UpdateDraftIfNeeded bool `json:"updateDraftIfNeeded,omitempty"` }
type WorkflowSearchOptions ¶
type WorkflowStatusDetailPageScheme ¶
type WorkflowStatusDetailPageScheme struct { StartAt int `json:"startAt,omitempty"` Total int `json:"total,omitempty"` IsLast bool `json:"isLast,omitempty"` MaxResults int `json:"maxResults,omitempty"` Values []*WorkflowStatusDetailScheme `json:"values,omitempty"` Self string `json:"self,omitempty"` NextPage string `json:"nextPage,omitempty"` }
type WorkflowStatusDetailScheme ¶
type WorkflowStatusDetailScheme struct { ID string `json:"id,omitempty"` Name string `json:"name,omitempty"` StatusCategory string `json:"statusCategory,omitempty"` Scope *WorkflowStatusScopeScheme `json:"scope,omitempty"` Description string `json:"description,omitempty"` Usages []*ProjectIssueTypesScheme `json:"usages,omitempty"` }
type WorkflowStatusPayloadScheme ¶
type WorkflowStatusPayloadScheme struct { Statuses []*WorkflowStatusNodeScheme `json:"statuses,omitempty"` Scope *WorkflowStatusScopeScheme `json:"scope,omitempty"` }
type WorkflowStatusProjectScheme ¶
type WorkflowStatusProjectScheme struct {
ID string `json:"id,omitempty"`
}
type WorkflowStatusPropertiesScheme ¶
type WorkflowStatusPropertiesScheme struct {
IssueEditable bool `json:"issueEditable,omitempty"`
}
type WorkflowStatusScheme ¶
type WorkflowStatusScheme struct { ID string `json:"id,omitempty"` Name string `json:"name,omitempty"` Properties *WorkflowStatusPropertiesScheme `json:"properties,omitempty"` }
type WorkflowStatusScopeScheme ¶
type WorkflowStatusScopeScheme struct { Type string `json:"type,omitempty"` Project *WorkflowStatusProjectScheme `json:"project,omitempty"` }
type WorkflowTransitionPayloadScheme ¶
type WorkflowTransitionPayloadScheme struct { Name string `json:"name,omitempty"` Description string `json:"description,omitempty"` From []string `json:"from,omitempty"` To string `json:"to,omitempty"` Type string `json:"type,omitempty"` Rules *WorkflowTransitionRulePayloadScheme `json:"rules,omitempty"` Screen *WorkflowTransitionScreenPayloadScheme `json:"screen,omitempty"` Properties interface{} `json:"properties,omitempty"` }
type WorkflowTransitionRulePayloadScheme ¶
type WorkflowTransitionRulePayloadScheme struct { Conditions *WorkflowConditionScheme `json:"conditions,omitempty"` PostFunctions []*WorkflowTransitionRuleScheme `json:"postFunctions,omitempty"` Validators []*WorkflowTransitionRuleScheme `json:"validators,omitempty"` }
type WorkflowTransitionRuleScheme ¶
type WorkflowTransitionRuleScheme struct { Type string `json:"type,omitempty"` Configuration interface{} `json:"configuration,omitempty"` }
type WorkflowTransitionRulesScheme ¶
type WorkflowTransitionRulesScheme struct { Conditions []*WorkflowTransitionRuleScheme `json:"conditions,omitempty"` Validators []*WorkflowTransitionRuleScheme `json:"validators,omitempty"` PostFunctions []*WorkflowTransitionRuleScheme `json:"postFunctions,omitempty"` }
type WorkflowTransitionScheme ¶
type WorkflowTransitionScheme struct { ID string `json:"id,omitempty"` Name string `json:"name,omitempty"` Description string `json:"description,omitempty"` From []string `json:"from,omitempty"` To string `json:"to,omitempty"` Type string `json:"type,omitempty"` Screen *WorkflowTransitionScreenScheme `json:"screen,omitempty"` Rules *WorkflowTransitionRulesScheme `json:"rules,omitempty"` }
type WorkflowTransitionScreenPayloadScheme ¶
type WorkflowTransitionScreenPayloadScheme struct {
ID string `json:"id"`
}
type WorkflowTransitionScreenScheme ¶
type WorkflowTransitionScreenScheme struct { ID string `json:"id,omitempty"` Properties interface{} `json:"properties,omitempty"` }
type WorklogADFPayloadScheme ¶
type WorklogADFPayloadScheme struct { Comment *CommentNodeScheme `json:"comment,omitempty"` Visibility *IssueWorklogVisibilityScheme `json:"visibility,omitempty"` Started string `json:"started,omitempty"` TimeSpent string `json:"timeSpent,omitempty"` TimeSpentSeconds int `json:"timeSpentSeconds,omitempty"` }
type WorklogOptionsScheme ¶
type WorklogRichTextPayloadScheme ¶
type WorklogRichTextPayloadScheme struct { Comment *CommentPayloadSchemeV2 `json:"comment,omitempty"` Visibility *IssueWorklogVisibilityScheme `json:"visibility,omitempty"` Started string `json:"started,omitempty"` TimeSpent string `json:"timeSpent,omitempty"` TimeSpentSeconds int `json:"timeSpentSeconds,omitempty"` }
Source Files
¶
- admin_organization.go
- admin_organization_policy.go
- admin_scim_group.go
- admin_scim_scheme.go
- admin_scim_user.go
- admin_user.go
- admin_user_token.go
- agile_board.go
- agile_epic.go
- agile_sprint.go
- assets_aql.go
- assets_icon.go
- assets_object.go
- assets_object_schema.go
- assets_object_type.go
- assets_ticket.go
- confluence_analytics.go
- confluence_attachment.go
- confluence_content.go
- confluence_content_attachement.go
- confluence_content_children.go
- confluence_content_label.go
- confluence_content_permission.go
- confluence_content_property.go
- confluence_content_restriction.go
- confluence_content_version.go
- confluence_custom_content.go
- confluence_label.go
- confluence_long_task.go
- confluence_page.go
- confluence_search.go
- confluence_space.go
- confluence_space_permission.go
- confluence_space_v2.go
- const.go
- errors.go
- jira_announcement_banner.go
- jira_applicationRole.go
- jira_audit.go
- jira_avatar.go
- jira_changelog.go
- jira_comment_v2.go
- jira_comment_v3.go
- jira_component.go
- jira_customFields.go
- jira_dashboard.go
- jira_field.go
- jira_field_configuration.go
- jira_field_configuration_scheme.go
- jira_field_context.go
- jira_field_context_option.go
- jira_filter.go
- jira_group.go
- jira_issue_attachments.go
- jira_issue_custom_fields.go
- jira_issue_metadata.go
- jira_issue_operations.go
- jira_issue_search.go
- jira_issue_security.go
- jira_issue_type.go
- jira_issue_type_scheme.go
- jira_issue_type_screen_scheme.go
- jira_issue_v2.go
- jira_issue_v3.go
- jira_jql.go
- jira_labels.go
- jira_links.go
- jira_notification_scheme.go
- jira_permission.go
- jira_permission_scheme.go
- jira_priority.go
- jira_project.go
- jira_project_category.go
- jira_project_feature.go
- jira_project_notification.go
- jira_project_property.go
- jira_project_role.go
- jira_project_type.go
- jira_project_validation.go
- jira_remote_links.go
- jira_resolution.go
- jira_role.go
- jira_screen.go
- jira_screen_scheme.go
- jira_search_v2.go
- jira_search_v3.go
- jira_security.go
- jira_server.go
- jira_task.go
- jira_teams.go
- jira_user.go
- jira_version.go
- jira_vote.go
- jira_watcher.go
- jira_work_log.go
- jira_workflow.go
- jira_workflow_scheme.go
- jira_workflow_scheme_issue_type.go
- jira_workflow_status.go
- shared_service.go
- sm_customer.go
- sm_info.go
- sm_knowledge_base.go
- sm_organization.go
- sm_request.go
- sm_request_approval.go
- sm_request_attachments.go
- sm_request_comment.go
- sm_request_feedback.go
- sm_request_field.go
- sm_request_participants.go
- sm_request_sla.go
- sm_request_type.go
- sm_service_desk.go
- sm_service_desk_queue.go
- sm_workspace.go
Click to show internal directories.
Click to hide internal directories.