【问题标题】:pyral get function does not return any resultspyral get函数不返回任何结果
【发布时间】:2018-01-09 22:04:12
【问题描述】:

我安装了 pyral 并尝试从 Rally 检索票,但没有返回任何结果。这在 Windows 和 Linux 以及 Python 2 和 3 中都会发生。

>>> import pyral
>>> r = pyral.Rally(apikey=apikey, project=projname)
>>> r.get("UserStory", fetch=True, query='FormattedID = "{}"'.format(ID))
200 QueryResult TotalResultCount: 0  Results: []

【问题讨论】:

    标签: python rally pyral


    【解决方案1】:

    通过将 pyral 从 1.4.0 降级到 1.2.3 解决了该问题。可以在https://pypi.python.org/pypi/pyral/1.2.3下载。这解决了 Windows 和 Linux 以及 Python 2 和 Python 3 上的问题。

    >>> import pyral
    >>> r = pyral.Rally(apikey=apikey, project=projname)
    >>> r.get("UserStory", fetch=True, query='FormattedID = "{}"'.format(ID))
    HierarchicalRequirement result set, totalResultSetSize: 1, startIndex: 1  pageSize: 200  current Index: 0
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2014-06-19
      • 1970-01-01
      • 2014-07-27
      • 2018-05-01
      • 2020-01-10
      • 2022-07-10
      • 1970-01-01
      相关资源
      最近更新 更多