Having issue with our Importer utility for Zephyr for Jira Cloud.Please click here for the steps to resolve the issue. If you are not able to access Capture Cloud and seeing a message, it means your Capture cloud instance is not migrated as part of our GDPR and Atlassian privacy policy. Please click here for the steps to Migrate your Capture Cloud instance to use Capture.
Support | Zephyr



Zapi call returns all “issues of type Test” from all the projects

Created on

Problem

Zapi call to fetch Tests from a particular project instead returns Tests from all the projects.

 

Cause

Passing currentProjectId as binary data (payload) instead of passing it as a query parameter. The user used the below format.

curl -i -k -X GET https://jira.yourcompany.com/rest/zapi/latest/issues --header "Authorization: Basic XXX" --header "Content-Type: application/json" --data-binary '{"currentProjectId": 10000}'

 

Fix

Please pass the currentProjectId as a query parameter.

curl -i -k -X GET https://jira.yourcompany.com/rest/zapi/latest/issues?currentProjectId=10000 --header "Authorization: Basic XXX"

 

Knowledge Base Document Information:

----------------------------------------------------------------------------------------------------

Title: Zapi call returns all “issues of type Test” from all the projects.

Product: Zapi

Version: All

Summary: Zapi call to fetch Tests from a particular project instead returns Tests from all the projects

----------------------------------------------------------------------------------------------------


Was this article helpful?
0 out of 1 found this helpful
Have more questions? Submit a request
Powered by Zendesk