Any way to have default LH field values for github integration?

Nick's Avatar


12 Apr, 2011 04:51 PM

Was wondering if there is any way to specify default LH values when using github integration. For instance, if a developer commits a fix for a particular ticket and sets the state to resolved, 99% of the time here (depending on the project), we know that the responsible person should be changed to our QA person. Also, a majority of the time, if a commit is pushed for a bug, that bug can likely be moved to a resolved state. Is there any way to specify default values for a ticket that would get set on a commit without having to explicitly specify them in the commit?

  1. 1 Posted by Nicole on 12 Apr, 2011 05:02 PM

    Nicole's Avatar

    Yes, you can set keyword states in the commit message like so:

    gca "[#1256 state:committed] this thing is good to go"

    Let me know if you have any other questions.


  2. Nicole closed this discussion on 12 Apr, 2011 05:02 PM.

  3. Nick re-opened this discussion on 12 Apr, 2011 05:08 PM

  4. 2 Posted by Nick on 12 Apr, 2011 05:08 PM

    Nick's Avatar

    Thanks for your response, Nicole. I was wondering about defaulting values that can be set in the commit message though. For instance:
    [#1000 state:resolved responsible:jim] This would move ticket 1000 to a resolved state and assign it to Jim. But what if I know that any time a ticket is specified in a commit, that it should be moved to resolved and assigned to Jim? Was wondering if there was any way to set these kinds of defaults so that the tags could just be:
    [#1000] And have LH just assume for us that we want it to also be marked as resolved and assigned to Jim.

  5. 3 Posted by Nicole on 12 Apr, 2011 05:31 PM

    Nicole's Avatar

    Nick -

    No, unfortunately what you are asking for isn't possible. We'd need the keywords to indicate the action you want to take on the ticket. The ticket number by itself only tells Lighthouse which ticket to associate the commit message with.


  6. Nicole closed this discussion on 15 Apr, 2011 07:09 PM.

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

Keyboard shortcuts


? 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