Versions in this module Expand all Collapse all v0 v0.0.1 Sep 23, 2021 Changes in this version + const DefaultURL + const StoryTypeBug + const StoryTypeChore + const StoryTypeFeature + type Branch struct + CreatedAt string + Deleted bool + EntityType string + ID int64 + MergedBranchIDs []int64 + Name string + Persistent bool + PullRequests []PullRequest + RepositoryID int64 + URL string + UpdatedAt string + type Client struct + Debug bool + HTTPClient *http.Client + Token string + URL string + func New(token string) *Client + func (c *Client) AddLabelToMultipleStories(ids []int64, params CreateLabelParams) error + func (c *Client) CreateEpic(params CreateEpicParams) (*Epic, error) + func (c *Client) GetMember(memberID string) (*Member, error) + func (c *Client) ListEpics() ([]Epic, error) + func (c *Client) ListMembers() ([]Member, error) + func (c *Client) ListProjects() ([]*Project, error) + func (c *Client) ListStoriesForProject(id string) ([]Story, error) + func (c *Client) ListWorkflows() ([]Workflow, error) + func (c *Client) StoriesCreate(params []CreateStoryParams) ([]*Story, error) + func (c *Client) StoriesDelete(storyIds []int64) error + func (c *Client) StoryArchive(storyId int64) (*Story, error) + func (c *Client) StoryCreate(param CreateStoryParams) (*Story, error) + func (c *Client) StoryDelete(storyId int64) error + func (c *Client) StoryGet(storyId int64) (*Story, error) + func (c *Client) UpdateMultipleStories(params UpdateMultipleStoriesParams) ([]*Story, error) + type Comment struct + AppURL string + AuthorID string + Comments []Comment + CreatedAt string + Deleted bool + EntityType string + ExternalID string + GroupMentionIDs []string + ID int64 + MemberMentionIDs []string + MentionIDs []string + Text string + UpdatedAt string + type Commit struct + AuthorEmail string + AuthorID string + AuthorIdentity Identity + CreatedAt string + EntityType string + Hash string + ID int64 + MergedBranchIDs []int64 + Message string + RepositoryID int64 + Timestamp string + URL string + UpdatedAt string + type CreateCommentParams struct + AuthorID string + CreatedAt *time.Time + ExternalID string + Text string + UpdatedAt *time.Time + type CreateEpicParams struct + CompletedAtOverride *time.Time + CreatedAt *time.Time + Deadline *time.Time + Description string + EpicStateID int64 + ExternalID string + FollowerIDs []string + Labels []CreateLabelParams + MilestoneID int64 + Name string + OwnerIDs []string + PlannedStartDate *time.Time + RequestedByID string + StartedAtOverride *time.Time + UpdatedAt *time.Time + type CreateExternalTicketParams struct + ExternalID string + ExternalURL string + type CreateLabelParams struct + Color string + Description string + ExternalID string + Name string + type CreateStoryCommentParams struct + AuthorID string + CreatedAt *time.Time + ExternalID string + Text string + UpdatedAt *time.Time + type CreateStoryLinkParams struct + ObjectID int64 + SubjectID int64 + Verb string + type CreateStoryParams struct + Archived bool + Comments []CreateStoryCommentParams + CompletedAtOverride *time.Time + CreatedAt *time.Time + Deadline *time.Time + Description string + EpicID int64 + Estimate int64 + ExternalID string + ExternalTickets []CreateExternalTicketParams + FileIDs []int64 + FollowerIDs []string + IterationID int64 + Labels []CreateLabelParams + LinkedFileIDs []int64 + Name string + OwnerIDs []string + ProjectID int64 + RequestedByID string + StartedAtOverride *time.Time + StoryLinks []CreateStoryLinkParams + StoryType string + Tasks []CreateTaskParams + UpdatedAt *time.Time + WorkflowStateID int64 + type CreateTaskParams struct + Complete bool + CreatedAt *time.Time + Description string + ExternalID string + OwnerIDs []string + UpdatedAt *time.Time + type DeleteStoriesParam struct + StoryIds []int64 + type Epic struct + AppURL string + Archived bool + Comments []Comment + Completed bool + CompletedAt time.Time + CompletedAtOverride time.Time + CreatedAt time.Time + Deadline time.Time + Description string + EntityType string + EpicStateID int64 + ExternalID string + ExternalTickets []ExternalTicket + FollowerIDs []string + GroupMentionIDs []string + ID int64 + Labels []Label + MemberMentionIDs []string + MentionIDs []string + MilestoneID int64 + Name string + OwnerIDs []string + PlannedStartDate time.Time + Position int64 + ProjectIDs []int64 + RequestByID string + Started bool + StartedAt time.Time + StartedAtOverride time.Time + State string + Stats EpicStats + UpdatedAt string + type EpicState struct + Color string + CreatedAt time.Time + Description string + EntityType string + ID int64 + Name string + Position int64 + Type string + UpdatedAt time.Time + type EpicStats struct + AverageCycleTime int64 + AverageLeadTime int64 + LastStoryUpdate time.Time + NumPoints int64 + NumPointsDone int64 + NumPointsStarted int64 + NumPointsUnstarted int64 + NumRelatedDocuments int64 + NumStoriesDone int64 + NumStoriesStarted int64 + NumStoriesUnestimated int64 + NumStoriesUnstarted int64 + type EpicWorkflow struct + CreatedAt time.Time + DefaultEpicStateId int64 + EntityType string + EpicStates []EpicState + ID int64 + UpdatedAt time.Time + type ErrorResponse struct + Message string + Tag string + type ExternalTicket struct + EpicIDs []int64 + ExternalID string + ExternalURL string + ID string + StoryIDs []int64 + type File struct + ContentType string + CreatedAt string + Description string + EntityType string + ExternalID string + Filename string + GroupMentionIDs []string + ID int64 + MemberMentionIDs []string + MentionIDs []string + Name string + Size int64 + StoryIDs []int64 + ThumbnailURL string + URL string + UpdatedAt string + UploaderID string + type Identity struct + EntityType string + Name string + Type string + type Label struct + AppURL string + Archived bool + Color string + CreatedAt string + Description string + EntityType string + ExternalID string + ID int64 + Name string + Stats struct{ ... } + UpdatedAt string + type LinkedFile struct + ContentType string + CreatedAt string + Description string + EntityType string + GroupMentionIDs []string + ID int64 + MemberMentionIDs []string + MentionIDs []string + Name string + Size int64 + StoryIDs []int64 + ThumbnailURL string + Type string + URL string + UpdatedAt string + UploaderID string + type Member struct + Disabled bool + ID string + Profile Profile + Role string + State string + type Profile struct + Deactivated bool + EmailAddress string + EntityType string + ID string + MentionName string + Name string + TwoFactorAuthActivated bool + type Project struct + Abbreviation string + AppURL string + Archived bool + Color string + CreatedAt string + DaysToThermometer int64 + Description string + EntityType string + ExternalID string + FollowerIDs []string + ID int64 + IterationLength int64 + Name string + ShowThermometer bool + StartTime string + Stats struct{ ... } + TeamID int64 + UpdatedAt string + type PullRequest struct + BranchID int64 + BranchName string + Closed bool + CreatedAt string + EntityType string + ID int64 + NumAdded int64 + NumCommits int64 + NumModified int64 + NumRemoved int64 + Number int64 + TargetBranchID int64 + TargetBranchName string + Title string + URL string + UpdatedAt string + type Story struct + AppURL string + Archived bool + Blocked bool + Blocker bool + Branches []Branch + Comments []Comment + Commits []Commit + Completed bool + CompletedAt string + CompletedAtOverride string + CreatedAt string + CycleTime int64 + Deadline string + Description string + EntityType string + EpicID int64 + Estimate int64 + ExternalID string + ExternalTickets []ExternalTicket + Files []File + FollowerIDs []string + GroupMentionIDs []string + ID int64 + IterationID int64 + Labels []Label + LeadTime int64 + LinkedFiles []LinkedFile + MemberMentionIDs []string + MentionIDs []string + MovedAt string + Name string + OwnerIDs []string + Position int64 + PreviousIterationIDs []int64 + ProjectID int64 + PullRequests []PullRequest + RequestedByID string + Started bool + StartedAt string + StartedAtOverride string + Stats struct{ ... } + StoryLinks []StoryLink + StoryType string + Tasks []Task + UpdatedAt string + WorkflowStateID int64 + type StoryLink struct + CreatedAt string + EntityType string + ID int64 + ObjectID int64 + SubjectID int64 + Type string + UpdatedAt string + Verb string + type Task struct + Complete bool + CompletedAt string + CreatedAt string + Description string + EntityType string + ExternalID string + GroupMentionIDs []string + ID int64 + MemberMentionIDs []string + MentionIDs []string + OwnerIDs []string + Position int64 + StoryID int64 + UpdatedAt string + type UpdateMultipleStoriesParams struct + AfterId int64 + Archived bool + BeforeId int64 + Deadline *time.Time + EpicId int64 + Estimate int64 + ExternalLinks []string + FollowerIdsAdd []string + FollowerIdsRemove []string + GroupId string + IterationId int64 + LabelsAdd []CreateLabelParams + LabelsRemove []CreateLabelParams + MoveTo string + OwnerIdsAdd []string + OwnerIdsRemove []string + ProjectId int64 + RequestedById string + StoryIds []int64 + StoryType string + WorkflowStateId int64 + type UpdateStoryParams struct + AfterId int64 + Archived bool + BeforeId int64 + BranchIds []int64 + CommitIds []int64 + CompletedAtOverride *time.Time + Deadline *time.Time + Description string + EpicId int64 + Estimate int64 + ExternalLinks []string + FileIds []int64 + FollowerIds []string + GroupId string + IterationId int64 + Labels []CreateLabelParams + LinkedFileIds []int64 + MoveTo string + Name string + OwnerIds []string + ProjectId int64 + PullRequestIds []int64 + RequestedById string + StartedAtOverride *time.Time + StoryType string + WorkflowStateId int64 + type Workflow struct + AutoAssignOwner bool + CreatedAt time.Time + DefaultStateId int64 + Description string + EntityType string + ID int64 + Name string + ProjectIds []int64 + States []WorkflowState + TeamId int64 + UpdatedAt time.Time + type WorkflowState struct + NumStories int64 + NumStoryTemplates int64 + Verb string