Versions in this module Expand all Collapse all v2 v2.2.0 Mar 10, 2025 v2.1.2 Oct 20, 2024 Changes in this version + func NewAuthenticationService(client service.Connector) common.Authentication + type ApprovalService struct + func NewApprovalService(client service.Connector, version string) *ApprovalService + func (s *ApprovalService) Answer(ctx context.Context, issueKeyOrID string, approvalID int, approve bool) (*model.CustomerApprovalScheme, *model.ResponseScheme, error) + func (s *ApprovalService) Get(ctx context.Context, issueKeyOrID string, approvalID int) (*model.CustomerApprovalScheme, *model.ResponseScheme, error) + func (s *ApprovalService) Gets(ctx context.Context, issueKeyOrID string, start, limit int) (*model.CustomerApprovalPageScheme, *model.ResponseScheme, error) + type AttachmentService struct + func NewAttachmentService(client service.Connector, version string) *AttachmentService + func (s *AttachmentService) Create(ctx context.Context, issueKeyOrID string, ...) (*model.RequestAttachmentCreationScheme, *model.ResponseScheme, error) + func (s *AttachmentService) Gets(ctx context.Context, issueKeyOrID string, start, limit int) (*model.RequestAttachmentPageScheme, *model.ResponseScheme, error) + type AuthenticationService struct + func (a *AuthenticationService) GetBasicAuth() (string, string) + func (a *AuthenticationService) GetBearerToken() string + func (a *AuthenticationService) GetUserAgent() string + func (a *AuthenticationService) HasBasicAuth() bool + func (a *AuthenticationService) HasSetExperimentalFlag() bool + func (a *AuthenticationService) HasUserAgent() bool + func (a *AuthenticationService) SetBasicAuth(mail, token string) + func (a *AuthenticationService) SetBearerToken(token string) + func (a *AuthenticationService) SetExperimentalFlag() + func (a *AuthenticationService) SetUserAgent(agent string) + type CommentService struct + func NewCommentService(client service.Connector, version string) *CommentService + func (s *CommentService) Attachments(ctx context.Context, issueKeyOrID string, commentID, start, limit int) (*model.RequestAttachmentPageScheme, *model.ResponseScheme, error) + func (s *CommentService) Create(ctx context.Context, issueKeyOrID, body string, public bool) (*model.RequestCommentScheme, *model.ResponseScheme, error) + func (s *CommentService) Get(ctx context.Context, issueKeyOrID string, commentID int, expand []string) (*model.RequestCommentScheme, *model.ResponseScheme, error) + func (s *CommentService) Gets(ctx context.Context, issueKeyOrID string, ...) (*model.RequestCommentPageScheme, *model.ResponseScheme, error) + type CustomerService struct + func NewCustomerService(client service.Connector, version string) *CustomerService + func (c *CustomerService) Add(ctx context.Context, serviceDeskID string, accountIDs []string) (*model.ResponseScheme, error) + func (c *CustomerService) Create(ctx context.Context, email, displayName string) (*model.CustomerScheme, *model.ResponseScheme, error) + func (c *CustomerService) Gets(ctx context.Context, serviceDeskID string, query string, start, limit int) (*model.CustomerPageScheme, *model.ResponseScheme, error) + func (c *CustomerService) Remove(ctx context.Context, serviceDeskID string, accountIDs []string) (*model.ResponseScheme, error) + type FeedbackService struct + func NewFeedbackService(client service.Connector, version string) *FeedbackService + func (s *FeedbackService) Delete(ctx context.Context, requestIDOrKey string) (*model.ResponseScheme, error) + func (s *FeedbackService) Get(ctx context.Context, requestIDOrKey string) (*model.CustomerFeedbackScheme, *model.ResponseScheme, error) + func (s *FeedbackService) Post(ctx context.Context, requestIDOrKey string, rating int, comment string) (*model.CustomerFeedbackScheme, *model.ResponseScheme, error) + type InfoService struct + func NewInfoService(client service.Connector, version string) *InfoService + func (i *InfoService) Get(ctx context.Context) (*model.InfoScheme, *model.ResponseScheme, error) + type KnowledgebaseService struct + func NewKnowledgebaseService(client service.Connector, version string) *KnowledgebaseService + func (k *KnowledgebaseService) Gets(ctx context.Context, serviceDeskID int, query string, highlight bool, ...) (*model.ArticlePageScheme, *model.ResponseScheme, error) + func (k *KnowledgebaseService) Search(ctx context.Context, query string, highlight bool, start, limit int) (*model.ArticlePageScheme, *model.ResponseScheme, error) + type OrganizationService struct + func NewOrganizationService(client service.Connector, version string) *OrganizationService + func (o *OrganizationService) Add(ctx context.Context, organizationID int, accountIDs []string) (*model.ResponseScheme, error) + func (o *OrganizationService) Associate(ctx context.Context, serviceDeskID, organizationID int) (*model.ResponseScheme, error) + func (o *OrganizationService) Create(ctx context.Context, name string) (*model.OrganizationScheme, *model.ResponseScheme, error) + func (o *OrganizationService) Delete(ctx context.Context, organizationID int) (*model.ResponseScheme, error) + func (o *OrganizationService) Detach(ctx context.Context, serviceDeskID, organizationID int) (*model.ResponseScheme, error) + func (o *OrganizationService) Get(ctx context.Context, organizationID int) (*model.OrganizationScheme, *model.ResponseScheme, error) + func (o *OrganizationService) Gets(ctx context.Context, accountID string, start, limit int) (*model.OrganizationPageScheme, *model.ResponseScheme, error) + func (o *OrganizationService) Project(ctx context.Context, accountID string, serviceDeskID, start, limit int) (*model.OrganizationPageScheme, *model.ResponseScheme, error) + func (o *OrganizationService) Remove(ctx context.Context, organizationID int, accountIDs []string) (*model.ResponseScheme, error) + func (o *OrganizationService) Users(ctx context.Context, organizationID, start, limit int) (*model.OrganizationUsersPageScheme, *model.ResponseScheme, error) + type ParticipantService struct + func NewParticipantService(client service.Connector, version string) *ParticipantService + func (s *ParticipantService) Add(ctx context.Context, issueKeyOrID string, accountIDs []string) (*model.RequestParticipantPageScheme, *model.ResponseScheme, error) + func (s *ParticipantService) Gets(ctx context.Context, issueKeyOrID string, start, limit int) (*model.RequestParticipantPageScheme, *model.ResponseScheme, error) + func (s *ParticipantService) Remove(ctx context.Context, issueKeyOrID string, accountIDs []string) (*model.RequestParticipantPageScheme, *model.ResponseScheme, error) + type QueueService struct + func NewQueueService(client service.Connector, version string) *QueueService + func (q *QueueService) Get(ctx context.Context, serviceDeskID, queueID int, includeCount bool) (*model.ServiceDeskQueueScheme, *model.ResponseScheme, error) + func (q *QueueService) Gets(ctx context.Context, serviceDeskID int, includeCount bool, start, limit int) (*model.ServiceDeskQueuePageScheme, *model.ResponseScheme, error) + func (q *QueueService) Issues(ctx context.Context, serviceDeskID, queueID, start, limit int) (*model.ServiceDeskIssueQueueScheme, *model.ResponseScheme, error) + type RequestService struct + Approval *ApprovalService + Attachment *AttachmentService + Comment *CommentService + Feedback *FeedbackService + Participant *ParticipantService + SLA *ServiceLevelAgreementService + Type *TypeService + func NewRequestService(client service.Connector, version string, ...) (*RequestService, error) + func (s *RequestService) Create(ctx context.Context, payload *model.CreateCustomerRequestPayloadScheme) (*model.CustomerRequestScheme, *model.ResponseScheme, error) + func (s *RequestService) Get(ctx context.Context, issueKeyOrID string, expand []string) (*model.CustomerRequestScheme, *model.ResponseScheme, error) + func (s *RequestService) Gets(ctx context.Context, options *model.ServiceRequestOptionScheme, ...) (*model.CustomerRequestPageScheme, *model.ResponseScheme, error) + func (s *RequestService) Subscribe(ctx context.Context, issueKeyOrID string) (*model.ResponseScheme, error) + func (s *RequestService) Transition(ctx context.Context, issueKeyOrID, transitionID, comment string) (*model.ResponseScheme, error) + func (s *RequestService) Transitions(ctx context.Context, issueKeyOrID string, start, limit int) (*model.CustomerRequestTransitionPageScheme, *model.ResponseScheme, error) + func (s *RequestService) Unsubscribe(ctx context.Context, issueKeyOrID string) (*model.ResponseScheme, error) + type ServiceDeskService struct + Queue *QueueService + func NewServiceDeskService(client service.Connector, version string, queue *QueueService) (*ServiceDeskService, error) + func (s *ServiceDeskService) Attach(ctx context.Context, serviceDeskID string, fileName string, file io.Reader) (*model.ServiceDeskTemporaryFileScheme, *model.ResponseScheme, error) + func (s *ServiceDeskService) Get(ctx context.Context, serviceDeskID string) (*model.ServiceDeskScheme, *model.ResponseScheme, error) + func (s *ServiceDeskService) Gets(ctx context.Context, start, limit int) (*model.ServiceDeskPageScheme, *model.ResponseScheme, error) + type ServiceLevelAgreementService struct + func NewServiceLevelAgreementService(client service.Connector, version string) *ServiceLevelAgreementService + func (s *ServiceLevelAgreementService) Get(ctx context.Context, issueKeyOrID string, metricID int) (*model.RequestSLAScheme, *model.ResponseScheme, error) + func (s *ServiceLevelAgreementService) Gets(ctx context.Context, issueKeyOrID string, start, limit int) (*model.RequestSLAPageScheme, *model.ResponseScheme, error) + type ServiceRequestSubServices struct + Approval *ApprovalService + Attachment *AttachmentService + Comment *CommentService + Feedback *FeedbackService + Participant *ParticipantService + SLA *ServiceLevelAgreementService + Type *TypeService + type TypeService struct + func NewTypeService(client service.Connector, version string) *TypeService + func (t *TypeService) Create(ctx context.Context, serviceDeskID int, ...) (*model.RequestTypeScheme, *model.ResponseScheme, error) + func (t *TypeService) Delete(ctx context.Context, serviceDeskID, requestTypeID int) (*model.ResponseScheme, error) + func (t *TypeService) Fields(ctx context.Context, serviceDeskID, requestTypeID int) (*model.RequestTypeFieldsScheme, *model.ResponseScheme, error) + func (t *TypeService) Get(ctx context.Context, serviceDeskID, requestTypeID int) (*model.RequestTypeScheme, *model.ResponseScheme, error) + func (t *TypeService) Gets(ctx context.Context, serviceDeskID, groupID, start, limit int) (*model.ProjectRequestTypePageScheme, *model.ResponseScheme, error) + func (t *TypeService) Groups(ctx context.Context, serviceDeskID int) (*model.RequestTypeGroupPageScheme, *model.ResponseScheme, error) + func (t *TypeService) Search(ctx context.Context, query string, start, limit int) (*model.RequestTypePageScheme, *model.ResponseScheme, error) + type WorkSpaceService struct + func NewWorkSpaceService(client service.Connector, version string) *WorkSpaceService + func (w *WorkSpaceService) Gets(ctx context.Context) (*model.WorkSpacePageScheme, *model.ResponseScheme, error) Other modules containing this package github.com/ctreminiom/go-atlassian