Opened 5 years ago

Last modified 22 months ago

#7007 new defect

Importing tickets fails

Reported by: paul@… Owned by: thijs
Priority: normal Component: JiraToTracIntegration
Severity: normal Keywords:
Cc: Trac Release: 0.11



I"m trying to import from a Jira(3.2.2) into Trac. It is able to import a few components, priorities but completely fails on the tickets. The readme states that I should use patched version of the xmlrpc plugin. I wasn't able to apply the patch on the current trunk of xmlrpc or the 0.10 tag. In the patch it looks like it is supposed to be applied on the 5830 rev but before I look further into this I'd just like to check if I'm on the right track. I might just be missing something else of course.

I've attached some logging output to this ticket. It's the non verbose version.


Attachments (1)

output.txt (3.0 KB) - added by paul@… 5 years ago.

Download all attachments as: .zip

Change History (2)

Changed 5 years ago by paul@…


comment:1 Changed 22 months ago by ddt101@…


Any update on this ticket?? I am getting exact same issue. I've added some debug info.

INFO:root: 6869 Issues... DEBUG:root:Ticket create with summary=[Searching resource fow Jira Installation],description=[Test ticket description],time=[2009-11-19 12:35:47],attr=[{'status': 'Closed', 'reporter': 'rfournier', 'resolution': 'Fixed', 'component': 'Jira Installation', 'priority': 'Minor', 'owner': 'rfournier', 'type': 'Task'}] ERROR:root:A fault occurred! ERROR:root:Fault code: 1 ERROR:root:Fault string: datetime.datetime' object has no attribute 'iteritems while executing 'ticket.create()'

I noticed that the API published on the XML RPC Plugin doesn't have the date as a parameter. Unfortunately I can't find any documentation on what the supported list of attributes is: int ticket.create(string summary, string description, struct attributes={}, boolean notify=False) Create a new ticket, returning the ticket ID.


Add Comment

Modify Ticket

as new The owner will remain thijs.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.