Executing a testcase from zephyr for jira

We have just purchased Jira with the Zephyr for Jira add-on. I am looking into integrating Test Case management with our Hudson server. I have created a project and added test cases to that product. I would now like to associate an actual test with that test case and trigger that test on my Hudson server, then update the results on Jira. I assume that Zapi 1.0 can be used to update the test results on the Jira server.

Can I trigger a test to Execute from Test case management? I am not referring to marking the test "Pass/Fail", but actually scheduling a command to run that could trigger starting a test on the Hudson server? If so, are there any additional add-ons required?

I have seen responses to this question, but not sure if new functionality was added for the latest releases of Jira/Zephyr for Jira/Zapi.

2 answers

1 accepted

This widget could not be displayed.

Hi Jan,

To start off, neither Zephyr for JIRA or ZAPI integrate with automation tools. What is offered through ZAPI, however, is the ability to leverage web-services API to add and edit entities in Zephyr for JIRA through a coding language.

There is no way built into Zephyr for JIRA to associate a test to an outside test case. However, you can update test results in Zephyr for JIRA via ZAPI. Finally, no scheduling capabilities exist currently.

What you may be looking for is a CI implementation where you create, run, and update the tests all in one go from a outside program you have created. The below blog link may help better understand this idea.

See our previous ZAPI webinar here:

http://blogs.yourzephyr.com/?p=3106

Regards,

Daniel

This widget could not be displayed.

Hi Jan,

I would probably write a script to

1. Change the testcase status through ZAPI to 'In progress'.

2. Use Remote build feature on jenkins to trigger the test of interest on jenkins

3. Update the test result from Jenkins to Jira through ZAPI to pass/fail etc.

Hope this helps.

Regards,

Anand.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Aug 22, 2018 in Marketplace Apps

How a Marketplace app tech team is achieving gender diversity

Hello! My name is Genevieve Blanch, and I'm the Marketing Manager at RefinedWiki, creators of apps to give teams the tools to customize Atlassian platforms. Currently, 44% of the tech team at Re...

512 views 3 18
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you