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

Post about your customizations to share with others.

Moderators: Developer, Contributor

Post Reply
Tagirijus
Posts: 33
Joined: 05 Dec 2017, 10:19
Contact:

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

Post 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! :)
Last edited by Tagirijus on 30 Sep 2020, 12:47, edited 1 time in total.
Tagirijus
Posts: 33
Joined: 05 Dec 2017, 10:19
Contact:

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

Post 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. (-;
Post Reply