Contributions
Re: I made the Create Test cycle endpoint and i got an error
ACCESS_KEY = "your token here" ZEPHYR_URL = "https://api.adaptavist.io/tm4j/v2/testcycles" def check(): headers = { "Accept": "application/json", "Content-Type": "application/json", "Authorization": f"Bearer {ACCESS_KEY}" } test_cycle_info = json.dumps({ "projectKey": 48458, "name": "Testing Cycle", "description": "Smoke test cycle for the weekly release", "jiraProjectVersion": "UI:tag_name", "plannedStartDate": "2021-03-04T13:36:56Z", "plannedEndDate": "2021-03-06T13:36:56Z" }) resp = requests.request( "POST", f"{ZEPHYR_URL}", data=test_cycle_info, headers=headers ) if resp.status_code == 200: print(resp.text) else: print(resp.text, resp.status_code) if __name__ == '__main__': check()945Views0likes1CommentI made the Create Test cycle endpoint and i got an error
Following the guide to generate an access_key I created my own code using Python and after I ran the endpoint: https://api.adaptavist.io/tm4j/v2/testcycles {"errorCode":500,"message":"Internal Server Error"} I'm not sure why it means https://support.smartbear.com/zephyr-scale-cloud/api-docs/#operation/listTestCyclesand this is the API Documentation I'm following. Thanks968Views0likes3Comments