Hello
i use xray api with jira cloud. i am succefully authentificate but i can t retrieve a project id. The project exist and i have admin right everywhere.
What can i change or use for trying to get the good result ?
- i use this query
get {{JIRA_BASEURL}}/rest/api/2/project/{{PROJECT_KEY}}
-the result is
no value present
-my test
pm.test("Status code is 200", function () {
pm.response.to.have.status(200);
});
pm.test("Project returned", function () {
var jsonData = pm.response.json();
pm.expect(jsonData.key).to.not.be.empty;
pm.globals.set("PROJECT_ID", jsonData.id);
});
Thanks