What are the possible values in the Ticket Versions?

Tim Koschützki's Avatar

Tim Koschützki

13 Nov, 2009 05:48 PM

Hey guys,

when I look at the api docs for "Get Ticket - GET /projects/#{project_id}/tickets/#{number}.xml" i can see that it lists all the versions for a ticket, ie the ticket updates. There is the attribute "diffable-attributes" or something.

It isn't documented very well. What possible contents can there be in this field?

Thank you

  1. 1 Posted by Rick on 13 Nov, 2009 07:37 PM

    Rick's Avatar

    The field is a read-only hash of the differences between the given comment and the one just before it.

  2. 2 Posted by Tim Koschützki on 14 Nov, 2009 03:03 AM

    Tim Koschützki's Avatar

    Yeah I figured that. But the question was, what contents can it contain. When I first imported a ticket, the versions contained :assigned_user_id:< some_id >, for some rows. I would like to have some documentation on all types of contents this field can contain.

  3. 3 Posted by Rick on 14 Nov, 2009 03:15 AM

    Rick's Avatar

    The possible keys are: `tag`, `state`, `assigned_user`, `title`, and
    milestone`. `assigned_user` and `milestone` show ID values that can
    be retrieved. You can get them by accessing:

        http://ACCOUNT.lighthouseapp.com/projects/123/milestones/123.xml
        http://ACCOUNT.lighthouseapp.com/users/123.xml

    There's nothing set here that you can't get from looking at the
    previous comments of the ticket, however.

  4. 4 Posted by Tim Koschützki on 14 Nov, 2009 10:10 AM

    Tim Koschützki's Avatar

    Alright, thanks rick.

  5. Rick closed this discussion on 16 Nov, 2009 06:44 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