While I am trying to create test cases using Rest APIs, I am getting errors.
End Point - https://<Jira Server>/rest/api/2/issue/
Payload -
Hi @Siva Barri
It looks like the error message is saying the issue type Test is not a sub-task and you are trying to add a parent to it.
Can you confirm that the Test issue type is a sub-task issue type?
@Tim Perrault If I give like below, I am able to create a sub-task to the parent ticket.
Question:
Do I need to create a sub-task and I need to create a test case against it?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
So the actual problem was you were trying to attach the test issue type as a sub-task. The Test issue type is what would be considered a "parent" issue.
I'm not totally sure what you are trying to do though. Did you create the issue types or are they included with a plugin?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @Tim Perrault , It is already there.
Can you please guide me, how to create a test case for a story in jira ? Any documentation and any example. Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Are you using a plugin for test cases?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Jira Zephyer, we are using to create a test cases.
Currently I am using postman for rest apis. So trying to explore options to create using Rest APIs
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Unfortunately I'm not really familiar with that app. I've added a tag to the question to get more eyes on it.
The only thing I can think of is Link the issues instead of creating a parent / child relationship
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.