You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Run py script in jirashell, it's show Exception: jira is not defined, but when I use globals().update(locals()) to merge locals variables into globals, the jira client go on.
May it's a bug or not?
Is there an existing issue for this?
I have searched the existing issues
Jira Instance type
Jira Cloud (Hosted by Atlassian)
Jira instance version
No response
jira-python version
3.5.2
Python Interpreter version
3.11.6
Which operating systems have you used?
Linux
macOS
Windows
Reproduction steps
1.Prepareapythonfile`jira_export.py`, andcontain`print(jira.issue)`code.
2.Runjirashellinto3.Run`with open('jira_export.py') as f: exec(f.read())`4.Showerror`Exception: jira is not defined`5.Run`globals().update(locals())`6.Printthejira.issueobject
Bug summary
Run py script in jirashell, it's show
Exception: jira is not defined
, but when I useglobals().update(locals())
to merge locals variables into globals, the jira client go on.May it's a bug or not?
Is there an existing issue for this?
Jira Instance type
Jira Cloud (Hosted by Atlassian)
Jira instance version
No response
jira-python version
3.5.2
Python Interpreter version
3.11.6
Which operating systems have you used?
Reproduction steps
Stack trace
Expected behaviour
Not throw exception.
Additional Context
No response
The text was updated successfully, but these errors were encountered: