Squash TM : REST API : Unable to get Bug linked to ExecutionStep

cizaire-cts
Messages : 1
Inscription : ven. nov. 16, 2018 1:27 pm

Squash TM : REST API : Unable to get Bug linked to ExecutionStep

Message par cizaire-cts »

Hi,

We are using REST api to squash 1.17.1.RELEASE, PRO version.

We did not find the way to get the defect linked to an execution-steps :
- It shows up in the graphical user interface : http://squash:8080/squash/executions/231
- It does not show up in the answer for http://squash:8080/squash/api/rest/late ... tions/231​
- It does not show up in the answer for http://squash:8080/squash/api/rest/late ... -steps/760 which is linked in http://squash:8080/squash/api/rest/late ... tions/231​
​- We did not find any reference to any field in the squash REST documentation that contains the id of the linked bug

Can you please tell us how to find the reference to the bug for a failed execution step using Squash REST API ?

Regards,
P. Cizaire
cassiecelestin
Messages : 1
Inscription : lun. juin 26, 2023 10:08 am

Re: Squash TM : REST API : Unable to get Bug linked to ExecutionStep

Message par cassiecelestin »

cizaire-cts a écrit : ven. nov. 16, 2018 3:39 pm Hi,

We are using REST api to squash 1.17.1.RELEASE, PRO version.pizza tower

We did not find the way to get the defect linked to an execution-steps :
- It shows up in the graphical user interface : http://squash:8080/squash/executions/231
- It does not show up in the answer for http://squash:8080/squash/api/rest/late ... tions/231​
- It does not show up in the answer for http://squash:8080/squash/api/rest/late ... -steps/760 which is linked in http://squash:8080/squash/api/rest/late ... tions/231​
​- We did not find any reference to any field in the squash REST documentation that contains the id of the linked bug

Can you please tell us how to find the reference to the bug for a failed execution step using Squash REST API ?

Regards,
P. Cizaire
Hello,
If you want to find the reference to the bug for a failed execution step using Squash REST API, you can use the following endpoint: /api/rest/executions/{id}/execution-steps/{id}1. This endpoint will return the execution step details including the bug reference if there is one.
Répondre

Revenir à « Questions générales / General questions »