Trying to add a simple Date popup

Dimitris Karazachos April 6, 2020

Hello, I try to add a date type popup for my custom power up.

I get the error:

PluginRunner::NotHandled: attempt to run callback on plugin

My code example for the client.js is :

var Promise = TrelloPowerUp.Promise;

var GRAY_ICON = 'https://cdn.hyperdev.com/us-east-1%3A3d31b21c-01a0-4da2-8827-4bc6e88b7618%2Ficon-gray.svg';

TrelloPowerUp.initialize({
'card-buttons': function (t, options) {
return [{
icon: GRAY_ICON, // don't use a colored icon here
text: 'Start Date',
callback: cardButtonCallback
}];
}
}, {
appKey: 'your_key_here',
appName: 'My Trello App'
});

var cardButtonCallback = function (t) {
return t.popup({
type: 'date',
title: 'Start Date',
callback: function(t) {}
});
};

 

1 answer

0 votes
Garrett
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 10, 2020

Hi Dimitris,

I'd instead recommend posting this over in our developer community: https://community.developer.atlassian.com/c/trello

Our engineers keep an eye out there, and they or any champions would be happy to help you out with this.

I hope that helps point you in the right direction!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events