Import Issues REST API problem


I am trying to import issues from xml file but I am getting two errors.
Sometimes I get "Unsupported Media Type" and sometimes I get "userService has not been initialized."

In the documentation there is no information about the headers I need to send. I set my Content-Type application/xml, text/xml. I tried both but result is the same.

Any idea?
Comment actions Permalink
Setting the Content-Type to application/xml in the Header works for me.

I was getting 'Unsupported Media Type' before I did that.

A good way to prototype this stuff is to download the Postman extension for Chrome.
Comment actions Permalink
This is rather technical question. In Youtrack I can create rather complicated workflow rules(for example lets play with Stateless rules). When first rule is executed, it can change some data, that.

Please sign in to leave a comment.