Porblem with reporter fields MantisConnect

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
Demnkill
Posts: 4
Joined: 22 Feb 2016, 08:45

Porblem with reporter fields MantisConnect

Post 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
atrol
Site Admin
Posts: 8553
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Porblem with reporter fields MantisConnect

Post 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.
Please use Search before posting and read the Manual
Post Reply