引用了在 nuget 包中找到的 AnotherJiraClient 代码
参考此 https://developer.atlassian.com/display/JIRADEV/JIRA+REST+API+Example+-+Add+Comment 添加评论。
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 添加评论?