Missing project_id in pipeline hook data
Summary
Before your API change where you changed everything from "builds" to "pipelines", every triggered hook contained the project id, which was used for one of our integrations.
With push events, we get an field called project_id
with all the information we need. But unfortunately there is no such information within the pipeline event, just a lot a lot of other ids.
This happens both in CE and EE editions.
Steps to reproduce
Create an hook for pipeline events and wait for an succeeded pipeline.
What is the current bug behavior?
Missing project_id
field for pipeline events
What is the expected correct behavior?
We get the field project_id
for every event, no matter if push or pipeline
Possible fixes
Just add the project_id
again in upcoming versions, either directly with the field project_id
as before or inside the dict project
as id
or as you like. We just need the project_id somewhere.