Skip to content
Email yourself daily/weekly/monthly summaries of Lighthouse tickets based on keywords you give it
Find file
New pull request
Pull request Compare This branch is even with Caged:master.
Fetching latest commit...
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


Lighthouse Digest

Use this with launchd to create digest emails for Lighthouse tickets. Example uses:

  • Send a summary of stale tickets to members on your team every week.
  • Get daily summaries of tickets created that day
  • Get daily summaries of tickets closed that day

# Set basic Lighthouse info
# Your lighthouse account name
Lighthouse.account = "activereload"

# Your API Key for this particular project
Lighthouse.token = "YOUR TOKEN" do |digest|
  digest.project_id = 44 # Lighthouse project id
  digest.from = "" # optional
  digest.query = "state:open updated:'three weeks ago - two weeks ago'" # Any valid Lighthouse search
  digest.emails = "," # Who to send this digest too

Here is a typical launchd script to email you once a week. Place this in ~/Library/LaunchAgents/com.lighthouseapp.project.digest.

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "">
<plist version="1.0">

Load it

launchctl load ~/Library/LaunchAgents/com.lighthouseapp.PROJECT.digest

Test it using the label you give it in the plist

launchctl start com.lighthouseapp.PROJECT.digest

Stopping it

If you want to stop this script for good, unload it:

launchctl unload ~/Library/LaunchAgents/com.lighthouseapp.PROJECT.digest
Something went wrong with that request. Please try again.