是否可以通过REST读取XRay活动?

huangapple go评论90阅读模式
英文:

Is it possible to read XRay activities via REST?

问题

抱歉,我无法访问外部链接或执行代码。如果你需要帮助,请提供更多文字描述或具体问题,我将尽力协助你。

英文:

I have this report of a test execution for a test from a test plan: https://myjira/secure/XrayExecuteTest!default.jspa?testExecIssueKey=XXX&testIssueKey=XXX&testPlanIssueKey=XXX

and there is a box called "Activity" where I can see all the changes made to the status of the test execution. Is there any REST call to retrieve this data?

For example something like "xxx changed status from blocked to executing."

Unfortunately, I do not see any of this data in the standard JIRA issues.

答案1

得分: 1

截止到2023年7月,通过REST API目前无法导出活动信息。您可以通过联系Xray支持团队来提出改进请求。

然而,您可以使用内置的文档生成器功能导出该信息,例如导出到Word文档。

请注意:有一个非公开的端点提供该信息:
https://yourjiraserver/rest/raven/1.0/testrun/8520/activity?limit=10
然而,在生产环境中不建议使用私有端点。它们可能随时更改,未经记录,并且支持团队无法提供帮助。请牢记这一点。

英文:

Currently, as of July 2023, the activity information is not exportable through the REST API. You can request an improvement to support that, by reaching out to Xray support team.

It's possible to export that information using the built-in Document Generator feature though, to a Word document for example.

Note: there is a non-public endpoint that provides that information:
https://yourjiraserver/rest/raven/1.0/testrun/8520/activity?limit=10
However, usage of private endpoints is non-recommended in production. They may be changed at any moment, they are not documented, and support won't be able to assist on them. So please have this in mind.

huangapple
  • 本文由 发表于 2023年7月31日 19:07:05
  • 转载请务必保留本文链接:https://go.coder-hub.com/76802997.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定