How to update the options in a custom list?

Is there a way to populate a custom list using either REST API or python library? I looked around and the closest solution was “Update Custom Field Options”, but that does not append new values, only update existing options.

I’m sure I missed something, just need someone to point me in the right direction.

Welcome to the Atlassian developer community @MikeChu,

I think if you just kept reading for one more endpoint, you would have found Create custom field options where you POST /rest/api/3/field/{fieldId}/context/{contextId}/option to create a new option. Or, you might have been looking at the Jira Server documentation, where this endpoint does not exist, nor any endpoint to add or update options.

Thank you, that was exactly what I needed!