404 error while creating a folder in xray test repository.
POST : https://TestComp.atlassian.net/rest/raven/1.0/api/testrepository/TES/folders/-1
Authorization Type: Basic Auth
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<status>
<status-code>404</status-code>
<message>null for uri: https://TestComp.atlassian.net/rest/raven/1.0/api/testrepository/TES/folders/-1</message>
</status>
Do I need to request any additional permission from JIRA admin for accessing XRAY API's?
Hi,
according to the documentation https://docs.getxray.app/display/XRAY/Test+Repository+-+REST your URL seems right: /rest/raven/1.0/api/testrepository/<projectKey>/folders/<folderId>
Is "TES" valid key for a project using Xray?
Did you try any other endpoints to test the functionality at all?
Does the user, who is used for the authorization, has the permission to see the "TES" project and has the possibility to create the folder manually in Jira?
Hi Hana,
Thanks for your response.
"TES" was just a sample Project key.
Looks like Jira admin has to provide me with the API key based on the information specified in the below url which I have requested for.
https://docs.getxray.app/display/XRAYCLOUD/Global+Settings%3A+API+Keys
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.