Documentation ¶
Index ¶
- func Client(config jira.Config) *jira.Client
- func DefaultClient(debug bool) *jira.Client
- func ProxyAssignIssue(c *jira.Client, key string, user *jira.User, def string) error
- func ProxyCreate(c *jira.Client, cr *jira.CreateRequest) (*jira.CreateResponse, error)
- func ProxyGetIssue(c *jira.Client, key string, opts ...filter.Filter) (*jira.Issue, error)
- func ProxyGetIssueRaw(c *jira.Client, key string) (string, error)
- func ProxySearch(c *jira.Client, jql string, from, limit uint) (*jira.SearchResult, error)
- func ProxyTransitions(c *jira.Client, key string) ([]*jira.Transition, error)
- func ProxyUserSearch(c *jira.Client, opts *jira.UserSearchOptions) ([]*jira.User, error)
- func ProxyWatchIssue(c *jira.Client, key string, user *jira.User) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultClient ¶ added in v1.3.0
DefaultClient returns default jira client.
func ProxyAssignIssue ¶ added in v0.1.0
ProxyAssignIssue uses either a v2 or v3 version of the PUT /issue/{key}/assignee endpoint to assign an issue to the user. Defaults to v3 if installation type is not defined in the config.
func ProxyCreate ¶ added in v0.1.0
func ProxyCreate(c *jira.Client, cr *jira.CreateRequest) (*jira.CreateResponse, error)
ProxyCreate uses either a v2 or v3 version of the Jira POST /issue endpoint to create an issue based on configured installation type. Defaults to v3 if installation type is not defined in the config.
func ProxyGetIssue ¶ added in v0.1.0
ProxyGetIssue uses either a v2 or v3 version of the Jira GET /issue/{key} endpoint to fetch the issue details based on configured installation type. Defaults to v3 if installation type is not defined in the config.
func ProxyGetIssueRaw ¶ added in v1.5.2
ProxyGetIssueRaw executes the same request as ProxyGetIssue but returns raw API response body string.
func ProxySearch ¶ added in v0.1.0
ProxySearch uses either a v2 or v3 version of the Jira GET /search endpoint to search for the relevant issues based on configured installation type. Defaults to v3 if installation type is not defined in the config.
func ProxyTransitions ¶ added in v0.1.0
ProxyTransitions uses either v2 or v3 version of the GET /issue/{key}/transitions endpoint to fetch valid transitions for an issue. Defaults to v3 if installation type is not defined in the config.
func ProxyUserSearch ¶ added in v0.1.0
ProxyUserSearch uses either v2 or v3 version of the GET /user/assignable/search endpoint to search for the users assignable to the given issue. Defaults to v3 if installation type is not defined in the config.
Types ¶
This section is empty.