Ask a Question

Python Example to retrieve information via REST API

SOLVED
zeigerr
Occasional Contributor

Python Example to retrieve information via REST API

Hi,

 

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

 

Best regards,

Raphael

2 REPLIES 2
mattb
Staff

Hi,

@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-...

Best,
Matt  

zeigerr
Occasional Contributor

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.

cancel
Showing results for 
Search instead for 
Did you mean: