Bulk addition of custom field options

Hi All,

I want to add more than 100 options for a custom field (type enum). Instead of adding one by one, can we do bulk addition. Any help on this.

 

Thanks in Advance

0
1 comment
Official comment

Hi!

I'm Sergey from the YouTrack team.

Bulk adding can be either done via REST or Workflow API. For the former, there's a ready-to-use example. For the latter, you can get values of the field using the BundleProjectCustomField object and add new values via a createValue() method. If you are not familiar with the workflow functionality, please refer to our tutorial.

 

Please sign in to leave a comment.