YouTrack REST API - Post to Custom Date Field

Answered

Hello!

I'm trying to POST an update to a YouTrack issue by applying a command to it in JavaScript. Other fields work okay, but I have a custom date field that I need to POST to as well. I get a "Bad Request 400" when I try to POST either a date string or a UTC in milliseconds to this field. Is there a way to correctly POST to custom date fields?

Thank you! 

1
1 comment
Official comment

Hello! I'm sorry for the delay.

Could you please try to apply this command via UI in the command window first? The command window will suggest the correct syntax so you will know how to post date into custom fields.

Please let me know if that helps. Thank you.

Please sign in to leave a comment.