Hi everyone,
With the the Xray Server/Data Center REST API, I'm looking for a way to get the preconditions associated with a test run. So far I've tried {jiraServer}/rest/raven/2.0/api/testrun/{testRunId}. This returns the steps in the test run, but no preconditions.
The test's preconditions can be fetched with {jiraServer}/rest/raven/1.0/api/test?keys={testKey}, but these preconditions are not necessarily the same as those of the test run. Can anyone help?
Thank you, Tudor
Hi @Tudor Dulau ~ to get preconditions associated with a Test use:
issuetype = 'Pre-Condition'
and key in testPreConditions('key') so you could also save that filter and reference it via REST as:
http://yourserver/rest/raven/1.0/testruns?savedFilterId=Id You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Tudor Dulau , thanks for your post.
If you don't any answers here, please consider to open a support ticket to the vendor - https://marketplace.atlassian.com/apps/1211769/xray-test-management-for-jira?hosting=datacenter&tab=support
Best wishes
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.