{"action":"created","issue":{"url":"https://api.github.com/repos/schrepfler/jira-maven-plugin/issues/10","repository_url":"https://api.github.com/repos/schrepfler/jira-maven-plugin","labels_url":"https://api.github.com/repos/schrepfler/jira-maven-plugin/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/schrepfler/jira-maven-plugin/issues/10/comments","events_url":"https://api.github.com/repos/schrepfler/jira-maven-plugin/issues/10/events","html_url":"https://github.com/schrepfler/jira-maven-plugin/issues/10","id":198475662,"number":10,"title":"create-new-jira-version goal does not work with jira 6.1.9","user":{"login":"tmortagne","id":89175,"avatar_url":"https://avatars.githubusercontent.com/u/89175?v=3","gravatar_id":"","url":"https://api.github.com/users/tmortagne","html_url":"https://github.com/tmortagne","followers_url":"https://api.github.com/users/tmortagne/followers","following_url":"https://api.github.com/users/tmortagne/following{/other_user}","gists_url":"https://api.github.com/users/tmortagne/gists{/gist_id}","starred_url":"https://api.github.com/users/tmortagne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tmortagne/subscriptions","organizations_url":"https://api.github.com/users/tmortagne/orgs","repos_url":"https://api.github.com/users/tmortagne/repos","events_url":"https://api.github.com/users/tmortagne/events{/privacy}","received_events_url":"https://api.github.com/users/tmortagne/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-01-03T13:35:58Z","updated_at":"2017-02-02T10:48:45Z","closed_at":null,"body":"Getting the following error:\r\n\r\n```\r\n[ERROR] Error when executing mojo\r\ncom.atlassian.jira.rest.client.RestClientException: org.codehaus.jettison.json.JSONException: A JSONObject text must begin with '{' at character 1 of <!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html><head>\r\n<title>302 Found</title>\r\n</head><body>\r\n<h1>Found</h1>\r\n<p>The document has moved <a href=\"http://jira.xwiki.org/rest/api/latest/version\">here</a>.</p>\r\n</body></html>\r\n\r\n\tat com.atlassian.jira.rest.client.internal.async.AbstractAsynchronousRestClient$2.apply(AbstractAsynchronousRestClient.java:167)\r\n\tat com.atlassian.jira.rest.client.internal.async.AbstractAsynchronousRestClient$2.apply(AbstractAsynchronousRestClient.java:159)\r\n\tat com.atlassian.httpclient.api.ResponsePromiseMapFunction.apply(ResponsePromiseMapFunction.java:48)\r\n\tat com.atlassian.httpclient.api.ResponsePromiseMapFunction.apply(ResponsePromiseMapFunction.java:12)\r\n\tat com.atlassian.util.concurrent.Promises$Of$3.apply(Promises.java:285)\r\n\tat com.atlassian.util.concurrent.Promises$2.onSuccess(Promises.java:162)\r\n\tat com.google.common.util.concurrent.Futures$6.run(Futures.java:799)\r\n\tat com.google.common.util.concurrent.MoreExecutors$SameThreadExecutorService.execute(MoreExecutors.java:262)\r\n\tat com.google.common.util.concurrent.ExecutionList$RunnableExecutorPair.execute(ExecutionList.java:149)\r\n\tat com.google.common.util.concurrent.ExecutionList.execute(ExecutionList.java:134)\r\n\tat com.google.common.util.concurrent.AbstractFuture.set(AbstractFuture.java:175)\r\n\tat com.google.common.util.concurrent.SettableFuture.set(SettableFuture.java:53)\r\n\tat com.atlassian.util.concurrent.Promises$Of$3.apply(Promises.java:285)\r\n\tat com.atlassian.util.concurrent.Promises$2.onSuccess(Promises.java:162)\r\n\tat com.google.common.util.concurrent.Futures$6.run(Futures.java:799)\r\n\tat com.google.common.util.concurrent.MoreExecutors$SameThreadExecutorService.execute(MoreExecutors.java:262)\r\n\tat com.google.common.util.concurrent.ExecutionList$RunnableExecutorPair.execute(ExecutionList.java:149)\r\n\tat com.google.common.util.concurrent.ExecutionList.execute(ExecutionList.java:134)\r\n\tat com.google.common.util.concurrent.AbstractFuture.set(AbstractFuture.java:175)\r\n\tat com.google.common.util.concurrent.SettableFuture.set(SettableFuture.java:53)\r\n\tat com.atlassian.httpclient.apache.httpcomponents.SettableFuturePromiseHttpPromiseAsyncClient$1$1.run(SettableFuturePromiseHttpPromiseAsyncClient.java:46)\r\n\tat com.atlassian.httpclient.apache.httpcomponents.SettableFuturePromiseHttpPromiseAsyncClient$ThreadLocalDelegateRunnable$1.run(SettableFuturePromiseHttpPromiseAsyncClient.java:197)\r\n\tat com.atlassian.httpclient.apache.httpcomponents.SettableFuturePromiseHttpPromiseAsyncClient.runInContext(SettableFuturePromiseHttpPromiseAsyncClient.java:90)\r\n\tat com.atlassian.httpclient.apache.httpcomponents.SettableFuturePromiseHttpPromiseAsyncClient$ThreadLocalDelegateRunnable.run(SettableFuturePromiseHttpPromiseAsyncClient.java:192)\r\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)\r\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)\r\n\tat java.lang.Thread.run(Thread.java:745)\r\nCaused by: org.codehaus.jettison.json.JSONException: A JSONObject text must begin with '{' at character 1 of <!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\r\n<html><head>\r\n<title>302 Found</title>\r\n</head><body>\r\n<h1>Found</h1>\r\n<p>The document has moved <a href=\"http://jira.xwiki.org/rest/api/latest/version\">here</a>.</p>\r\n</body></html>\r\n\r\n\tat org.codehaus.jettison.json.JSONTokener.syntaxError(JSONTokener.java:439)\r\n\tat org.codehaus.jettison.json.JSONObject.<init>(JSONObject.java:169)\r\n\tat org.codehaus.jettison.json.JSONObject.<init>(JSONObject.java:266)\r\n\tat com.atlassian.jira.rest.client.internal.async.AbstractAsynchronousRestClient.extractErrors(AbstractAsynchronousRestClient.java:202)\r\n\tat com.atlassian.jira.rest.client.internal.async.AbstractAsynchronousRestClient$2.apply(AbstractAsynchronousRestClient.java:164)\r\n\t... 26 more\r\n```"},"comment":{"url":"https://api.github.com/repos/schrepfler/jira-maven-plugin/issues/comments/276925302","html_url":"https://github.com/schrepfler/jira-maven-plugin/issues/10#issuecomment-276925302","issue_url":"https://api.github.com/repos/schrepfler/jira-maven-plugin/issues/10","id":276925302,"user":{"login":"tmortagne","id":89175,"avatar_url":"https://avatars.githubusercontent.com/u/89175?v=3","gravatar_id":"","url":"https://api.github.com/users/tmortagne","html_url":"https://github.com/tmortagne","followers_url":"https://api.github.com/users/tmortagne/followers","following_url":"https://api.github.com/users/tmortagne/following{/other_user}","gists_url":"https://api.github.com/users/tmortagne/gists{/gist_id}","starred_url":"https://api.github.com/users/tmortagne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tmortagne/subscriptions","organizations_url":"https://api.github.com/users/tmortagne/orgs","repos_url":"https://api.github.com/users/tmortagne/repos","events_url":"https://api.github.com/users/tmortagne/events{/privacy}","received_events_url":"https://api.github.com/users/tmortagne/received_events","type":"User","site_admin":false},"created_at":"2017-02-02T10:48:45Z","updated_at":"2017-02-02T10:48:45Z","body":"I tried again with 0.5 and it works well."}}
{"actor":{"display_login":"tmortagne"}}