Tuleap Community Edition development and releases are no longer public. You have until September 30th to download packages and sources in Tuleap project. You can contact the team if you need further assistance.

    •  
      request #11789 Webhook are triggered for each changeset during xml import
    Infos
    #11789
    Marie Ange Garnier (marieange)
    2018-07-12 16:43
    2018-07-09 18:11
    12384
    Details
    Webhook are triggered for each changeset during xml import
    How to reproduce:
    have a tracker with webhook
    use patch /artifacts/{id} route to move your artifact

    => import will trigger webhook for each changeset and slower the query
    Trackers
    development
    Empty
    • [ ] enhancement
    • [ ] internal improvement
    Empty
    Stage
    Empty
    Closed
    2018-07-12
    Attachments
    Empty
    References
    Referenced by request #11789

    Follow-ups

    User avatar
    Thomas Gerbet (tgerbet)2018-07-12 16:43
    Integrated in Tuleap 10.2.99.193.

    • Status changed from Under review to Closed
    • Reported in version set to development
    • Connected artifacts
    • Close date set to 2018-07-12
    User avatar
    A patch is under review: gerrit #12005

    The choice made here was to no process the webhooks in the case where notifications are not processed.
    If there is a need to have webhook in some case after the XML import, it could be done in a next contribution.

    • Status changed from New to Under review
    User avatar

    We need to think carefully about the behaviour, what would be expected here ?

    The parallel with email notifications is good, shall we trigger an event on both trackers ? and what should be the event after all ?