Page 1 of 1

Porblem with reporter fields MantisConnect

Posted: 23 Feb 2016, 14:39
by Demnkill
Hi all,

I have a little issue using MantisConnect,
1) When I use mc_issue_add without a reporter the reporter field is fill with the accounte specified in call of mc_issue_add
2) When I call mc_issue_add with a reporter (name +id or just name) that existe in mantis the reporter field is fill with this user account
3) When I call mc_issue_add with a reporter ( just name) that unexiste in mantis the reporter field is fill with the account specified in call of mc_issue_add

My probleme is with (3) Why I can't submit an issue with un unexisting acount for reporter?
because when I do the same with the plugin to import from CSV I have the reporter field fill with the name set as reporter and write strikeout.

How can I submit issue with a reporter name that unexiste in mantis thanks to MantisConnect?

Thanks in advance for your help
Sorry for my bad english.

Pierre-Michel

Re: Porblem with reporter fields MantisConnect

Posted: 24 Feb 2016, 07:40
by atrol
The CSV plugin creates new users on the fly if they don't exist.

You can't do this using the SOAP API.
It's a known feature request to create users https://www.mantisbt.org/bugs/view.php?id=10349

You might consider to use this patch for it https://github.com/mantisbt/mantisbt/pull/88/files
Use at your own risk, of course you should read all the conversation in PR.