Forums

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

Adding Test cases to Jira Test Run or Test Execution

Lahiru Wijesinghe February 19, 2019

Hi all,

I just wanted to know whether we can add test cases to a test run through JIra Rest API .I was able to add sub tasks too but couldn't find a proper way to add test cases.

 

Thanks

/Lahiru

2 answers

1 vote
Raja Shekher Kammara
Contributor
February 19, 2019

Hi Lahiru,

This has been discussed here - https://community.atlassian.com/t5/Jira-questions/Test-Case-step-status-update-via-REST/qaq-p/729221

Please take a look.

Hope this helps.

 

Warm Regards,

Raja

Lahiru Wijesinghe February 19, 2019

@Raja Shekher Kammara ,

Thanks a lot,Will go through it.

 

/LahiruW

Lahiru Wijesinghe February 19, 2019

Hi @Raja Shekher Kammara ,

One more small question , what would be the request URL then ?

 

/Lahiru

Raja Shekher Kammara
Contributor
February 19, 2019

Hi Lahiru

You must use the REST API  something like below

For example for Xray Add-on: /rest/raven/1.0/import/execution

 

hope this helps!

 

Warm Regards,

Raja

Lahiru Wijesinghe February 19, 2019

Yes i'm using Rest API , But i wanted is the Base URL ?? Such as where to mention TestRun Key , and where to mention Test Case ket etc. Any way i'll try to find it .

/LahiruW

Lahiru Wijesinghe February 19, 2019

Thanks a lot @Raja Shekher Kammara 

 

/LahiruW

Lahiru Wijesinghe February 21, 2019

Unable to resolve it yet  :-(

0 votes
Lahiru Wijesinghe February 20, 2019

Hi All,

Isnt there a way to assign a test case to a test run using REST url like below other than xray ?

/rest/api/2/issue/createmeta

 

/LahiruW

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events