0

I am fairly new to Python and I am trying to use the jira-agile-metrics package to get metrics from our Jira project. As I read the documentation for the jira-agile-metrics, the instruction is to use the Python command line. After installing the package successfully, whenever I try any the commands listed in the documentation, I get the error message "name 'jira' is not defined.', starting by a single jira-agile-metrics --help command.

I checked the directory where the package is installed, checked also the yaml config file location that I created, and it seems that everything is in place correctly.

Can someone give me some direction on what I am missing? Is it possible to use an IDE with this package instead of the command line?

Here is the documentation: https://pypi.org/project/jira-agile-metrics/#description

Any help would be greatly appreciated.

Thank you! Here is the screenshot of the error: jira-agile-metrics_notdefined_error

I also tried this: jira-agile-metrics_notdefined-help

Betabr
  • 17
  • 9
  • Did you reload your console after the `pip install jira-agile-metrics` command? – Marcelo Paco Mar 31 '23 at 21:17
  • Hi, @MarceloPaco. – Betabr Mar 31 '23 at 21:26
  • Hi, @MarceloPaco. I tried .reload() but I got the same error. I also tried to run it in the iPython Console in my Spider IDE, which has as settings to Enable UMR checked (User Module Reloader), but it didn't work either. Any thoughts? – Betabr Mar 31 '23 at 21:32
  • I am not using docker as it is an option stated in the documentation. – Betabr Mar 31 '23 at 21:37
  • How are you installing `jira-agile-metrics`? I just followed the instructions on the document you linked and got `jira-agile-metrics --help` command working. Also, what is your version of python? – Marcelo Paco Mar 31 '23 at 21:40
  • My python version is 3.8.10. I installed the package with pip - "pip install jira-agile-metrics" – Betabr Mar 31 '23 at 22:38
  • Can you add to your question the error code you got instead of your typed one? – Marcelo Paco Mar 31 '23 at 22:40
  • Hi @MarceloPaco, I attached a screenshot. Could it be something related to the pythonpath? – Betabr Apr 03 '23 at 15:23
  • The `jira-agile-metrics` command can't be used in an `Ipython` console. It can be used in `command prompt` (windows) or in a `terminal` (linux). – Marcelo Paco Apr 03 '23 at 16:44
  • @MarceloPaco, both in command prompt and terminal I get the same thing. Not sure at this point, but I am investigating if it might be related to the path. – Betabr Apr 04 '23 at 19:58

0 Answers0