
.png)
I did also attempt to edit that Properties Client file to no avail.

Customfieldoption using java jira client code#
The code provided with the OAUth tutorial doesnt appear to work as provided. ’ -H “Content-Type: application/json” -X POST /jira/rest/auth/1/session Set-Cookie: =BWFS-I5KY-9U38-QRZG_73fb8a5ad08f4a6d6cab4f43cd5301aeb1954ce9_lin Path=/ SecureĬache-Control: no-cache, no-store, no-transformĬontent-Type: application/json charset=UTF-8 Somehow it still works using basic authentication when invoking directly from the shell so we assume the actual permissions should be good: Is there another method available to authenticate using OUATH1 on JIRA server? PRIVATE_KEY=MIICeAIBADANBgkqhkiG9w0BAQEFAASCAmIwggJeAgEAAoGBANuXE…

config.propertiesĬom.HttpResponseException: 400 Java -Xdiag -jar OAuthTutorialClient-1.0.jar requestToken “/jira/rest/auth/1/session”Ĭreating default properties file. OAUTH tutorial for JIRA Server: (Fails at step 3) WWW-Authenticate: OAuth realm=“localhost” WWW-Authenticate: OAuth realm=""Īttempts to use an API token using both an email address or user name also nets a 401 authenticated failed response:Ĭurl -k -D-u : -X GET “/rest/api/latest/issue/ACC-17316?fields=customfield_10010” X-Seraph-LoginReason: AUTHENTICATED_FAILED (Reference Links removed due to being a new user)Ĭontent-Security-Policy: frame-ancestors ‘self’ We are looking for some help to figure out what else we can try to get this going again from the plugin.Īlso curious to know how the REST API can work as a cUrl call from the shell, but not from any other source.Īpparently something with Atlassian changed (it appears this issue impacts server as well) and we can not proceed using this method as we get an a failed authentication 401 response.
.png)
We can still make a basic REST call directly from the shell (As seen further below), but it doesnt work anymore via any other methods. We havent made any changes, and now it doesnt work anymore. It used to work just fine using a basic authentication method.
Customfieldoption using java jira client install#
Install with npm: $ npm install jira-connector Prior to this update, this naming convention was inconsistent and easily confused. Starting with version 1.0.0, all functions and parameters utilize xxxId instead of xxxID. Node.JS module which provides easy-to-use access to the Jira REST API.
