Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Need help with lambda function

Vanessa Vines
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 9, 2021

Hello

 

I am trying to create automate tickets in Jira using lambda and python, and I am getting this error:

 

[ERROR] Runtime.ImportModuleError: Unable to import module 'lambda_function': No module named 'jira'
Traceback (most recent call last):

 

I am importing jira like:

from jira import JIRA

 

Am I missing something? why this is not working, I am a newbie :) so it may be something that I am just not seeing?

 

Thanks a lot

Vanessa

 

2 answers

0 votes
Reham Adel December 22, 2021

could you please tell me how you solved this problem ?

0 votes
Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 9, 2021

That means that there is no module called Jira to be imported.  This isn't strictly an Atlassian question as they don't (publically or officially) provide any modules for python authors, so you'll need to be looking to the docs for the module(s) you are trying to import.

As a general guide to "module not found", https://pytutorial.com/how-to-solve-modulenotfounderror-no-module-named-in-python got me started when I first ran into it.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events