JQL
An Ecto-like DSL for the Jira Query Language
[!WARNING] This library is currently experimental. It will have bugs, the API may completely change, and error messages may be obtuse. Use at your own risk.
Example
days = -7
JQL.query(:status == Done and :created >= {:days, ^days})Roadmap
-
Remove the variable-like syntax e.g.
JQL.query(status == "Done")in favor ofJQL.query(:status == "Done") - Improve error messages when syntax is invalid
- Figure out a way to override operator associativity (Elixir AST will not contain parenthesis)
- Provide stronger guarantees for accepting valid query fragments (We currently allow you to write invalid queries)
Installation
def deps do
[
{:jql, "~> 0.0.1"}
]
end