我正在使用 Rally API v2.0 来访问缺陷列表。标准是从特定项目中获取所有Submitted
、Open
或缺陷。Fixed
虽然我能够得到一个相当大的列表,但我并没有得到每一个缺陷。例如,我注意到有一些缺陷被标记为Fixed
但也处于Accepted
计划状态。这些缺陷不予退还。我看到所有其他计划状态(想法、已定义、进行中、已发布)但未接受的缺陷。
我错过了什么还是这是一个潜在的问题?
const query = "(((State%20%3D%20%22Submitted%22)%20OR%20(State%20%3D%20%22Open%22))%20OR%20(State%20%3D%20%22Open%22))";
const _fetch = "Applications,CreationDate,Description,FormattedID,Iteration,LastUpdateDate,Name,ObjectID,Owner,PlanEstimate,Project,ScheduleState,Severity,State";
const start = 1;
const pagesize = 2000;
const project = "https://rally1.rallydev.com/slm/webservice/v2.0/project/<my_actual_project_id>";
// Set header
const headersMeta = {'ZSESSIONID': this.apiKey};
const options = {
headers: headersMeta
};
// Build the url
const url = "https://rally1.rallydev.com/slm/webservice/v2.0/defect?query=" + query +
"&fetch=" + _fetch +
"&start=" + start +
"&pagesize=" + pagesize +
"&project=" + project;
fetch(url, options) // more code to handle the response. No issues here.
同样,我确实收到了Open, Submitted, or Fixed
我项目中存在缺陷的回复。我没有得到任何Schedule State
。Accepted