Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Trellinator quick start crash: 'this.notification.action' returns undefined

Edited

Hi, I'm walking through the Trellinator quick start but ran into an error. Even when the bot is on my board, and I'm commenting from a different account, I don't get a response like I should from helloWorld.
https://community.atlassian.com/t5/Marketplace-Apps-Integrations/Introducing-Trellinator-Automate-Trello-with-Google-Apps-Script/ba-p/925271

This is what I see in InfoLog

["helloWorld executing from queue...","Error executing function: TypeError: Cannot read property 'memberCreator' of undefined\n\nTypeError: Cannot read property 'memberCreator' of undefined\n at Notification.member (apps/trellinator-libs/Notification:1060:70)\n at helloWorld (Commands:10:12)\n at processQueue (apps/trellinator/TrigAccessible:55:43)\n at __GS_INTERNAL_top_function_call__.gs:1:8","helloWorld executing from queue...","Error executing function: TypeError: Cannot read property 'memberCreator' of undefined\n\nTypeError: Cannot read property 'memberCreator' of undefined\n at Notification.member (apps/trellinator-libs/Notification:1060:70)\n at helloWorld (Commands:10:12)\n at processQueue (apps/trellinator/TrigAccessible:55:43)\n at __GS_INTERNAL_top_function_call__.gs:1:8"]


Here's the offending code:

/**
* Return the Member object who initiated this
* notification. Since all notifications are at
* the board level, this will always return
* a valid Member object
* @memberof module:TrellinatorCore.Notification
* @Example
* var notif = new Notification(posted);
* var comment = notif.member().name()+" dug a hole");
* notif.card()
*.postComment(comment);
*/
this.member = function()
{
if(!this.member_object)
this.member_object = new Member(this.notification.action.memberCreator);

return this.member_object;
}

Has anyone else encounter this? thanks in advance.

1 answer

0 votes

Hello!  Has this been fixed on your end?  Thanks!

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Trello

📹 Favorite Trello templates

Hello Community!  My name is Brittany Joiner and I am a Trello enthusiast and Atlassian Community Leader. In this video, I'll share my favorite Trello templates. Templates mentioned in ...

3,638 views 25 63
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you