CustomField value update from API

Gaurav Srivastava May 27, 2020

I created a Number type custom field on the board and trying to update cards value. I am getting error as "Invalid custom field item value". Sharing screenshot for the same below. Any suggestion what wrong I am doing here?

Error CustomField.JPG

1 answer

1 accepted

0 votes
Answer accepted
Iain Dooley
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 28, 2020

@Gaurav Srivastava the custom fields API is a pretty dark art, if you want a reference implementation you can see my Card.setCustomFieldValue implementation in Trellinator here:

https://github.com/iaindooley/trellinator-libs/blob/master/Card.js#L1401

Gaurav Srivastava May 29, 2020

@Iain Dooley I will try this tomorrow. Will update status here. Thank you Iain :)

Gaurav Srivastava June 4, 2020

@Iain Dooley Thank you for support. It worked well. Attaching screenshot how I did.

 

Capture.JPG

Like Iain Dooley likes this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events