We are performing a phasewise scheduled maintenance of our Zephyr for Jira Cloud and Capure for Jira Cloud instances to be compliant with GDPR- Atlassian privacy policy (https://www.atlassian.com/trust/privacy) .Please expect a downtime during this phase of maintenance from Saturday, 01/12/2019, 9:30 PM PST up until Sunday 01/13/2019, 9:30 AM PST.This will be for our phasewise deployment of infrastructure changes, migration utility verification and customer data migration, as part of our GDPR and Atlassian privacy policy compliance efforts.For any further queries regarding this please rasie a ticket by using the option 'Submit a Ticket' below
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