Skip to content
This repository has been archived by the owner on Jan 3, 2024. It is now read-only.

Inability to get List Executions from Unscheduled Cycle #1

Open
IZaiarnyi opened this issue Jan 23, 2017 · 3 comments
Open

Inability to get List Executions from Unscheduled Cycle #1

IZaiarnyi opened this issue Jan 23, 2017 · 3 comments

Comments

@IZaiarnyi
Copy link

request to https://prod-api.zephyr4jiracloud.com/connect/public/rest/api/1.0/executions/search/cycle/{cycleId}?projectId={projectId}&sversionId=-1

Actual result:

code 400
{"errorType":"ERROR","clientMessage":"versionId field value is null or -1 is not valid.","errorCode":131}

What is reason of such behavior?
Even in samples we can see versionId = -1 as an example.

@vkirankumar3090
Copy link

the version id which u specified it invalid it won't be -1 please check your release version id and replace it with proper version id.

@snizzard
Copy link

snizzard commented Dec 4, 2019

the version id which u specified it invalid it won't be -1 please check your release version id and replace it with proper version id.

you replied almost word-for-word what the error already told him. You've done nothing to bring OP closer to a solution. Please make a more genuine attempt at being helpful

When you look at a return response from zapi, there is clearly a "-1" key for something. I see it all the time. If you know what the -1 means please explain it. If you have no knowledge of what he is describing, please refrain from commenting non-solutions like you did here.

@AliakseiMat
Copy link
Contributor

@IZaiarnyi I think the problem is the request argument name. You have "sversionId", looks like it is a typo, try "versionId".

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

No branches or pull requests

4 participants