I am able to successfully create a bug in VSTS using REST API via powershell. See this question for some back story.
But how do I specify it to create the bug in the current iteration ? Do I have to find out what is the current iteration prior to providing the path ? Is there no way to just directly create it in the current iteration ?
Please note that this question is about Create Work Item API, whereas the question mentioned here is about the Iteration API.