After upgrading the git-plugin from 3.9.2 to 4.0.0-rc the field "lastBuiltRevision" is missing from the buildData in a projects api/json output.
On version 4.0.0-rc:
On version 3.9.2 the output includes the following:
The "Version 4.0.0-rc (January 30, 2019)" changelog is referencing the following:
- Stop bloating build.xml files with BuildData (JENKINS-19022)
Perhaps that's related to the issue.