Skip to main content

Command Palette

Search for a command to run...

Tiny Elf - Transferring ownership of automated triggers

Instructions

Updated
•2 min read
Tiny Elf - Transferring ownership of automated triggers

Three years after writing the original version of Tiny Elf, a new requirement has come up for me to transfer ownership of automated triggers. So this is just a blog post with some boring instructions 🤗

Tiny Elf runs on a time-driven trigger. Unfortunately, the script run by one user does not have the permission to delete triggers set by another user. Thus, the original owner of the trigger needs to delete the trigger they have set up.

Original Owner - Deleting the trigger

This needs to be done by the person who has triggers currently automating Tiny Elf.

  1. Open your Tiny Elf Spreadsheet

  2. Go to the Tiny Elf menu and click on Delete trigger (Pauses automated notifications)

  3. Once the trigger is successfully deleted, you should get a notification saying Trigger has been deleted.

Original Owner - Verifying if your trigger is deleted

  1. Open your Tiny Elf Apps Script project.

    • This can be done by going to your Tiny Elf Spreadsheet.

    • Click Extensions → Apps Scripts

    • Then Tiny Elf - Rostering bot Apps Script project will open in a new window.

  2. On the left, click Triggers alarm. You should see any triggers you set here.

  3. You should not see any scripts Owned by Me. That’s SUCCESS! 💪

  4. If you do see any such triggers, click on the meatball menu and hit Delete trigger

    New Owner - Setting up automated notifications

    1. If you have been pointed at a Tiny Elf Spreadsheet and asked to take ownership of its triggers, the first step is authorising Tiny Elf. Do this by clicking on the Tiny Elf menu → Authorise Tiny Elf.

  1. Click OK on the next pop-up.

  2. Choose an Account in the next pop-up.

  3. Click Continue

  4. Select All in the next screen and click Continue at the bottom of the screen.

  5. You should see a success message. Click OK

  6. You should now see the full Tiny Elf menu with four menu items.

  7. Verify your trigger settings in the Settings sheet.

  8. Click Set/reset automated trigger in the Tiny Elf menu.

  9. You should get a message saying Success - Trigger has been set\reset. Click Ok.

    Congratulations! That’s it. You have now transferred ownership of the automated trigger to yourself. 🌟