Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

JIRA API - Create Issue with for issue type as 'Test' for that how to add multiple line test steps

Mohan Kumar November 3, 2022

By using create issue API I am creating a test case in JIRA, but facing problem with adding the test steps multiple line test steps it has three sub fields Action, Data and Expected result and for adding new steps what is the procedure.

jira.create_issue(project={'Key' : 'ABCD'}, summary ='dummy test', issuetype = {'name' : 'Test'}, Steps = "How to add multiple steps with subfields)

 

Please guide me to add steps in create issue for test cases.

1 answer

1 accepted

1 vote
Answer accepted
Alex Koxaras -Relational-
Community Champion
November 3, 2022

Hi @Mohan Kumar D and welcome to the community,

Are you using Zephyr or Xray for the tests? If not mistaken, each of these apps have their own REST API and documentation, which may guide you on how to add steps.

Mohan Kumar November 3, 2022

Hello @Alex Koxaras -Relational-

I am using Xray plugin.

Alex Koxaras -Relational-
Community Champion
November 3, 2022

@Mohan Kumar D here you can find their REST API, which includes the create steps endpoint.

https://docs.getxray.app/display/XRAY/v2.0

Like Mohan Kumar likes this
Mohan Kumar November 3, 2022

Thank you very much @Alex Koxaras _Cententia_

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events