Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

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

FullSpareDice
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 10, 2020

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
Tracy Garcia
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 24, 2021

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

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events