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

Trying to add a simple Date popup

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 Apr 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
Community showcase
Published in Trello

Develop a new Habit during Lockdown

If you had to thrive a new habit during a lockdown, what would it be? Trello

1,622 views 15 6
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