https://github.com/silbermm/rallex
Elixir interface to Rally
https://github.com/silbermm/rallex
elixir rally
Last synced: 8 months ago
JSON representation
Elixir interface to Rally
- Host: GitHub
- URL: https://github.com/silbermm/rallex
- Owner: silbermm
- License: gpl-3.0
- Created: 2016-09-07T01:05:39.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2017-03-12T16:12:11.000Z (over 9 years ago)
- Last Synced: 2024-12-27T06:23:54.158Z (over 1 year ago)
- Topics: elixir, rally
- Language: Elixir
- Size: 97.7 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: COPYING
Awesome Lists containing this project
README
# Rallex
Library for interacting with [Rally](https://www.rallydev.com/)
Still very much a work in progress.
## Installation
If [available in Hex](https://hex.pm/docs/publish), the package can be installed as:
1. Add `rallex` to your list of dependencies in `mix.exs`:
```elixir
def deps do
[{:rallex, "~> 0.1.0"}]
end
```
2. Ensure `rallex` is started before your application:
```elixir
def application do
[applications: [:rallex]]
end
```
## Usage
### Webhooks
Create a webhook.
```
webhook = %Rallex.WebhookRequest{
AppName: "My appname",
AppUrl: "https://somepage.tomy.app.com",
Name: "My Great Webhook",
TargetUrl: "https://omepage.tomy.app.com/path",
ObjectTypes: ["HierarchicalRequirement", "Defect"],
Expressions: [
%{
:AttributeName => "PlanEstimate",
:Operator => ">",
:Value => "18"
}
]
}
case Rallex.Webhooks.create(webhook, "your_api_key") do
{:ok, %Rallex.WebhookResponse{} = response} -> #created
{:error, reason} -> #failed
end
```
### Queries