How to add test case or test to Test execution in Jira using Jira rest api programatically in java? I searched in many sites not able to find an answer Can anyone please help me out?
Jira doesn't not provide test cases or test support out-of-the-box. Are you using an add-on (e.g., Zephyr, XRay, T4J)?
Hi Derek,
As per my knowledge Jira software has the option to create an issue of type Bug, Test, Test Execution. I want to do it programatically. Do we have any API like Jira Rest Api provided by to create an issue of type Test Execution and adding the test to test execurion?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can create an Issue with an Issue Type of Test or Bug or Test Execution. These are just issue types and have no built in support for actual testing. They are issue types the way Incident or Story or Task are issue types, with screens and workflows.
That said, there is a REST API to create an issue in Jira. It is different depending on whether you Cloud or Server. You can see the REST documentation at https://developer.atlassian.com/server or https://developer.atlassian.com/cloud depending on which you need.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Bindhu, I have the same problem as you and I found this documentation very helpful https://confluence.xpand-it.com/display/public/XRAY/Test+Executions+-+REST but still i didn't know how to use it.
It's confusing the request to view the tests of a test execution is the same as the request to add a test set to a test execution. Also where do I put the test key that I want to add to the test execution
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.