Page 1 of 1

[solved] Change status, when bug is created with assigned user

Posted: 29 Sep 2020, 15:41
by Tagirijus
Hey there,

like my other thread already shows: I am currently trying to customize MantisBT without changing the core files.

I commented out the "$p_new_status < $t_assigned_status &&" in the "bug_get_status_for_assign" function in the "core/bug_api.php" file so that a newly created bug will get another status.

Is it somehow possible to e.g. let MantisBT set the status for a bug differently, WHEN an assigned user is set upon the creation of the issue / the bug? (edit: I mean: is it possible without changing core files!? If yes: how? Any ideas?)

Thanks for your help! :)

Re: Change status, when bug is created with assigned user

Posted: 30 Sep 2020, 12:47
by Tagirijus
Yezz, I managed to write a plugin for it. Actually I started to write a plugin which allows me (or others) to optionally enable some of my personal workflow tweaks. I am still working on it and will extend it in the future (at least 2 or 3 points are still on my list):

https://github.com/Tagirijus/MantisBTTagiWorkflow

So, case closed. (-;