1
在NuGet包
Refered這 https://developer.atlassian.com/display/JIRADEV/JIRA+REST+API+Example+-+Add+Comment 添加評論發現
Refered AnotherJiraClient代碼添加評論JIRA問題。
var request = new RestRequest()
{
Resource = ResourceUrls.Comment(),
RequestFormat = DataFormat.Json,
Method = Method.POST
};
request.AddBody(addComment);//{"body":"Something"}
return Execute<BasicIssue>(request, HttpStatusCode.Created);
但總是返回狀態未找到? 如何使用Jira REST API添加評論?
認證相關的問題? https://developer.atlassian.com/display/JIRADEV/JIRA+REST+APIs#JIRARESTAPIs-Authentication – vzamanillo
但我可以獲取評論,我可以做所有使用GET.B的操作,但是當我需要發佈它說狀態沒有找到。 – cmj
同樣在這裏,用戶有權訪問和評論問題。使用來自https://ecosystem.atlassian.net/wiki/display/JRJC/Home的JIRA Java Client API時也會發生同樣的情況 – centic