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

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

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 Jan 06, 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
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,499 views 12 4
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