Backlog Webhook Sample Request - Pull Request
* プルリクエストに関するイベント
** プルリクエストの追加
code:json
{"created":"2017-12-21T04:16:23Z","project":{"archived":false,"projectKey":"TEST","name":"TestProject","chartEnabled":false,"id":100,"subtaskingEnabled":false},"id":10,"type":18,"content":{"summary":"test pull request","number":100,"issue":null,"changes":[],"description":"test description","diff":null,"comment":null,"id":100,"assignee":null,"repository":{"name":"test repository","description":"test description","id":100},"branch":"feature","base":"master"},"notifications":[],"createdUser":{"nulabAccount":{"nulabId":"_nulabid__________________________________________","name":"John Doe","uniqueId":"John"},"name":"John Doe","mailAddress":null,"id":12345,"roleType":1,"lang":"ja","userId":null}}
** プルリクエストの更新
code:json
{"created":"2017-12-21T04:16:40Z","project":{"archived":false,"projectKey":"TEST","name":"TestProject","chartEnabled":false,"id":100,"subtaskingEnabled":false},"id":10,"type":19,"content":{"summary":"test pull request","number":100,"issue":null,"changes":[],"description":"test description","diff":"1c1\n<test description---\n>test","comment":null,"id":100,"assignee":null,"repository":{"name":"test repository","description":"test description","id":100},"branch":"feature","base":"master"},"notifications":[],"createdUser":{"nulabAccount":{"nulabId":"_nulabid__________________________________________","name":"John Doe","uniqueId":"John"},"name":"John Doe","mailAddress":null,"id":12345,"roleType":1,"lang":"ja","userId":null}}
** プルリクエストにコメント
code:json
{"created":"2017-12-21T04:16:55Z","project":{"archived":false,"projectKey":"TEST","name":"TestProject","chartEnabled":false,"id":100,"subtaskingEnabled":false},"id":10,"type":20,"content":{"summary":"test pull request","number":100,"issue":null,"changes":[],"description":"test description","diff":null,"comment":{"id":100,"content":"test comment"},"id":100,"assignee":null,"repository":{"name":"test repository","description":"test description","id":100},"branch":"feature","base":"master"},"notifications":[],"createdUser":{"nulabAccount":{"nulabId":"_nulabid__________________________________________","name":"John Doe","uniqueId":"John"},"name":"John Doe","mailAddress":null,"id":12345,"roleType":1,"lang":"ja","userId":null}}