Contributions
Error response from Zephyr Squad API when creating folder under cycle
Hello, While trying to use the API provided here: https://zephyrsquadserver.docs.apiary.io/#reference/folderresource/create-a-folder-under-cycle/create-a-folder-under-cycle - to create a folder under a cycle by calling (HTTP POST) thisendpoint<base_url>/rest/zapi/latest/folder/createwiththe following JSON structure: { "versionId":"-1", "cycleId":"13337", "name":"mytest", "projectId":"13337", "clonedFolderId":-1 } - I recieve an unexpected error response: { "error":"Errorwhileprocessingtherequest,pleasetryaftersometime." } This response does not seem to be covered in the above-mentioned documentation, and I haven't come across this error when using other endpoints. I am therefore left wondering, what might cause this error. If anyone has any clue, then I'd be happy to hear it. I'll also look further into this and post the reason if it's ever found. Thanks in advance!848Views0likes1CommentRe: Cannot create new execution using Zephyr Squad Server REST API
I figured it out. For those curious, then the problem was that I applied the example url: http://localhost:2990/jira/rest/zapi/latest/execution - and replaced localhost:2990 with the hostname of our organization. However, the /jira/ would apparently also have to be deleted. So the API call was instead made to: https://jira.hostname.com/rest/zapi/latest/execution. - which worked perfectly. Maybe I was just stupid, smh.1.1KViews1like1CommentCannot create new execution using Zephyr Squad Server REST API
I am currently trying to create a new execution for a test using this example from the API: https://getzephyr.docs.apiary.io/#reference/executionresource/get-defect-list/create-new-execution However it does not seem to work when I pass a similar request body to the given endpoint. I am able to change data on current executions by using a Put request, but apparently not perform a POST request on the endpoint provided by the API. What might be the cause of this? Should the admin allow such changes first, or? Prerequisites: I am - Using Zephyr Squad Server. Using Basic Authentication. Using Content-Type: application/json - header Request body (example): { "cycleId":"1", "issueId":"26660", "projectId":"32067" } Response body: Since it's just the standard Jira 404 Not Found page, it seems redundant to include. However, if nessecary then it can be found here:https://pastebin.com/EX1j292F Please comment if more information is needed, thanks!Solved1.1KViews0likes2Comments