These are chat archives for coddingtonbear/jirafs

Jul 2015
J Alan Brogan
Jul 27 2015 09:14
Cannot clone tickets, seemingly because our URL is not one you expect, we use http://my.jira.server/jira/browse instead of http://my.jira.server/browse/...
$ jirafs clone
Traceback (most recent call last):
  File "/home/alanb/bin/jirafs", line 11, in <module>
  File "/home/alanb/lib/python2.7/site-packages/jirafs/", line 86, in main
    extra, jira=jira, path=os.getcwd(), command_name=command_name
  File "/home/alanb/lib/python2.7/site-packages/jirafs/", line 172, in execute_command
    result = cmd.handle(**kwargs)
  File "/home/alanb/lib/python2.7/site-packages/jirafs/commands/", line 37, in handle
    return self.clone(path, ticket_url, jira)
  File "/home/alanb/lib/python2.7/site-packages/jirafs/commands/", line 175, in clone
  File "/home/alanb/lib/python2.7/site-packages/jirafs/commands/", line 44, in clone_from_issue
    folder = TicketFolder.initialize_ticket_folder(ticket_url, path, jira)
  File "/home/alanb/lib/python2.7/site-packages/jirafs/", line 443, in initialize_ticket_folder
    (instance.ticket_number, instance.path, )
  File "/home/alanb/lib/python2.7/site-packages/jirafs/", line 216, in ticket_number
    "Could not infer ticket number from URL %s" % self.issue_url
ValueError: Could not infer ticket number from URL
J Alan Brogan
Jul 27 2015 10:05
Tried to adapt the code, but the assumption that the URLs' prefix is just "server" seems too deeply embedded.
I shall create a GitHub issue