View Issue Details

IDProjectCategoryView StatusLast Update
0003730mantisbtbugtrackerpublic2013-09-30 13:54
Reporterralfiii Assigned Tovboctor  
PrioritynormalSeverityfeatureReproducibilityalways
Status closedResolutionfixed 
Target Version1.2.0Fixed in Version1.2.0 
Summary0003730: Change status upon feedback
Description

I'd love to see an option in Mantis, so that the status of a bug is set back from feedback to "New" when a user provides feedback (e.g. via adding a bugnote)

Tagspatch

Relationships

related to 0003919 closedthraxisp Filter feedback. 
related to 0004469 acknowledged "Reply To Feedback" Button 
has duplicate 0002442 closedvboctor better handling of status FEEDBACK (status change after feedback by bugnote) 
related to 0003378 new who's feeding back to who? 

Activities

vboctor

vboctor

2004-04-09 18:12

manager   ~0005360

The proposed idea is useful, however, my only concern is that there are two hard-coded assumptions:

  • "feedback" exists and it is the feedback status.
  • After adding a bugnote by the reporter, the status to go to is "feedback", not "in progress" or "assigned" or whatever else.

To handle these issues there is one of two options:

  • Do this as part of a post processing function that gets activated after changes to a bug.
  • Add two configuration options, one to indentify the feedback status (if any), and the other to identify the return status. Of course, this option is easier to implement.
ralfiii

ralfiii

2004-04-13 04:45

reporter   ~0005372

Sorry vboctor, I didn't understand your 2nd point ("After adding..."). This might be just because I am not English-Native...

Do you mean the status should change to "Feedback" when adding a bugnote?

I thought if a developer has problems (e.g. understanding or reproducing...) a bug, he will set the status to feedback. By color-coding the bug you will see in the list that the bug was looked at, but fixing is paused until feedback will be provided.
When someone provides more input (=feedback) the status should change to a different state (For me it would be sufficient to set it back to New, you might prefer to make this an option...) so when you look at the list of open issues you see that there is an issue that someone could try to fix.

vboctor

vboctor

2004-04-13 05:40

manager   ~0005373

What I meant is that we need to have two config options:

  • $g_bug_feedback_status = FEEDBACK;
  • $g_bug_feedback_provided_status = NEW;

In some cases the bug_feedback_provided_status should depend on the bug state. For example, set to "ASSIGNED" if bug has a handler set, otherwise, set to "NEW". This can only be achieved by my first proposed solution (i.e. post processor function). The post process function can check if handler is set, set status to "ASSIGNED" otherwise set status to "NEW".

ralfiii

ralfiii

2004-04-13 06:01

reporter   ~0005374

Now I understand!
And, yes, I also understand why you wrote that option 2 would be much easier to implement.
I personally would prefer the option that's available earlier.
The hardcoded solution like the one your just described, is probably not 100% optimal, but it surely would be a huge improvement over the existing behaviour.

ralfiii

ralfiii

2004-05-07 09:43

reporter   ~0005476

If this would be implemented another filter-checkbox "hide status" "feedback" would make sense.

So you don't see bug-reports where feedback is required to continue to work on these bugs.

ralfiii

ralfiii

2004-07-15 11:14

reporter   ~0006066

I provided changes to achieve that.
See report 0003919

Cheers!

bpfennig

bpfennig

2004-09-13 06:35

reporter   ~0007541

See also 0004469

ralfiii

ralfiii

2004-09-13 06:48

reporter   ~0007544

0004469 : If the status would fall back to what it was before, this naturally would be best.

However, for my simple requirements, I just inserted the following lines in bugnote_api.php, at line 127.

    # if it was FEEDBACK its NEW_ now
    if (bug_get_field($p_bug_id,'status')==FEEDBACK)
    {
       bug_set_field( $p_bug_id, 'status', NEW_ );
    }
vboctor

vboctor

2004-09-13 07:20

