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

Setting custom Field value when adding a card

Is there any way that we can set a custom field value at the time that a card is placed on the board?  Currently, I've

 

1) written a bit of code that will identify a custom field on a board by the name of the custom field (why isn't this an option via that API or am I missing something?) 

2) Then go back through all of the cards that I have posted to the board and update the custom field value for each one. 

It just seems pretty round-a-bout the way that I had to go about this.  I'm hoping (guessing) that I'm missing something when it comes to the way that Custom Fields work via the API because this just seems really convoluted to me.

1 answer

0 votes
Iain Dooley Community Leader Mar 30, 2020

@Rob Schaerer yep the custom field value API is pretty intense. You can access them via Butler though, for example:

2020-03-31 at 10.52 am.pngTrellinator also wraps the custom fields API some friendlier functions, here's the equivalent Trellinator function for the above command:

https://gist.github.com/iaindooley/d5d9599fc1ddb96128a954bec2e67c38

You can read more about Trellinator here:

https://community.atlassian.com/t5/Marketplace-Apps-Integrations/Introducing-Trellinator-Automate-Trello-with-Google-Apps-Script/ba-p/925271

Yeah, I love Butler but I was surprised to learn about the limitations that it has on the number of runs and overall operations.  For even a small team I was going to be running into the monthly limit very quickly.  

 

I'm going to have to look over your Trellinator script again Ian.  Thanks!

Like Iain Dooley likes this

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,569 views 13 5
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