Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding Test Cases to Test Cycles #4

Open
leonardonelson91 opened this issue Oct 17, 2022 · 1 comment
Open

Adding Test Cases to Test Cycles #4

leonardonelson91 opened this issue Oct 17, 2022 · 1 comment

Comments

@leonardonelson91
Copy link

leonardonelson91 commented Oct 17, 2022

Hello!

Is there a way to add test cases to test cycles via API in zephyr scale?

@johnathafelix @chicofaccin @otaviomedeirossb @fnmunhoz

@chicofaccin
Copy link
Contributor

Hi, @leonardonelson91.

You can make the POST request to /testrun endpoint and include items in the body. So a new test cycle will be created, and the test cases will be added to the test cycle.
The body should be something like that:

{
  "name": "Full regression",
  "projectKey": "ABC",
    "items": [
          {
              "testCaseKey" : "ABC-T13"
          }
      ]
}

I strongly recommend for further questions to use our official support channel: https://smartbear.atlassian.net/servicedesk/customer/portals

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants