我正在尝试从 pyral 示例中修改 statecounts.py,以提取每个版本的所有已定义/已接受/正在进行/已完成的故事点。我不断收到查询异常错误。有什么我错过的吗?
state = 'ScheduleState'
state_values = rally.getAllowedValues('HierarchicalRequirement', state)
output = []
for rel in sorted(release_names):
for state_value in sorted(state_values):
response = rally.get(artifact_type, fetch="FormattedID", query='(Release.Name= %s ) AND %s = %s' % (rel, state, state_value),
projectScopeUp=False, projectScopeDown=False)
output.append("%20s : %16s : %5d" % (rel, state, state_value, response.resultCount))
谢谢!!!