manager   ~0007547

Do we want the status to change back only if the person who added the issue is the "reporter" of the issue, or any user?

ralfiii

ralfiii

2004-09-13 07:32

reporter   ~0007549

In my case: any user.

(User A might report, Deverloper B says "Can't reproduce" -> feedback, User B posts a guid how to reproduce)

bpfennig

bpfennig

2004-09-13 09:19

reporter   ~0007551

Last edited: 2004-09-13 10:46

I think, there should be a "reply to feedback" button instead of "change status to" if the current status is "feedback" - so every user can add a note to the bug for additional information.

And only when the user want to reply to the feedback he should use the "reply to feedback" button.

[edit]
But the workflow is not quite right at the moment - because there is no way to assign a person to the current status.
[/edit]

bearbeitet am: 09-13-04 10:46

ralfiii

ralfiii

2004-10-20 08:45

reporter   ~0008122

As our company grows, I now feel the need for a more sophisticated solution:
After providing feedback, the status should fall back to what it was before it was set to "Feedback".

(We now have people, who only look at new issues and check if they are nonsense or should be seen by the DevTeam.)

ralfiii

ralfiii

2006-03-02 09:24

reporter   ~0012266

Btw: This is a "better" patch.
Bugs that have no developers assigned, are reset to new, others are reset to "assigned".

    # if it was FEEDBACK its NEW_ now
    if (bug_get_field($p_bug_id,'status')==FEEDBACK)
    {
       if (bug_get_field($p_bug_id, 'handler_id') == 0)
         {   bug_set_field( $p_bug_id, 'status', NEW_ );  }
       else
         {   bug_set_field( $p_bug_id, 'status', ASSIGNED );  }
    }

(insert this block into function bugnote_add, right before the last line "return ...")

vboctor

vboctor

2009-10-14 01:03

manager   ~0023171

Implemented the logic to revert back to new/assigned if the current status is FEEDBACK and the author of the note is the reporter of the issue.

polzin

polzin

2009-10-14 03:30

reporter   ~0023176

I would appreciate it, if a superior logic would have been implemented:

  1. History popping is easy, see 0004469:0022183.
  2. Make it a config option, wether the handler or the reporter is requested to give feedback.

Related Changesets

MantisBT: master-2.0.x bb889a3b

2009-10-13 21:01

vboctor

Committer: Paul Richards


Details Diff
Fix 0003730: Change status upon feedback. Affected Issues
0003730
mod - core/bugnote_api.php Diff File

MantisBT: master-1.2.x 5d0ba5d2

2009-10-14 01:01

vboctor


Details Diff
Fix 0003730: Change status upon feedback. Affected Issues
0003730
mod - core/bugnote_api.php Diff File

MantisBT: master f9961ab2

2009-10-14 01:01

vboctor


Details Diff
Fix 0003730: Change status upon feedback. Affected Issues
0003730
mod - core/bugnote_api.php Diff File

MantisBT: master-1.2.x 316a317c

2009-10-14 01:16

vboctor


Details Diff
Fix 0003730: Change status upon feedback (cont'd). Affected Issues
0003730
mod - docbook/adminguide/en/configuration.sgml Diff File
mod - config_defaults_inc.php Diff File
mod - core/bugnote_api.php Diff File

MantisBT: master 2aef5d9f

2009-10-14 01:16

vboctor


Details Diff
Fix 0003730: Change status upon feedback (cont'd). Affected Issues
0003730
mod - config_defaults_inc.php Diff File
mod - core/bugnote_api.php Diff File
mod - docbook/adminguide/en/configuration.sgml Diff File

MantisBT: master-2.0.x 379d70f1

2013-09-30 09:54

Paul Richards


Details Diff
Fix 0003730: Change status upon feedback Affected Issues
0003730
mod - core/bugnote_api.php Diff File
mod - docbook/Admin_Guide/en-US/Configuration.xml Diff File