•  
      request #8383 All triggers cleared/removed when deleting a tracker field
    Infos
    #8383
    Patricia Carrasco (pcar)
    2018-03-15 08:53
    2015-08-28 21:02
    8501
    Details
    All triggers cleared/removed when deleting a tracker field
    Triggers set at the story level

    1. Set one trigger when all children of type Bugs & Tasks have their field set to Done then the Story Status is set to Done
    2. Set another trigger when one child of type Task has its field Impediment set to Impediment Then the User Stork tracker field Impediment is set to Impediment
    3. Delete the Impediment field in Task tracker
    4. Go back to the User Story tracker, you will notice that all triggers have been removed
    even the trigger which has nothing to do with the removed field in the Task tracker
    Trackers
    Empty
    Empty
    • [ ] enhancement
    • [ ] internal improvement
    Emilio Palmiero (empa)
    Stage
    Empty
    Closed
    2018-03-15
    Attachments
    Warning about why field cannot be deleted
    References
    References list is empty

    Follow-ups

    User avatar
    Sorry for the late response. Yes the same behaviour as semantics or workflow is fine. However, in this case the trigger is in the User Story tracker. The error message must explain where the user must go to remove the trigger before the field can be deleted.
    User avatar
    After testing on my side, the trigger was not deleted but I was not able to display the trigger page because the UI wants to show a trigger bound to a deleted field.
    User avatar

    Hi Yannis, the bug is that the trigger that had nothing to do Impediment trigger (Set one trigger when all children of type Bugs & Tasks have their field set to Done then the Story Status is set to Done) should not have been deleted.

    If the above is fixed then the user should be warned that he cannot delete the field as it is being used in a trigger.

    User avatar
    Hello,

    What do you think about not being able to remove/delete a field if it's used in triggers in order to have the same behaviour with fields used in semantics or workflow ?

    • Status changed from New to Waiting for information