How to use the get jobs activity by environment name?

The example the Documentation gives is with the Environment ID, but how do I use in the get jobs filter by Environment Name?
The documentation shows:


and the link is: https://docs.uipath.com/orchestrator/v2019/reference/jobs-requests

Try this https://platform.uipath.com/Docs/Docs/odata/Jobs?$expand=Release&$filter=Release%2FName%20eq%20SystemActivities_BLA&$top=2

I didn’t perform any tests, but logically, that could be it.