Adding values to an enum bundle via the API

I have an enum bundle for "Repositories" that is currently manually populated whenever someone adds a pull request for a repository that doesn't exist in the enum bundle.

We have over 350 repositories in our org and I would like to be able to just add these repositories as available values via the API.

Is there a way I can add values to an enum bundle via the api? Or import values from a CSV or something?

0
2 comments
Avatar
Permanently deleted user

I found the endpoint in the docs.

https://www.jetbrains.com/help/youtrack/incloud/PUT-Value.html

Having trouble getting it to do it in bulk but the endpoint is working fine.

 

0
Avatar
Permanently deleted user

you will end up having to do a loop

0

Please sign in to leave a comment.