【问题标题】:How to get sprint or iteration details of a project in rtc jazz using OSLC如何使用 OSLC 在 rtc jazz 中获取项目的 sprint 或迭代详细信息
【发布时间】:2014-12-03 04:54:26
【问题描述】:

谁能帮助我使用 oslc 或 REST 调用获取其中的迭代和冲刺列表以及该冲刺中的工作项

【问题讨论】:

    标签: rtc jazz oslc


    【解决方案1】:

    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:

    https://clm.example.com:9443/ccm/rpt/repository/foundation?fields=foundation/developmentLine/(name|projectArea/name)

    有关可报告 RestAPI 的简要介绍,refer to this web pages。

    https://jazz.net/wiki/bin/view/Main/ReportsRESTAPI

    此报告 API 的优点是我们可以按名称查询,而不是对象的 uuid。

    【讨论】:

      【解决方案2】:

      那里

      我也通过这种方式解决了这个问题。试试看。
      它返回 Open Sprint 列表。
      http://jira.address/rest/greenhopper/1.0/sprint/picker

      如果以后想搜索封闭的sprint,可以在上面的调用中使用如下参数:
      http://jira.address/rest/greenhopper/1.0/sprint/picker?excludeCompleted=false

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 2016-04-11
        • 1970-01-01
        • 1970-01-01
        • 2021-09-09
        • 2016-07-11
        • 1970-01-01
        • 1970-01-01
        • 2019-01-18
        相关资源
        最近更新 更多