•  
     
    story #11035 trigger webhook on artifact updates
Summary
Empty
trigger webhook on artifact updates

Several use case are already identified:

  • Transition from "Waiting" to "Open" should trigger a slack alert
  • Transition from "Tech design" to "Ready to dev" should create a branch in git + alert DM to developer in Slack
  • Transition to "Closed" should delete the corresponding Sonar project, checkmark branch and notify in Slack

Implementation of those actions are left to the webhook endpoint

Inspired by Github and Gitlab webhooks on

Those events would be configured as a new section in Tracker Administration > Workflow (only by trackers administrators). The UI would be close to the one for webhooks in git:

  • Several target URLs can be configured
  • For each URLs Tuleap will keep the last N log entries of events sent (not the whole payload, just date of sending + remote server answer)

The exact payload is yet to be defined but the goal is to be as close as possible to github v3 / gitlab to ease potential re-use and integration with other systems. However the compatiblity will be in "best effort" mode (that is to say if something is not possible Tuleap side because lack of a specific semantic for instance, it will be skiped).

The whole payload format will be documented in Tuleap Documentation

WARNING: unlike github, Tuleap do manage a whole set of fine grain permissions. Tracker administrator will need to 100% trust the target server as ALL data will be sent, regardless of permission set.

The configuration is

  • exported & imported with XML structure
  • duplicated at tracker creation

 

Empty
Empty
Status
Done
Development
Empty
Empty
Details
#11035
Manuel Vacelet (vaceletm)
2018-07-17 17:25
2018-01-22 15:30
3752

References

Follow-ups

  • User avatar
    gerrit #12064 integrated into Tuleap 10.2.99.247
  • User avatar

    gerrit #12013 integrated in Tuleap 10.2.99.242

  • User avatar
    gerrit #12020 integrated in Tuleap 10.2.99.217
  • User avatar
    • Status changed from On going to Done
  • User avatar

    gerrit #11893 integrated in Tuleap 10.2.99.109

  • User avatar
    last edited by: Joris MASSON (jmasson) 1 year ago
    gerrit #11892 integrated into Tuleap 10.2.99.104
  • User avatar
    gerrit #11888 integrated into Tuleap 10.2.99.101
  • User avatar
    gerrit #11876 integrated into Tuleap 10.2.99.97
  • User avatar
    gerrit #11875 intergated into Tuleap 10.2.99.92
  • User avatar
    gerrit #11862 integrated into Tuleap 10.2.99.85
  • User avatar
    gerrit #11855 integrated in Tuleap 10.2.99.74.
  • User avatar
    gerrit #11842 integrated in Tuleap 10.2.99.70.
  • User avatar

    gerrit #11824 integrated in 10.2.99.67

  • User avatar
    gerrit #11822 integrated into Tuleap 10.2.99.54
  • User avatar
    gerrit #11817 integrated into Tuleap 10.2.99.51
  • User avatar
    gerrit #11811 integrated in Tuleap 10.2.99.47.
  • User avatar
    gerrit #11794 integrated in Tuleap 10.2.99.36.
  • User avatar
    • Status changed from To be done to On going
  • User avatar
    • Acceptance criteria
  • User avatar
    • Acceptance criteria
  • User avatar
    • So that
  • User avatar
    • Acceptance criteria
  • User avatar
    • Acceptance criteria
    • Permissions set to