[Resolved] How to add multiple values to a Set?

Hello,

This guide explains how to add a value to a set. Is it possible to add multiple values to a set in a single POST request?

Thank you.

0
2 comments
Official comment

Hi!

I'm Sergey from the YouTrack team.

Alternatively, you can post the whole set of values, thus fully replacing the existing one. See the example here: https://www.jetbrains.com/help/youtrack/devportal/operations-api-admin-customFieldSettings-bundles-enum.html#update-EnumBundle-method-sample. However, note that given that it replaces the previous values, any values set in issues also get reset.

Using the endpoint from your example, you can only add one value at a time.

Please sign in to leave a comment.