I have been using the Atlassian Python api library now for a couple of years on our Cloud instance and have managed to make it work quite well.
We are going to migrate to the Datacentre version so I have just tried the same code on there and it does not work.
I created a token and it seems to authorize me ok but whenever I use any class methods of the jira object it comes back with:
HTTPError: Unauthorized (401)
I can see the project and do the same search from my browser window. Does anyone else have experience of using this Library on a data centre Jira instance?
https://atlassian-python-api.readthedocs.io/jira.html#get-issues-from-jql-search-result-with-all-related-fields