Starting with PHP 8.1, substr() generates a warning if the first
parameter is null. So, before calling it, we need to check if the
changelog is null or not.
[MAILPOET-4595]
The v1.1 API is deprecated and will be discontinued by the end of the year.
Instead of a single request on v1.1 we now need to fetch pipeline, then workflow and then jobs.
[MAILPOET-4399]