Python Example to retrieve information via REST API
I am looking for a python code example to access the Zephyr REST API.
Expecially how authenification is done. Currently I get 401 response.
The version I am using is:
Zephyr for Jira - Test Management for JIRA (Server) 6.1.1
Solved! Go to Solution.
@hkim5 posted an integration with TestComplete, SmartBear's UI functional testing tool, using the Zephyr Rest API.
The script is in Python: https://community.smartbear.com/t5/TestComplete-General-Discussions/TestComplete-and-newly-released-...
Hi Matt, thanks a lot for the direction/information.
I currently have found a python project (mentioned by atlassian) which works for me to extract data. Also the module seems to have a lot of feature and I do not understand it completely. Also as an authenitfication method I have to provide my domain password, I have not managed to run it with a autentification token.
But meanwhile I have wriiten a 20-line perl script which uses plain curl invokations to retrieve and upload data using the ZAPI REST API.
Since this worked better understandable for me I am going to use plain GET/POST resquests using curl.exe on windows.
I will mark this question as answered. Thanks for your help.