I am working on rest API to upload my issue on YouTrack. issue has been uploaded successfuly but for attachment i was failing so i decided to upload the attachment through importing the attachment in a created issue.
it says MIME attachment Field is Required in response with status code 400.
-- Do required actions manually and record resulted web traffic. Analyse recorded requests and responses and figure out what data must be customised (authentication data, tokens, encoded file contents, etc.);
-- Implement required requests and check that returned responses are as expected;
-- Ask here if something does not work, but supply your question with the recorded original request and response, your code and the content of the actual request and returned response.
Without the above information no one will be able to provide you with the meaningful helpful answer. (Unless this one has already implemented integration with YouTrack and is willing to share the code with you.)
Regards, Alex [Community Expert Group] ____ [Community Expert Group] members are not employed by SmartBear Software but are just volunteers who have some experience with the tools by SmartBear Software and a desire to help others. Postings made by [Community Expert Group] members may differ from the official policies of SmartBear Software and should be treated as the own private opinion of their authors and under no circumstances as an official answer from SmartBear Software. [Community Expert Group] signature is used with permission by SmartBear Software. http://smartbear.com/forums/f83/t86934/community-experts/ ================================