【发布时间】:2014-12-03 04:54:26
【问题描述】:
谁能帮助我使用 oslc 或 REST 调用获取其中的迭代和冲刺列表以及该冲刺中的工作项
【问题讨论】:
谁能帮助我使用 oslc 或 REST 调用获取其中的迭代和冲刺列表以及该冲刺中的工作项
【问题讨论】:
This thread 报告查询迭代可能有点棘手:
为了获取特定开发线的迭代。报告休息 I/F 可能会有所帮助。
https://clm.example.com:9443/ccm/rpt/repository/foundation?fields=foundation/iteration[developmentLine/name='RTC V4.0.6 Development']/(id|name|developmentLine/name)
这会产生一些类似的东西:
<iteration> <developmentline> <name> <iteration>
<developmentline><name>RTC V4.0.6 Development</name></developmentline>
<id>Sprint 2</id>
<name>Sprint 2</name>
</iteration> </name> </developmentline> </iteration>
不幸的是,迭代属于开发线,所以我们必须使用如下方式查询 developmentLine:
有关可报告 RestAPI 的简要介绍,refer to this web pages。
https://jazz.net/wiki/bin/view/Main/ReportsRESTAPI
此报告 API 的优点是我们可以按名称查询,而不是对象的 uuid。
【讨论】:
那里
我也通过这种方式解决了这个问题。试试看。
它返回 Open Sprint 列表。
http://jira.address/rest/greenhopper/1.0/sprint/picker
如果以后想搜索封闭的sprint,可以在上面的调用中使用如下参数:
http://jira.address/rest/greenhopper/1.0/sprint/picker?excludeCompleted=false
【讨论】: