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

Using REST API import Jira Xray execution without tests!?

Hiep Vu November 15, 2022

Hi all,

I wonder if there is any way to import Jira Xray execution using Rest API. I tried to do it several times but it return HTTP status 200 without a real created issue. Can anybody explain it to me? I don't know what to do in this case, should it be prevented or does this function goes wrong?

Thank you and have a good day,

Vu Hoang Hiep

1 answer

1 accepted

0 votes
Answer accepted
Stefan Salzl
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 17, 2022

Hi @Hiep Vu Hoang 

could you describe in more details what and how you are trying to import?

In general it‘s possible to import eg. results of several test automation frameworks.

Best
Stefan

Hiep Vu November 20, 2022

Hi @Stefan Salzl

Sorry for my late reply.
In my special cases, the response time for all of my steps is taking too much time I want to reduce waiting for response time by pushing the information about execution without tests first, then updating that execution later. So does Jira Xray have an endpoint to do it or Jira API is the only way to create execution without tests?

Thank you,

Hiep Vu

Stefan Salzl
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 20, 2022

Hi @Hiep Vu Hoang 

As test execution (in xray context) is handled as standard jira issue using the Jira API would be your choice if you´d like to first create the issue itself (as a container) and then afterwards using the xray api to import results in this execution. Personally I´m using this way in a github pipeline I built.

Best
Stefan

Like Hiep Vu likes this
Hiep Vu November 20, 2022

Thank you @Stefan Salzl for the information

Like Stefan Salzl likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
atlassian, team '25, conference, certifications, bootcamps, training experience, anaheim ca,

Want to make the most of Team ‘25?

Spend the day sharpening your skills in Atlassian Cloud Organization Admin or Jira Administration, then take the exam onsite. Already ready? Take one - or more - of 12 different certification exams while you’re in Anaheim at Team' 25.

Learn more
AUG Leaders

Upcoming Jira Events