Email Notifications upon ticket creation from api?
Is it possible to have everyone on the team notified when a ticket is created in a project via the api?
Brian
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
1 Posted by towski on 24 Apr, 2009 04:49 AM
Hey Brian, it's possible but not documented yet. Let us run some tests and get back to you.
Matt
2 Posted by Rick on 24 Apr, 2009 05:36 AM
I did a little testing, and yes it is possible -- completely by accident. I've documented the api calls. However, the ActiveResource library that our ruby API uses is a little inflexible, so setting multiple watchers is a little more more difficult than it should be. The following is what the API will be once I deploy a minor tweak to make things easier. The
notify-allattribute below will work fine, butmultiple-watcherswill be different. The deployment should happen either tomorrow or over the weekend.If you're using the ruby lighthouse api:
If you're using xml, here's what your ticket request would look like:
In JSON:
Eligible watchers include all project members except for the people already watching the ticket. If you try to add a user id from someone that's not part of the current project, the user_id will be silently ignored.
3 Posted by bburridg on 24 Apr, 2009 01:29 PM
That looks great and easy to use. Could you notify me when you do the deploy?
Thanks, Brian
On Fri, Apr 24, 2009 at 1:36 AM, Lighthouse Support < [email blocked]> wrote: