ex_jira v0.0.5 ExJira.Dashboard View Source
Provides access to the Dashboard resource.
Link to this section Summary
Link to this section Functions
Link to this function
all(query_params \\ [])
View Source
all(query_params \\ [])
View Source
all([{atom(), String.t()}]) :: ExJira.Request.request_response()
all([{atom(), String.t()}]) :: ExJira.Request.request_response()
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
Same as all/1
but raises error if it fails
Examples
iex> ExJira.Dashboard.all!()
[%{"id" => "1007"}, %{"id" => "1008"}]
Link to this function
get(id)
View Source
get(id)
View Source
get(String.t()) :: ExJira.Request.request_response()
get(String.t()) :: ExJira.Request.request_response()
Returns the specified dashboard as described here.
Examples
iex> ExJira.Dashboard.get("1009")
{:ok, %{"id" => "1009"}}
Link to this function
get!(id) View Source
Same as get/1
but raises error if it fails
Examples
iex> ExJira.Dashboard.get!("1009")
%{"id" => "1009"}