Open johns10 opened 3 years ago
I'm having trouble getting up and running with this library.
I'm trying:
ExJira.Request.get_all("/search", "", "jql=key=SD-1000")
It returns {:ok, nil}
{:ok, nil}
The log says ExJira.Request: Sending GET to https://myjira.atlassian.net/rest/api/latest/search?jql=key=SD-1000 with using Elixir.HTTPotion
ExJira.Request: Sending GET to https://myjira.atlassian.net/rest/api/latest/search?jql=key=SD-1000 with using Elixir.HTTPotion
I've validated that https://myjira.atlassian.net/rest/api/latest/search?jql=key=SD-1000 returns valid JSON.
https://myjira.atlassian.net/rest/api/latest/search?jql=key=SD-1000
Now I see, I have to specify the response key, like this:
ExJira.Request.get_all("/search", "issues", "jql=key=SD-1000")
Or, I can just go ExJira.Project.get_issues("CSS") 🤦
ExJira.Project.get_issues("CSS")
I'm having trouble getting up and running with this library.
I'm trying:
ExJira.Request.get_all("/search", "", "jql=key=SD-1000")
It returns
{:ok, nil}
The log says
ExJira.Request: Sending GET to https://myjira.atlassian.net/rest/api/latest/search?jql=key=SD-1000 with using Elixir.HTTPotion
I've validated that
https://myjira.atlassian.net/rest/api/latest/search?jql=key=SD-1000
returns valid JSON.