Page MenuHomePhabricator

Hide the "Report a bug" form from the "Create Task" dropdown until the "BUG" label can be edited
Closed, ResolvedPublicBUG REPORT

Description

Tasks created using the "Report a bug" form (https://phabricator.wikimedia.org/maniphest/task/edit/form/43/) have a "BUG" label. (For example I'm creating this task using that form.)

This label, as far as I can tell, can not be added or removed in any way after a task is created. In particular, it's impossible to remove it from a task which a user filed as a bug but is really a feature request.

While this feature might be valuable for carefully managed, small workboards, it seems like for the more common case of huge unmanaged backlog, it will only create more noise in the interface.

Until editing this label is possible, I think we should hide this form from the "Create Task" dropdown, which is easily accessible for all users (including newbies filing their first tasks).

Event Timeline

I don't know if that label can be editted (I can't edit it either), but if it cannot be, I agree with @matmarex that maybe we should hide the link to create this kind of tasks. If the label can be editted, maybe grant the ability to edit them to trusted users? Thanks.

Sorry, my mistake, the tasks can now be "resolved", but still cannot have the label removed. @Aklapper ?

Looking at https://phabricator.wikimedia.org/transactions/editengine/maniphest.task/view/43/ it seems this is set by marking the form as a subtype of the general form called "bug". The fields of the form do not contain any to set or amend the type of task. I wonder if these kind of labels can be modified once the task has been created with them.

I wonder if these kind of labels can be modified once the task has been created with them.

They can not at this time, sadly. They aren't "labels" in that sense. They are task types. And the type can't change (yet?).

@greg Thanks for the info. Do you think that can be a good Phabricator (Upstream) request?

@MarcoAurelio I believe upstream already considered the use-case for changing task types and so far hasn't addressed it. epriestley suggests some obscure workarounds in https://secure.phabricator.com/T12314#214002

I'm fine with restricting the bug report form for now, it's entirely experimental at this point.

mmodell claimed this task.