jira

package
v0.0.0-...-7059893 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 21, 2020 License: MIT Imports: 9 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Add

type Add struct {
	Body string `json:"body"`
}

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client ...

func NewClient

func NewClient(token, baseURL string) *Client

NewClient ...

func (*Client) PostIssueComments

func (client *Client) PostIssueComments(comments []Comment) error

PostIssueComments ...

type Comment

type Comment struct {
	Content string
	IssuKey string
}

Comment ...

type JsonComment

type JsonComment struct {
	Add Add `json:"add"`
}

type Set

type Set struct {
	Name string `json:"name"`
}

type TransitionRequest

type TransitionRequest struct {
	Update Update `json:"update"`
}

------------------------------------- -- Private methods

type Update

type Update struct {
	Comment []JsonComment `json:"comment"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL