Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Configuration ¶
type Plugin ¶
func (*Plugin) Initialize ¶
func (*Plugin) OnConfigurationChange ¶
func (p *Plugin) OnConfigurationChange()
type Webhook ¶
type Webhook struct { WebhookEvent string Issue struct { Self string Key string Fields struct { Assignee *struct { DisplayName string Name string } Summary string Description string Priority *struct { Id string Name string } IssueType struct { Name string IconURL string } Resolution *struct { Id string } Status struct { Id string } } } User struct { Name string AvatarUrls map[string]string DisplayName string } Comment struct { Body string } ChangeLog struct { Items []struct { FromString string ToString string Field string } } }
func (*Webhook) SlackAttachment ¶
func (w *Webhook) SlackAttachment() (*model.SlackAttachment, error)
Returns the text to be placed in the resulting post or an empty string if nothing should be posted.
Click to show internal directories.
Click to hide internal directories.