2012-05-03 111 views
1

我想了解是否有可能通過REST API在JIRA 4.4中創建問題。 我開始本地JIRA 4.4服務器,並試圖通過發送json通過其餘客戶端鏈接:http:// localhost:9090/rest/api/2/issue/但它迴應下一個數據是否可以通過REST API在JIRA 4.4中創建問題?

Status Code: 404 Not Found 
Server: Apache-Coyote/1.1 
X-AREQUESTID: 972x1063x1 
X-ASESSIONID: 1qhj5t4 
X-Seraph-LoginReason: OK 
X-AUSERNAME: admin 
Content-Type: text/html;charset=utf-8 
Content-Length: 1006 
Date: Thu, 03 May 2012 12:12:32 GMT 

,並使用JSON旁邊

{ 
    "fields": { 
     "project": 
     { 
      "key": "TEST" 
     }, 
     "summary": "REST ye merry gentlemen.", 
     "description": "Creating of an issue using project keys and issue type names using the REST API", 
     "issuetype": { 
      "name": "Bug" 
     }}} 

我這個根據JIRA doc做。
我很困惑我做錯了什麼, 也許任何人都熟悉這個錯誤?

+1

我升級到JIRA v5.0.3並解決問題) –

回答

0

解決了這個問題。爲什麼它發生json有一些語法錯誤的主要原因。

相關問題