Details
-
Bug
-
Status: Waiting Approval
-
Medium
-
Resolution: Unresolved
-
Xray Cloud 16.0.0
-
None
-
None
-
Prod
Description
Description:
As a user I would like to add a newly created Test to a specific Test Plan immediately after creating the Test via an API request in an automation.
The Test is created successfully, but when I attempt to add it to the Test Plan right away, the API returns an "ID not found" error. If I first open the Test in the Jira UI, the ID is then recognized, and I can successfully link the Test to the Test Plan.
My goal is to automate this entire process and be able to associate the Test with the Test Plan immediately after creation, without requiring any manual interaction through the UI.
User friction:
When a test is created through an API request as part of an automated workflow, it is not feasible to perform any manual UI interactions before adding the test to a test plan. Since the process is intended to be fully automated, it should be possible to complete the entire workflow without requiring manual intervention.
Steps to reproduce (right now) / Actual Result:
Steps to Reproduce:
- Create a test issue using the Test Creation API.
- Immediately add the newly created test to an existing test plan using the available API.
Response:
- The API request fails with the following error response: "ID not found."
IMPACT:
When using automation with the GraphQL API, it is not possible to perform any manual UI interactions after creating a test. As a result, the newly created test cannot be added to a test plan immediately, preventing the workflow from being fully automated.
What would improve if solved:
It would be helpful if a test could be added to a test plan immediately after it is created using the API. This would enable fully automated workflows without requiring manual intervention or additional waiting time between test creation and adding the test to a test plan.
Impact on stakeholders:
It will impact on the entire test management workflow.
Current workaround:
Suggested to add delay in creating Test and Adding it to Test plan, but it did not work.
CONTEXT & EXAMPLES:
NA
Concrete example:
NA
Workaround risk:
There is no fixed Delay time we can add as it depends on various factors