The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Answer accepted
Iain Dooley
Community Champion
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
TAGS
AUG Leaders

Atlassian Community Events