ex_jira v0.0.5 ExJira.Dashboard View Source

Provides access to the Dashboard resource.

Link to this section Summary

Functions

Returns all dashboards. Request parameters as described here

Same as all/1 but raises error if it fails

Returns the specified dashboard as described here

Same as get/1 but raises error if it fails

Link to this section Functions

Returns all dashboards. Request parameters as described here

Examples

iex> ExJira.Dashboard.all()
{:ok, [%{"id" => "1007"}, %{"id" => "1008"}]}
Link to this function

all!(query_params \\ []) View Source
all!([{atom(), String.t()}]) :: [any()]

Same as all/1 but raises error if it fails

Examples

iex> ExJira.Dashboard.all!()
[%{"id" => "1007"}, %{"id" => "1008"}]

Returns the specified dashboard as described here.

Examples

iex> ExJira.Dashboard.get("1009")
{:ok, %{"id" => "1009"}}

Same as get/1 but raises error if it fails

Examples

iex> ExJira.Dashboard.get!("1009")
%{"id" => "1009"}