Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

xRay - Create test execution ticket via API (v.1 & v.2) failed Edited

Hello,

I'm trying to create (via API) a test execution ticket and update one test status (pass for now).

Using postman:

Post request

URI: https://{MY JIRA DNS SERVER}/api/v1/import/execution

Authorization: Basic Auth (user, password)

Body(JSON):

{
"info": {
"summary": "Execution of automated tests for MorROST",
"description": "This execution is automatically created by Nimoy",
"version": "v1.3",
"user": "{MY USER}",
"revision": "1.0.42134",
"startDate": "2014-08-30T11:47:35+01:00",
"finishDate": "2014-08-30T11:53:00+01:00",
"testPlanKey": "{JIRA TP KEY}",
"testEnvironments": [
"Beta"
]
},
"tests": [
{
"testKey": "{JIRA TEST KEY}",
"start": "2021-01-11T11:47:35+01:00",
"finish": "2021-01-12T11:50:56+01:00",
"comment": "Successful execution",
"status": "PASS"
}
]
}

 

I'm getting as a result:

<status-code>404</status-code>    <message>null for uri: https://jira.cloud.fpdev.io/rest/raven/2.0/api/import/execution</message>

 

Could someone know why??? :/ can't figure it.

Please help me :(

Thank you

1 answer

Hi @Aroesti, Mor !  

As i see your installation is server. 

Please, use the next https://docs.getxray.app/display/XRAY/v2.0#/Import/post-import-execution doc

it means the next rest end point


/rest/raven/2.0/api/import/execution

Cheers,

Gonchik

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