Closed benjivm closed 7 years ago
Creating the walker or calling push
method on it doesn't make any API calls to JIRA. The first call is made, when you try to foreach($walker as $issue) {
over issues.
So I guess you need to put try/catch around the foreach
.
@aik099 Thanks, that did the trick.
Would it make sense to create a way to check the session status via the API? I am not sure if that is even a part of JIRA's API, but something like $api->currentUser()
that would return false if not logged in.
Thanks a lot for all your and @jpastoor work maintaining this project.
Would it make sense to create a way to check the session status via the API?
It is REST API and in REST there is no session. Each API call is using credentials you provided. So you can just make any API call and see if it ends up in unauthorized exception.
The following isn't working:
I am still getting the Laravel error page:
I have also tried namespacing to the API, like this: