Import multiple tickets at once

Adam Neary's Avatar

Adam Neary

22 Feb, 2011 01:21 AM

I have been trying to import a list of our existing tickets into lighthouse since we just migrated today. I have an xml file with all our tickets, and I have tried to post the list to /projects/#{project_id}/tickets.xml as the API documentation specifies. Unfortunately, it only seems to work when I am posting 1 ticket at a time.

Am I doing this wrong? Am I not able to post an actual xml file with hundreds of tickets at once?

  1. 1 Posted by Hobson on 02 Mar, 2011 06:18 PM

    Hobson's Avatar

    Hi Adam,

    The Lighthouse API only supports creating a single ticket per POST. This is mostly related to the issue of error reporting. The API is for software integration, and it's much easier to properly handle validation and exceptions downstream when you're posting tickets one at a time.

    Hope this helps,

    -hobson

  2. Hobson closed this discussion on 02 Mar, 2011 06:18 PM.

Discussions are closed to public comments.
If you need help with Lighthouse please start a new discussion.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac