Versions in this module Expand all Collapse all v1 v1.1.0 Nov 4, 2026 v1.0.1 Nov 2, 2026 Changes in this version + func HumanSize(n int64) string + func StripControl(s string) string + type Attachment struct + Created string + CreatedUser *User + ID int + Name string + Size int64 type Client + func (c *Client) DownloadDocumentAttachment(documentID string, attachmentID int) (string, []byte, error) + func (c *Client) DownloadIssueAttachment(issueIDOrKey string, attachmentID int) (string, []byte, error) + func (c *Client) DownloadSharedFile(projectIDOrKey string, fileID int) (string, []byte, error) + func (c *Client) GetDocument(documentID string) (*Document, error) + func (c *Client) GetDocumentTree(projectIDOrKey string) (*DocumentTree, error) + func (c *Client) GetDocuments(projectID int, keyword string, count int) ([]Document, error) + func (c *Client) GetIssueAttachments(issueIDOrKey string) ([]Attachment, error) + func (c *Client) GetPullRequest(projectIDOrKey, repo string, number int) (*PullRequest, error) + func (c *Client) GetPullRequests(projectIDOrKey, repo string, count int) ([]PullRequest, error) + func (c *Client) GetRepositories(projectIDOrKey string) ([]Repository, error) + func (c *Client) GetSharedFiles(projectIDOrKey, dir string) ([]SharedFile, error) + func (c *Client) GetWiki(wikiID int) (*Wiki, error) + func (c *Client) GetWikis(projectIDOrKey, keyword string) ([]Wiki, error) + type CustomField struct + FieldTypeID int + ID int + Name string + Value json.RawMessage + func (f CustomField) DisplayValue() string + type Document struct + Attachments []Attachment + Created string + CreatedUser *User + Emoji string + ID string + Plain string + ProjectID int + Tags []Tag + Title string + Updated string + UpdatedUser *User + type DocumentNode struct + Children []DocumentNode + Emoji string + ID string + Name string + type DocumentTree struct + ActiveTree *DocumentNode + ProjectID int type GetIssuesOptions + ParentIDs []int type Issue + Attachments []Attachment + CustomFields []CustomField + ParentIssueID *int + type PullRequest struct + Assignee *User + Base string + Branch string + Created string + CreatedUser *User + Description string + ID int + Issue ... + Number int + Status *PullRequestStatus + Summary string + Updated string + type PullRequestStatus struct + ID int + Name string + type Repository struct + Description string + HTTPURL string + ID int + Name string + ProjectID int + SSHURL string + Updated string + type SharedFile struct + Dir string + ID int + Name string + Size int64 + Type string + Updated string + type Tag struct + ID int + Name string + type Wiki struct + Attachments []Attachment + Content string + Created string + CreatedUser *User + ID int + Name string + ProjectID int + Tags []Tag + Updated string + UpdatedUser *User v0 v0.4.0 Jul 10, 2026 v0.3.0 Apr 9, 2026 v0.2.1 Apr 9, 2026 v0.2.0 Mar 23, 2026 v0.1.3 Feb 25, 2026 v0.1.2 Feb 24, 2026 v0.1.1 Feb 24, 2026 v0.1.0 Feb 23, 2026 Changes in this version + type BacklogError struct + Code int + Message string + MoreInfo string + type BacklogErrorResponse struct + Errors []BacklogError + type Category struct + ID int + Name string + type ChangeLog struct + Field string + NewValue string + OriginalValue string + type Client struct + func NewClient(spaceURL, apiKey string) *Client + func (c *Client) AddComment(issueIDOrKey string, content string) (*Comment, error) + func (c *Client) CreateIssue(opts *CreateIssueOptions) (*Issue, error) + func (c *Client) GetCategories(projectIDOrKey string) ([]Category, error) + func (c *Client) GetComments(issueIDOrKey string, count int, order string) ([]Comment, error) + func (c *Client) GetIssue(issueIDOrKey string) (*Issue, error) + func (c *Client) GetIssueTypes(projectIDOrKey string) ([]IssueType, error) + func (c *Client) GetIssues(opts *GetIssuesOptions) ([]Issue, error) + func (c *Client) GetMilestones(projectIDOrKey string) ([]Milestone, error) + func (c *Client) GetMyself() (*User, error) + func (c *Client) GetPriorities() ([]Priority, error) + func (c *Client) GetProject(projectIDOrKey string) (*Project, error) + func (c *Client) GetProjectUsers(projectIDOrKey string) ([]User, error) + func (c *Client) GetProjects() ([]Project, error) + func (c *Client) GetStatuses(projectIDOrKey string) ([]Status, error) + func (c *Client) UpdateIssue(issueIDOrKey string, opts *UpdateIssueOptions) (*Issue, error) + type Comment struct + ChangeLog []ChangeLog + Content string + Created string + CreatedUser *User + ID int + type CreateIssueOptions struct + AssigneeID int + CategoryIDs []int + Description string + DueDate string + IssueTypeID int + MilestoneIDs []int + PriorityID int + ProjectID int + StartDate string + Summary string + type GetIssuesOptions struct + AssigneeIDs []int + Count int + Keyword string + MilestoneIDs []int + Offset int + Order string + ProjectIDs []int + Sort string + StatusIDs []int + type Issue struct + Assignee *User + Category []Category + Created string + CreatedUser *User + Description string + DueDate string + ID int + IssueKey string + IssueType *IssueType + Milestone []Milestone + Priority *Priority + ProjectID int + StartDate string + Status *Status + Summary string + Updated string + type IssueType struct + Color string + ID int + Name string + ProjectID int + type Milestone struct + ID int + Name string + ProjectID int + ReleaseDueDate string + type Priority struct + ID int + Name string + type Project struct + Description string + ID int + Name string + ProjectKey string + type Status struct + Color string + ID int + Name string + ProjectID int + type UpdateIssueOptions struct + AssigneeID *int + CategoryIDs []int + Comment *string + Description *string + DueDate *string + MilestoneIDs []int + PriorityID *int + StartDate *string + StatusID *int + Summary *string + type User struct + ID int + MailAddress string + Name string + UserID string