Sometimes it can be useful to make a REST request to the currently running instance on behalf of the logged in user.
This method allows you to make the request, as the end user, without having access to the user's password.
NOTE - the SSL certificate for your Jira host must be in the
truststore for the JDK this Jira runs with.
Additionally if you use client SSL certificates (rare) it will not work without further configuration.
For these reasons and others it's normally better to use the Java API if possible - but this method can be used as a