Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddFixedVersion ¶
type AddFixedVersion struct {
Add VersionID `json:"add"`
}
type Jira ¶
type Jira struct { Client *jira.Client Project *jira.Project ProjectID string Version *jira.Version // contains filtered or unexported fields }
Jira has all necessary details for interacting with Jira service
func (*Jira) CreateVersion ¶
CreateVersion creates version in Jira
func (Jira) GetVersion ¶
GetVersion looks for given version name if exists
func (Jira) LinkTasksToVersion ¶
LinkTasksToVersion iterates over all give tasks and tries to link them to version
func (Jira) SetIssueVersion ¶
SetIssueVersion makes http request to Jira service to update task with fixed version
type UpdatePayload ¶
type UpdatePayload struct {
Update UpdateTypePayload `json:"update"`
}
type UpdateTypePayload ¶
type UpdateTypePayload struct {
FixVersions []AddFixedVersion `json:"fixVersions"`
}
Click to show internal directories.
Click to hide internal directories.