I need to create Redmine issues through api. I have an xml draft, that is posted to the redmine by wget.exe. The xml looks like:
<?xml version="1.0" encoding="utf-8"?>
<issue>
<project_id>145</project_id>
<tracker_id>10</tracker_id>
<category_id>885</category_id>
<subject>subj</subject>
<description>descript</description>
<watcher_user_ids>1333,1614</watcher_user_ids>
</issue>
It works almost fine except adding watchers to the issue. According to documentation parameter <watcher_user_ids>
contains array of watchers. But I can't make it work for multiple watchers. Somehow it adds only the first one and others are ignored. I've tried to use ";", "," separators, different brackets, but it doesn't help. I guess I'm doing something wrong. Can please anybody help me and show me the right way.