How to authenticate when using zapi API? I want to build a java factory to update/build test suites in my jira repository.
Community moderators have prevented the ability to post new answers.
I found this on the web: https://support.getzephyr.com/hc/en-us/articles/203138265-API-Sample-Create-Testcase-in-TCC-Java-
But it does not have example of authentication.
There has to be examples in java how to use ZAPI API
Hi David,
ZAPI requires that all requests overcome a permissions challenge in order to work. This requires every request using ZAPI to include authentication. The easiest ways to do this would be through 'Basic' authorization, seen on JIRA's documentation here:
https://developer.atlassian.com/display/JIRADEV/JIRA+REST+API+Example+-+Basic+Authentication
You can also try OAuth (token based). JIRA includes an example of this here:
https://developer.atlassian.com/display/JIRADEV/JIRA+REST+API+Example+-+OAuth+authentication
ZAPI Python examples of using 'Basic' authorization can be found on our community forum here:
http://community.yourzephyr.com/viewforum.php?f=21
Regards,
Daniel
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.