•  
      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
    18576
    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'
    Trackers
    12.0
    Empty
    • [ ] enhancement
    • [ ] internal improvement
    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
      Joris MASSON (jmasson)2020-10-16 10:32
      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
      Joris MASSON (jmasson)2020-10-14 10:19
      Sorry about that, I was wrong. You can have a workflow to limit values at creation, contrary to what I believed...
    • User avatar
      Joris MASSON (jmasson)2020-10-14 09:27
      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.