Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
Level
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Adding more information when importing Robot Framework test results

Benoit L I'm New Here Mar 09, 2021

Hi, 

I am currently using the /rest/raven/1.0/import/execution/robot/multipart endpoint to import my test results into Xray. Here is the JSON that accompanies the API call : 

 

{    "fields": {        "project": {            "id": project_id        },        "fixVersions":[                 version        ],        "summary": "Test Execution for robot Execution " + identificationinfo,        "issuetype": {            "id": "18002"        },        "customfield_28927": [            testplan_jira         ]                   }
    }

 

For some reason, ever since i added the fixVersions field, it gives the following error : "There's no information regarding the project where the issues will be created."

 

Any ideas on what i am doing wrong ? I would also like to change the status of the newly created test execution to DONE. Can i do that by adding the status field in this JSON file ?

 

Thanks for any help !

1 answer

Hi @Benoit L 

Instead of using the name fixVersions try to use the custom field ID, using it like this:

customfield_?????

If you need further help, please contact the Xray Support (http://xraysupport.xpand-it.com) so that we can request additional information and investigate further.

Kind regards,
Rogério Paiva [Xray Support Team]

Suggest an answer

Log in or Sign up to answer
TAGS

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you