Createing issue by APi and settign issue type

Hi

We are currently creating an issue using the YouTrack API as documented at https://www.jetbrains.com/help/youtrack/standalone/7.0/Create-New-Issue.html?search=api  and the issue gets set to the default issue type that has been assigned to that project.

The documentation doesn't show how to create the issue and specify a certain type. Please could you let me know if this is possible and if so, what param needs to be set?

Thanks

Scott

0
1 comment
Official comment

Scott, thank you for your question!

It's not yet possible to create a new issue of a certain type, but you can apply a command to the newly created issue and set it right after creation: https://www.jetbrains.com/help/youtrack/standalone/2017.1/Apply-Command-to-an-Issue.html

 

Please sign in to leave a comment.