Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JIRA Backend Doesn't support JIRA API located at /projects/ instead of /browse/ #163

Open
abramhindle opened this issue Apr 6, 2016 · 0 comments

Comments

@abramhindle
Copy link

Use Bicho HEAD c383992

File "/usr/local/lib/python2.7/dist-packages/bicho/backends/jira.py", line 941, in run
project = self.url.split("/browse/")[1]

bicho \
>     --db-database-out=clover \
>     --db-user-out XXXX \
>     --db-password-out XXXX  \
>     -d 3 -b jira \
>     -u "https://jira.atlassian.com/projects/CLOV"
Checking URL: https://jira.atlassian.com
No account provided.
Running Bicho with delay of 3 seconds
No account data provided. Not logged in Jira
Traceback (most recent call last):
  File "/usr/local/bin/bicho", line 25, in <module>
    retval = bicho.main.main()
  File "/usr/local/lib/python2.7/dist-packages/bicho/main.py", line 56, in main
    backend.run()
  File "/usr/local/lib/python2.7/dist-packages/bicho/backends/jira.py", line 941, in run
    project = self.url.split("/browse/")[1]
IndexError: list index out of range

Where as the following works just fine.

bicho \
>     --db-database-out=clover \
>     --db-user-out XXXX \
>     --db-password-out XXXX  \
>     -d 3 -b jira \
>     -u "https://jira.atlassian.com/browse/CLOV"
Checking URL: https://jira.atlassian.com
No account provided.
Running Bicho with delay of 3 seconds
No account data provided. Not logged in Jira
Tickets to be retrieved: 1495

But the REAL URI is https://jira.atlassian.com/projects/CLOV not https://jira.atlassian.com/browse/CLOV

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant