jirex v0.0.2 Jirex.Endpoint

Jirex.Endpoint provides functions that construct the url value for a resource’s endpoint.

Functions

- issue_get/0
- issue_search/1

Summary

Functions

The issue_get/0 function returns the corrsponding url for the issue resource endpoint using the configured api url

The issue_search/1 function returns the corrsponding url for the issue resource endpoint using the configured api url

Functions

issue_get()

The issue_get/0 function returns the corrsponding url for the issue resource endpoint using the configured api url.

Example

iex> Jirex.Endpoint.issue_get
"https://someteam.atlassian.net/rest/api/2/issue/"
issue_search(params)
issue_search(map) :: String.t

The issue_search/1 function returns the corrsponding url for the issue resource endpoint using the configured api url.

Example

iex> Jirex.Endpoint.issue_search(%{assignee: "Eric"})
"https://someteam.atlassian.net/rest/api/2/search?jql=assignee=Eric"