A JIRA client library for Elixir using erlang-oauth to call the JIRA REST API.
A non-trivial project to help me get started using Elixir - Currently WIP.
Add the following to the deps section in mix.exs
.
defp deps do
[
{:oauth, github: "tim/erlang-oauth"},
{:extwitter, "~> 0.1"}
]
end
Use ExJira.configure
to setup the JIRA OAuth parameters. See the Configuration section below for further details.
Call the functions in the ExJira module (e.g. ExJira.projects
to return all projects or ExJira.project("KEY")
to return a specifc one).
There are three ways to configure ExJira:
In config/config.exs
add the following:
config :ex_jira, [
site: "http://youraccount.atlassian.net",
private_key_file: "private_key.pem"
consumer_key: ""
]
ExJira.configure([consumer_key: "", ...])
ExJira.configure(:process, [consumer_key: "", ...])