Versions in this module Expand all Collapse all v2 v2.5.0 May 3, 2026 Changes in this version + const DefaultListLimit + const NoLimit + func CreateGroup(ctx context.Context, client *api.Client, input CreateGroupInput) (*models.Group, error) + func CreateIssue(ctx context.Context, client *api.Client, input CreateIssueInput) (*models.Issue, error) + func CreateMembership(ctx context.Context, client *api.Client, input CreateMembershipInput) (*models.Membership, error) + func CreateProject(ctx context.Context, client *api.Client, input CreateProjectInput) (*models.Project, error) + func CreateTimeEntry(ctx context.Context, client *api.Client, input CreateTimeEntryInput) (*models.TimeEntry, error) + func CreateUser(ctx context.Context, client *api.Client, input CreateUserInput) (*models.User, error) + func CreateVersion(ctx context.Context, client *api.Client, input CreateVersionInput) (*models.Version, error) + func CreateWikiPage(ctx context.Context, client *api.Client, input CreateWikiPageInput) (*models.WikiPage, error) + func GetCurrentUser(ctx context.Context, client *api.Client, _ struct{}) (*models.User, error) + func GetCurrentUserForResource(ctx context.Context, client *api.Client) (*models.User, error) + func GetGroup(ctx context.Context, client *api.Client, input GetGroupInput) (*models.Group, error) + func GetIssue(ctx context.Context, client *api.Client, input GetIssueInput) (*models.Issue, error) + func GetIssueForResource(ctx context.Context, client *api.Client, id int) (*models.Issue, error) + func GetMembership(ctx context.Context, client *api.Client, input GetMembershipInput) (*models.Membership, error) + func GetProject(ctx context.Context, client *api.Client, input GetProjectInput) (*models.Project, error) + func GetProjectForResource(ctx context.Context, client *api.Client, identifier string) (*models.Project, error) + func GetTimeEntry(ctx context.Context, client *api.Client, input GetTimeEntryInput) (*models.TimeEntry, error) + func GetTimeEntryForResource(ctx context.Context, client *api.Client, id int) (*models.TimeEntry, error) + func GetUser(ctx context.Context, client *api.Client, input GetUserInput) (*models.User, error) + func GetUserForResource(ctx context.Context, client *api.Client, id int) (*models.User, error) + func GetVersion(ctx context.Context, client *api.Client, input GetVersionInput) (*models.Version, error) + func GetVersionForResource(ctx context.Context, client *api.Client, id int) (*models.Version, error) + func GetWikiPage(ctx context.Context, client *api.Client, input GetWikiPageInput) (*models.WikiPage, error) + func GetWikiPageForResource(ctx context.Context, client *api.Client, projectID, page string) (*models.WikiPage, error) + func ListLimit(requested int) int + type AddIssueCommentInput struct + ID int + Notes string + PrivateNotes bool + type AssignIssueInput struct + AssigneeID int + ID int + type CategoriesListResult struct + Categories []models.IssueCategory + Count int + TotalCount int + func ListCategories(ctx context.Context, client *api.Client, input ListCategoriesInput) (CategoriesListResult, error) + type CloseIssueInput struct + ID int + Notes string + type CreateGroupInput struct + Name string + UserIDs []int + type CreateIssueInput struct + AssignedToID int + CategoryID int + Description string + EstimatedHours float64 + FixedVersionID int + IsPrivate *bool + ParentIssueID int + PriorityID int + ProjectID int + StatusID int + Subject string + TrackerID int + Uploads []models.Upload + type CreateMembershipInput struct + ProjectID string + RoleIDs []int + UserID int + type CreateProjectInput struct + Description string + Identifier string + InheritMembers bool + IsPublic *bool + Name string + ParentID int + type CreateTimeEntryInput struct + ActivityID int + Comments string + Hours float64 + IssueID int + ProjectID string + SpentOn string + type CreateUserInput struct + Admin bool + FirstName string + LastName string + Login string + Mail string + Password string + type CreateVersionInput struct + Description string + DueDate string + Name string + ProjectID string + Sharing string + Status string + WikiPageTitle string + type CreateWikiPageInput struct + Comments string + Page string + ProjectID string + Text string + Title string + Uploads []models.Upload + type DeleteGroupInput struct + ID int + type DeleteIssueInput struct + ID int + type DeleteMembershipInput struct + ID int + type DeleteProjectInput struct + Identifier string + type DeleteTimeEntryInput struct + ID int + type DeleteUserInput struct + ID int + type DeleteVersionInput struct + ID int + type DeleteWikiPageInput struct + Page string + ProjectID string + type GetGroupInput struct + ID int + Includes []string + type GetIssueInput struct + ID int + Includes []string + type GetMembershipInput struct + ID int + type GetProjectInput struct + Identifier string + Includes []string + type GetTimeEntryInput struct + ID int + type GetUserInput struct + ID int + type GetVersionInput struct + ID int + type GetWikiPageInput struct + Includes []string + Page string + ProjectID string + type GroupUserInput struct + GroupID int + UserID int + type GroupsListResult struct + Count int + Groups []models.Group + TotalCount int + func ListGroups(ctx context.Context, client *api.Client, input ListGroupsInput) (GroupsListResult, error) + type IssuesListResult struct + Count int + Issues []models.Issue + TotalCount int + func ListIssues(ctx context.Context, client *api.Client, input ListIssuesInput) (IssuesListResult, error) + type ListCategoriesInput struct + ProjectID string + type ListGroupsInput struct + Limit int + Offset int + type ListIssuesInput struct + AssignedToID string + FixedVersionID int + Includes []string + Limit int + Offset int + ProjectID string + Sort string + StatusID string + TrackerID int + type ListMembershipsInput struct + Limit int + Offset int + ProjectID string + type ListProjectMembersInput struct + Identifier string + Limit int + Offset int + type ListProjectsInput struct + Includes []string + Limit int + Offset int + type ListTimeEntriesInput struct + ActivityID int + From string + IssueID int + Limit int + Offset int + ProjectID string + To string + UserID string + type ListUsersInput struct + GroupID int + Limit int + Name string + Offset int + Status string + type ListVersionsInput struct + Limit int + Offset int + ProjectID string + type ListWikiPagesInput struct + Limit int + Offset int + ProjectID string + type MembershipsListResult struct + Count int + Memberships []models.Membership + TotalCount int + func ListMemberships(ctx context.Context, client *api.Client, input ListMembershipsInput) (MembershipsListResult, error) + type MessageResult struct + Message string + func AddGroupUser(ctx context.Context, client *api.Client, input GroupUserInput) (MessageResult, error) + func AddIssueComment(ctx context.Context, client *api.Client, input AddIssueCommentInput) (MessageResult, error) + func AssignIssue(ctx context.Context, client *api.Client, input AssignIssueInput) (MessageResult, error) + func CloseIssue(ctx context.Context, client *api.Client, input CloseIssueInput) (MessageResult, error) + func DeleteGroup(ctx context.Context, client *api.Client, input DeleteGroupInput) (MessageResult, error) + func DeleteIssue(ctx context.Context, client *api.Client, input DeleteIssueInput) (MessageResult, error) + func DeleteMembership(ctx context.Context, client *api.Client, input DeleteMembershipInput) (MessageResult, error) + func DeleteProject(ctx context.Context, client *api.Client, input DeleteProjectInput) (MessageResult, error) + func DeleteTimeEntry(ctx context.Context, client *api.Client, input DeleteTimeEntryInput) (MessageResult, error) + func DeleteUser(ctx context.Context, client *api.Client, input DeleteUserInput) (MessageResult, error) + func DeleteVersion(ctx context.Context, client *api.Client, input DeleteVersionInput) (MessageResult, error) + func DeleteWikiPage(ctx context.Context, client *api.Client, input DeleteWikiPageInput) (MessageResult, error) + func RemoveGroupUser(ctx context.Context, client *api.Client, input GroupUserInput) (MessageResult, error) + func ReopenIssue(ctx context.Context, client *api.Client, input ReopenIssueInput) (MessageResult, error) + func UpdateGroup(ctx context.Context, client *api.Client, input UpdateGroupInput) (MessageResult, error) + func UpdateIssue(ctx context.Context, client *api.Client, input UpdateIssueInput) (MessageResult, error) + func UpdateMembership(ctx context.Context, client *api.Client, input UpdateMembershipInput) (MessageResult, error) + func UpdateProject(ctx context.Context, client *api.Client, input UpdateProjectInput) (MessageResult, error) + func UpdateTimeEntry(ctx context.Context, client *api.Client, input UpdateTimeEntryInput) (MessageResult, error) + func UpdateUser(ctx context.Context, client *api.Client, input UpdateUserInput) (MessageResult, error) + func UpdateVersion(ctx context.Context, client *api.Client, input UpdateVersionInput) (MessageResult, error) + func UpdateWikiPage(ctx context.Context, client *api.Client, input UpdateWikiPageInput) (MessageResult, error) + func (m MessageResult) MCPMessage() string + type ProjectMembersListResult struct + Count int + Members []models.Membership + TotalCount int + func ListProjectMembers(ctx context.Context, client *api.Client, input ListProjectMembersInput) (ProjectMembersListResult, error) + type ProjectsListResult struct + Count int + Projects []models.Project + TotalCount int + func ListProjects(ctx context.Context, client *api.Client, input ListProjectsInput) (ProjectsListResult, error) + type ReopenIssueInput struct + ID int + Notes string + type SearchInput struct + AllWords bool + Changesets bool + Documents bool + Issues bool + Limit int + Messages bool + News bool + Offset int + OpenIssues bool + ProjectID string + Projects bool + Query string + Scope string + TitlesOnly bool + WikiPages bool + type SearchResultsListResult struct + Count int + Results []models.SearchResult + TotalCount int + func Search(ctx context.Context, client *api.Client, input SearchInput) (SearchResultsListResult, error) + type StatusesListResult struct + Count int + Statuses []models.IssueStatus + func ListStatuses(ctx context.Context, client *api.Client, _ struct{}) (StatusesListResult, error) + type SummaryTimeEntriesInput struct + From string + GroupBy string + ProjectID string + To string + UserID string + type TimeEntriesListResult struct + Count int + TimeEntries []models.TimeEntry + TotalCount int + func ListTimeEntries(ctx context.Context, client *api.Client, input ListTimeEntriesInput) (TimeEntriesListResult, error) + type TimeSummaryResult struct + From string + GroupBy string + Rows []TimeSummaryRow + To string + TotalHours float64 + func SummaryTimeEntries(ctx context.Context, client *api.Client, input SummaryTimeEntriesInput) (TimeSummaryResult, error) + type TimeSummaryRow struct + Group string + Hours float64 + type TrackersListResult struct + Count int + Trackers []models.Tracker + func ListTrackers(ctx context.Context, client *api.Client, _ struct{}) (TrackersListResult, error) + type UpdateGroupInput struct + ID int + Name *string + UserIDs *[]int + type UpdateIssueInput struct + AssignedToID *int + CategoryID *int + Description *string + DoneRatio *int + DueDate *string + EstimatedHours *float64 + FixedVersionID *int + ID int + IsPrivate *bool + Notes *string + ParentIssueID *int + PriorityID *int + StatusID *int + Subject *string + TrackerID *int + Uploads []models.Upload + type UpdateMembershipInput struct + ID int + RoleIDs []int + type UpdateProjectInput struct + Description *string + Identifier string + IsPublic *bool + Name *string + type UpdateTimeEntryInput struct + ActivityID *int + Comments *string + Hours *float64 + ID int + SpentOn *string + type UpdateUserInput struct + Admin *bool + FirstName *string + ID int + LastName *string + Mail *string + Status *int + type UpdateVersionInput struct + Description *string + DueDate *string + ID int + Name *string + Sharing *string + Status *string + WikiPageTitle *string + type UpdateWikiPageInput struct + Comments *string + Page string + ProjectID string + Text *string + Title *string + Uploads []models.Upload + type UsersListResult struct + Count int + TotalCount int + Users []models.User + func ListUsers(ctx context.Context, client *api.Client, input ListUsersInput) (UsersListResult, error) + type VersionsListResult struct + Count int + TotalCount int + Versions []models.Version + func ListVersions(ctx context.Context, client *api.Client, input ListVersionsInput) (VersionsListResult, error) + type WikiPagesListResult struct + Count int + Pages []models.WikiPageIndex + TotalCount int + func ListWikiPages(ctx context.Context, client *api.Client, input ListWikiPagesInput) (WikiPagesListResult, error)