•  
      request #17533 Workflow doesn't apply in modal creation
    Infos
    #17533
    Benjamin Bouillot (ben.bouillot)
    2020-11-13 14:23
    2020-10-14 09:12
    18411
    Details
    Workflow doesn't apply in modal creation

    When an artifact is created with a modal, the workflow in selectBox is not applied.

    You can reproduce:

    • Have a required selectbox in a tracker
    • Add a workflow on this field (Created -> Open, Open -> Closed)
    • Open a modal with this tracker
      • You can choose between "", 'Closed', 'Open'
    • [ ] enhancement
    • [ ] internal improvement
    Trackers
    12.0
    Empty
    Empty
    Stage
    Benjamin Bouillot (ben.bouillot)
    Closed
    2020-10-16
    Attachments
    Empty
    References

    Follow-ups

    • User avatar
      • Summary
        -Workflow doesn't applied in modal creation 
        +Workflow doesn't apply in modal creation 
    • User avatar
    • User avatar
      gerrit #20458 integrated into Tuleap 12.1.99.6

      • Status changed from New to Closed
      • Connected artifacts
      • Close date set to 2020-10-16
    • User avatar
      Sorry about that, I was wrong. You can have a workflow to limit values at creation, contrary to what I believed...
    • User avatar
      It looks like this is the expected behaviour. It should be the same in "tracker artifact view". Workflow transitions apply only on update, not at creation. You cannot define a transition from "nothing" to "New" for example, so in fact at artifact creation there is no workflow transition to choose from.