Option to set "view status"

This plugin allows you to report an issue in MantisBT by sending an email to a particular mail account

Moderators: Developer, Contributor

Post Reply
arune
Posts: 9
Joined: 01 Apr 2013, 20:33
Location: Gothenburg
Contact:

Option to set "view status"

Post by arune »

Hello
Is there a way to set incoming email issues as private? The default seems to be public for all incoming email issues even though default_bug_view_status is set to 50 (private) for all users in manage configuration.

Should I change in plugin source code?
/Anders
SL-Gundam
Posts: 722
Joined: 06 Jul 2011, 14:17

Re: Option to set "view status"

Post by SL-Gundam »

Currently EmailReporting retrieves the default settings at the beginning before a project is selected. So if you have private as an all users, all projects setting then it should work. But on per project basis it will probably not work.

I will patch this soon.
arune
Posts: 9
Joined: 01 Apr 2013, 20:33
Location: Gothenburg
Contact:

Re: Option to set "view status"

Post by arune »

Ah, is's only for some projects!
SL-Gundam
Posts: 722
Joined: 06 Jul 2011, 14:17

Re: Option to set "view status"

Post by SL-Gundam »

Pushed a fix for this to the git repository

Change: https://github.com/mantisbt-plugins/Ema ... f703038e41

Download 0.9.0-DEV here: https://github.com/mantisbt-plugins/EmailReporting
arune
Posts: 9
Joined: 01 Apr 2013, 20:33
Location: Gothenburg
Contact:

Re: Option to set "view status"

Post by arune »

Thanks!
I applied the patch manually (running earlier version of 0.9.0-DEV), worked like a charm.

Thanks again.
/Anders
SL-Gundam
Posts: 722
Joined: 06 Jul 2011, 14:17

Re: Option to set "view status"

Post by SL-Gundam »

Don't know exactly which version you are running but it only works completely if this patch is present as well

To be precise line 724 in core/mail_api.php

Change: https://github.com/mantisbt-plugins/Ema ... 39b4b2002b
arune
Posts: 9
Joined: 01 Apr 2013, 20:33
Location: Gothenburg
Contact:

Re: Option to set "view status"

Post by arune »

I'm running 7af12b32e9 of March 20 which is newer than 9b2eca277a.

Thanks
/Anders
Raza159
Posts: 1
Joined: 13 Oct 2014, 12:02

Re: Option to set "view status"

Post by Raza159 »

Hello,

i would like to know if there is any option to get mail after new issue which contains the url of the ticket and a template text.
kind of
"dear reporter, we are started to check your issue. You can follow the processis here>URL"
SL-Gundam
Posts: 722
Joined: 06 Jul 2011, 14:17

Re: Option to set "view status"

Post by SL-Gundam »

MantisBT supports the option of sending issues to several parties on certain events

For it to work though you need to make sure users create issues under there own account. See the "Reporter options" in EmailReporting and the "Email notification" options in MantisBT
Post Reply