Issue #7 invalid

Not getting all ticket types

Anonymous created an issue

Hi,

When i run the script:

!/usr/bin/python

import xmlrpclib server = xmlrpclib.ServerProxy("http://user:pass@localhost/projects/project/login/xmlrpc")

print the content of WikiStart

print server.ticket.type.getAll()

It shows me ony:

['task']

But I have other types of tickets.

In integration with Eclipse, the same goes. I welcome any help. Thanks!

Comments (2)

  1. Tetsuya Morimoto repo owner

    Is this ticketrerf-plugin issue? I tried to request via xmlrpc, it's working. Why don't you upgrade latest version for each plugin?

    >>> from xmlrpclib import ServerProxy
    >>> p = ServerProxy('http://id:password@myserver/project/login/rpc')
    >>> p.system.getAPIVersion()
    [1, 1, 2]
    >>> p.ticket.type.getAll()
    ['defect', 'enhancement', 'task']
    
  2. Log in to comment