The problem I am trying to solve basically is that if there is something wrong with the instance (spelling or instance does not exist) the `basic_auth` is a recovery request and it takes about a minute and a half to two minutes to actually get an exception.
I was wandering whether there is a way how to verify the instance exists before authentication or if there is an option I can pass so it fails immediately?
If all you want is a basic server status, Jira provides a /status endpoint. Suitable for load balancer checks, or just general high-level monitoring.
E.g. https://jira.example.com/status would give you a JSON response like the following:
Have you been looking for a solution to easily create Confluence pages directly from a Jira Cloud issue? The no code solution is here with the brand new app Elements Publish to Confluence, which work...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events