View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0008582 | mantisbt | feature | public | 2007-11-15 04:39 | 2019-02-19 15:26 |
Reporter | rbendig | Assigned To | dregad | ||
Priority | normal | Severity | feature | Reproducibility | have not tried |
Status | assigned | Resolution | open | ||
Summary | 0008582: Default Category for Project / Global default Category | ||||
Description | Hi, our company has many projects in mantis. For all those projects we must have categories, so our customers need to select the "one and only" category by hand. It would be nice to see, that, if there is only one category, the category is selected by default. This could be a global configuration , or a "per project" configuration "[categoryname] [assign to] [set default:yes;no]". | ||||
Tags | No tags attached. | ||||
related to | 0008435 | closed | jreese | Implement Global and Inheriting Categories Structure |
has duplicate | 0011921 | closed | dregad | Autoselect category if only one exists |
has duplicate | 0012711 | closed | dregad | Re-add g_default_bug_category to make a default category per project |
has duplicate | 0013568 | closed | atrol | What Set Default Catecory FOR ALL users and projects ?? |
has duplicate | 0013570 | closed | atrol | What Set Default Catecory FOR ALL users and projects ?? Not WORk !! I NEED HELP !!! I'm angry |
has duplicate | 0015349 | closed | dregad | Auto Assign without a category? |
related to | 0004102 | closed | vboctor | Category field should be empty by default or default specified |
This is planned for eventual inclusion as part of Bug 0008435. |
|
See duplicate bug 0011921 for suggestions on how to address this issue |
|
What Set Default Catecory FOR ALL users and projects ?? Not WORk !! I NEED HELP !!! I'm angry http://screenshot.su/show.php?img=e552dc22d425cbec8eda53dc872d1661.jpg EPIC FAIL http://screenshot.su/show.php?img=627e0a9a1a648222b7b26bbf82326ec6.jpg |
|
This is not a solution but only a suggestion how to implement such a feature. / Указанное выше - не описание, как задать категорию по умолчанию, а предложение разработчикам, как можно реализовать такую фичу. Если владеете PHP - можете воспользоваться твиком в 0011921, там выбирается первая категория из имеющихся. Можете подкрутить этот твик, чтобы он искал категорию с определенным наименованием и выбирал ее. И, да, боюсь, здесь вряд ли кто-то волнуется, angry ли вы (: |
|
watergad - НАШИ В ГОРОДЕ !! |
|
This bug is only five days younger than my own young son, who is now five and a bit. Probably a good time to apply the simple fix in 0008582 and clear it off your plate, I think! |
|
I see no need for categories if there is just one. |
|
atrol: I hadn't noticed that option. That certainly solves it for me. So to put it in terms that someone who comes here looking for an answer would understand:
However, I still support the addition of the code as follows, on the "belt, braces and two condoms" theory of software development.
Either way, though, I would not object if this bug were marked closed with the above explanation. I think it's quite reasonable. |
|
Oh bother, typo. The correct line should be:
Confusing language makes for confused users. |
|
I started working on this last year, but due to other priorities and lack of time it's been left on the side since then. You're welcome to have a look at the corresponding code on my github branch [1], but bear in mind that it's probably not feature-complete and for sure not fully tested. In any case, feedback would be appreciated. [1] https://github.com/dregad/mantisbt/tree/fix-8582-default-category |
|
I'd like to confirm if the code in github will solve my problem: We don't use categories anywhere (this field is made hidden to the users through config), but need notifications be sent to each project's main developer every time a new bug is created. We have more than 20 projects, assigned to 5 main developers. From the admin point of view, the simplest solution seems to have a new button named "Set as Default" besides each category (in the "Categories" box in project configuration screen). Then he just uses the current steps to assign a default developer for the default category. |
|
I think an option to set a default category per project would be useful in a number of situations:
|
|
Another angle to this... If you're reporting a bug from a view that is filtered to only show one category, I suggest defaulting the new issue's category to that category. |
|