Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

access jira via lambda



I have written a small code to access the jira projects through python.

I am using atlassian-python-api.
the code is working perfectly fine while running from pycharm, however when i try to run the same code via AWS lambda the output of the call is redirected to

I have even tried using requests package and calling the jira rest api via following authentication mechanisms
1. by combining the username and apitoken and then using base64 encoding of the string

2. also by using the username and apitoken directly.

In both the situations it is transfering the call to microsoft authentication and returning a html code instead of json data.

Is there something i am missing while running the code from lambda?


from atlassian import Jira
jira = Jira( url='https://jira.companyurl', token=api_token)

for p in jira.projects():


0 answers

Suggest an answer

Log in or Sign up to answer

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you