You can use Create ticket with custom fields commands via API as given in this link to create a ticket with dependent field using API.
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article