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

how to update a pluginData field from a card with obj trello or the API

Washington Sampaio January 2, 2020

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.

1 answer

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

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

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events