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

Is there a way to gather the individual test steps results for an executed test case using the Zapi?

Hi,

 

I am trying to create a report that includes the pass/fail of each individual test step of a test case execution. I am able to gather the executed Zephyr test case details but I can't find the results of each test step. Is there a way I can gather this information using Zapi?

Executed Test Case Data:
"id": 891,
"orderId": ,
"cycleId": ,
"cycleName": "",
"issueId": "",
"issueKey": "",
"issueSummary": "",
"labels": [

],
"issueDescription": "<p>test</p>",
"projectKey": "",
"projectId": ,
"project": "",
"projectAvatarId": ,
"priority": " ",
"components": [

],
"versionId": -1,
"versionName": "Unscheduled",
"status": {
"id": 1,
"name": "PASS",
"description": "Test was executed and passed successfully.",
"color": "#75B000",
"type": 0
},
"executedOn": "12/Nov/19",
"creationDate": "12/Nov/19",
"comment": "",
"htmlComment": "",
"executedBy": "",
"executedByUserName": "",
"executionDefects": [

],
"stepDefects": [

],
"testDefectsUnMasked": [

],
"stepDefectsUnMasked": [

],
"executionDefectCount": 0,
"stepDefectCount": 0,
"totalDefectCount": 0,
"executedByDisplay": "",
"assignee": "",
"assigneeUserName": "",
"assigneeDisplay": "",
"canViewIssue": true
}

2 answers

1 accepted

0 votes
Answer accepted

@Mi5trB - Please try using the Zephyr API documentation for getting the Test Step results 

https://zfjcloud.docs.apiary.io/#reference/stepresult/get-stepresult/get-stepresult

Regarding Zephyr for Jira Server:  

Does the Server edition have an equivalent endpoint?

I cannot find test results or step results documented.  What am I missing?

https://getzephyr.docs.apiary.io/#

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Marketplace Apps & Integrations

Bitbucket Smart Commits vs. Genius Commits - What's the difference?

If you already heard about Smart Commits in Bitbucket, know that you just stumbled upon something even better (and smarter!): Genius Commits by Better DevOps Automation for Jira Data Center (+ Server...

114 views 0 2
Read article

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