Modify

Opened 4 years ago

Last modified 15 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

Description

Hi

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.

Paul

Attachments (1)

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

Download all attachments as: .zip

Change History (2)

Changed 4 years ago by paul@…

logging

comment:1 Changed 15 months ago by ddt101@…

Hi.

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.

Thanks!

Add Comment

Modify Ticket

Action
as new .
Author


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

 
Note: See TracTickets for help on using tickets.