0

I am trying to integrate robot framework results to xray.but getting error like " create test execution failed".. Using only project I'd and test cases tagged with user story id

Any solution for this

I have tried standard url only...not using multiform url..if I manually create test execution getting error like " test case execution update failed"

  • To be able to help you out, we need more info. 1) Are you using Xray on Jira cloud or Xray on Jira server/datacenter? 2) can you share the Robot Framework output.xml file? 3) on the target Jira project, can you create by hand (going to the Jira UI) Test Execution issues and Test issues? 4) can you share the exact output you get from the REST API call and the exact request you're doing? – Sérgio Aug 31 '23 at 18:41
  • I am using xray cloud. Using below endpoint https://xray.cloud.getxray.ap/api/v2/import/execution/robot/?project key=SPAIR created token using client ID and secret and added to header ..my robot frame work version is 3.1.2. In the body I have copied the whole output.xml.each test case tagged with user story Id – Manickarajan S Sep 01 '23 at 06:27
  • { "error": "Error creating Test Execution - Issue create failed!"} – Manickarajan S Sep 01 '23 at 06:33
  • 3) on the target Jira project, can you create by hand (going to the Jira UI) Test Execution issues and Test issues using the typical issue Create action? – Sérgio Sep 01 '23 at 09:30
  • Yes I am able to create.. – Manickarajan S Sep 02 '23 at 02:22
  • How to verify whether shared client I'd and client secret have permission to create test execution..it's shared by our jira admin – Manickarajan S Sep 02 '23 at 02:23
  • You need to reach out to your Jira admin and ask him which user the client id/secret was created for (https://docs.getxray.app/display/XRAYCLOUD/Global+Settings%3A+API+Keys#GlobalSettings:APIKeys-CreateanAPIKey) – Sérgio Sep 02 '23 at 09:01

0 Answers0