Code created to create a pluginData with javascript:
const addNewReport = (trello, report) => { getReports(trello).then(function (reports) { reports.push(report);
trello .set('card', reportsVisibility, reportsKey, reports) .then(function () { trello.closeModal(); }) .catch(function (error) { console.log(error); alert("Ocorreu um erro, por favor tente novamente mais tarde"); });
});}
I am creating a power-up to make it easy to point tasks in my: company code in git: https://github.com/washingtonsampaiovieira/Reports-helper
I could not find a way to upgrade or delete a power-up in the documentation.
Hey there,
If you're running into trouble with your code, I'd suggest reaching out over on our dev forums here: https://community.developer.atlassian.com/c/trello
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.