是否有关于获取一个美国的状态(就绪,已阻止)的预定义查询-我使用Ruby的api_rally中的故事

时间:2019-07-17 14:58:12

标签: ruby api rally

我正在使用Ruby,并且试图为我的仪表板调用api_rally,我需要查询来获取一个小小的状态(雷迪,封锁)。有人可以帮我吗?

us_table.each做| us |     us_points =如果us.PlanEstimate!= nil那么us.PlanEstimate否则0结束       States_hash [“#{us.ScheduleState}”] = {标签:“#{us.ScheduleState}”,值:states_hash [“#{us.ScheduleState}”] [:value] + us_points}       total_points + = us_points   结束

如果我的代码是Ready或Blocked,我需要测试一下状态故事。

0 个答案:

没有答案