You’re leaving the account that built the Ops spreadsheet. The bound script still “works” when someone opens the file — menus show up — but the time-driven nightly sync silently stops, or it keeps running as you against a mailbox you no longer watch. Installable triggers are owned by the user who created them. Hand the file to a teammate without a trigger checklist and you’ve orphaned the automation.
This is the transfer version of the cutover story. (If you’re moving bound → standalone, use Move a bound script to standalone without orphaning triggers instead.)
TL;DR
- Installable triggers (time-driven, installable
onEdit/onFormSubmit) belong to the user who created them, not to the spreadsheet - Before handoff: list every project trigger, note handler + type + schedule
- Teammate: open the script, authorize once, recreate the same installable triggers under their account
- You: delete your copies so jobs don’t double-fire
- Simple triggers (
onOpen, simpleonEdit) travel with the file — installable ones don’t
Using the Apps Script editor a lot? NitroGAS drops free themes & snippets right into script.google.com — optional Co-Pilot when you want a boost.
Bound handoff vs “just share the Sheet”
| Piece | What sharing the Sheet does | What you still must do |
|---|---|---|
| Code | Editors can open Extensions → Apps Script | Confirm they have edit access to the container |
| Simple triggers | Travel with the project | Smoke-test onOpen menu |
| Installable triggers | Stay on your user until deleted | Recreate under the teammate, then delete yours |
| OAuth | Their first run prompts their consent | They click Allow; don’t leave it on your identity |
MailApp / personal Drive |
Still their quotas and inbox | Update any hard-coded “alert me” addresses |
What not to do
- Don’t “leave your triggers up for a week as backup” without a calendar reminder — you’ll get double emails and double writes
- Don’t transfer by copying the spreadsheet and forgetting the new copy has no installable triggers
- Don’t assume a Google Group “owner” recreates triggers — a user has to create them while authorized
- Don’t skip listing what’s there; memory lies, especially about the 5am catch-up trigger
Transfer checklist
1. Freeze feature work for a short cutover window
2. Open the bound project → Triggers (clock icon) → screenshot / note every row
(or run a small listTriggers_ helper — see below)
3. Teammate: Extensions → Apps Script → run any function once → Authorize
4. Teammate: recreate each installable trigger (same handler, type, schedule)
5. Smoke-test: menu item + one manual “Run trigger” (or a short test schedule)
6. You: delete YOUR installable triggers on this project
7. Update alert emails / Chat webhooks / Script Properties that still name you
8. Confirm the next scheduled window actually fired (Log tab / Executions)
List what’s installed (so nothing is tribal knowledge)
There isn’t a separate catalog snippet named listProjectTriggers today — ScriptApp.getProjectTriggers() is the API, and delete-triggers-by-handler already walks that list. A read-only dump for the handoff doc:
function listProjectTriggersForHandoff() {
var lines = ScriptApp.getProjectTriggers().map(function (t) {
return [
t.getHandlerFunction(),
t.getEventType(),
// Trigger.toString() is ugly; EventType + handler is usually enough for recreate
].join(' | ');
});
Logger.log(lines.join('\n') || '(no project triggers)');
// Optional: write to a Handoff tab so the teammate has a sheet, not a log
return lines;
}
For cleanup after they recreate, delete by handler name only when you’re sure both of you didn’t create differently named duplicates:
// After teammate confirms their triggers work:
deleteTriggersByHandler('runNightlySync');
deleteTriggersByHandler('onEditInstalled');
Recreate under the new owner
They should create triggers while signed in as themselves, from the project’s Triggers UI or via ScriptApp.newTrigger(...). Match:
- Handler function name (exact string)
- Event type (time-driven vs spreadsheet / form)
- Schedule (every hour at :00, every night at 2am in which timezone?)
- For installable
onEdit/onFormSubmit: the same spreadsheet / form binding
Timezone bites people on handoff. If the script uses Session.getScriptTimeZone() or the spreadsheet timezone, say which one the schedule assumed.
Authorization and “who does MailApp send as?”
After they authorize:
MailApp/GmailAppsend as them- UrlFetch with their OAuth identities uses their tokens
- Quota consumption moves to their account
Update Script Properties like alertEmail, Chat webhook URLs, and any “cc the builder” leftovers before you call it done.
Soft Co-Pilot note
NitroGAS will surface deleteTriggersByHandler and the one-shot / time-driven trigger helpers when you search. Paste your current trigger screenshot text into Co-Pilot and ask for a recreate script under the new owner’s account — then you still click through Authorize and watch one real run. Free core; Co-Pilot is a pass when you want the draft.
Closing checklist
- Every installable trigger listed (handler, type, schedule, timezone)
- Teammate authorized the bound project
- Matching triggers created under their account
- Your old installable triggers deleted
- Alert addresses / properties no longer point at you
- Next scheduled window verified in Executions / Log
Happy Coding!


