HTTPError with Xray

Alfonso Alarcon June 2, 2022

Hi,

I am following this document:

https://atlassian-python-api.readthedocs.io/xray.html#manage-test

Because our team needs to do some actions of an automated way with Python.

More in detail, we need to work with the Xray module.

The problem is that with all the credentials that we have available it is not possible to access to the methods of the Xray module. 

The error shown is:

    raise HTTPError(error_msg, response=response) requests.exceptions.HTTPError

It is important to mention that with the same credentials there is not problem to work with the Jira module.

The call is the following:

xray = Xray(
    url='https://thecompany.atlassian.net',
    username=username,
    password=api_token)

 

0 answers

Suggest an answer

Log in or Sign up to answer