Get canBeEmpty property from workflow for custom projects fields

How can I get property "canBeEmpty" for all fields project from workflow rule?

1 comment
Comment actions Permalink
Official comment

Hi!

I'm Sergey from the Youtrack team.

I'm sorry for the delayed reply. Generally, if you'd like to get in touch with our support team directly for a quick answer to your question, please fill in a direct request at https://youtrack-support.jetbrains.com/hc/en-us/requests/new We'll be happy to help.

If you want to find out whether a field can or cannot be empty, then it should be done via REST API on a project level. See the documentation: https://www.jetbrains.com/help/youtrack/devportal/api-concept-custom-fields.html#project-custom-field

Theoretically, if needed, you can make REST API calls via a workflow as described here: https://www.jetbrains.com/help/youtrack/devportal/JS-Workflow-REST-API.html

Hope this helps. If any questions appear, feel free to reach out. 

Please sign in to leave a comment.