Trying to use the Python JIRA package and its not working for me.
Hoping someone here has an answer.
Using this import statement
from jira import JIRA
Import resolves to its containing file
What am I doing wrong here?
Refer the atlassian developer page https://developer.atlassian.com/ to use python in jira
You have to use import requests
Prasam, the original post is about using the Jira Python library, not using requests. The former makes it easier to access Jira remotely.
Harry, the problem you are having is with installing a Python library and using it. Not directly related to Jira or that library.
I find I use "python3" instead of "python" to make sure I am picking up the correct Python version when doing "pip install jira". And also when I start a Python shell. Then the example at https://jira.readthedocs.io/examples.html#quickstart should just work as expected
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I use pycharm IDE. Tried to uninstall and reinstall with no success.
all other libraries install and work fine when using pip from the terminal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Which version are you using, how did you install it and how are you running it?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
pip install JIRA
Python 3.11
can't get by the coding without an error
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I'm not totally sure that you are seeing the problem here. I have no issues with the requests, but with importing and using the jira module in Python.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Harry Melamed you can use
jira import JIRA
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Once again, I'm not sure you are paying attention here. I have tried that and posted the error that I'm seeing in my Pycharm UI.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This can be fixed by running the command like this
python3 -m pip install <package name>
If this is not the case, you may have to go in and start manually installing all dependencies if this is not being done automatically. This can happen if it was installed like pip install --user <package name>
to my knowledge.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.