artifactory-users

Hi,
I am working on a build promotion bash script. I do not have access to
the build id, but I do have the reference to an artifact produced by the
build.
I have not found any way to retrieve the build which produced the
artifact, through the REST API. What have I missed?
BR
Gunnar