I am able to retrieve the
actor_id
of the user who approved a job using the CircleCI V2 API (https://circleci.com/docs/api/v2/#operation/listWorkflowJobs). However, when I use the
actor_id
to retrieve the users information via the api, if the user has both their BitBucket and GitHub accounts linked, only 1 username is returned. This is not always the correct username. It would be very useful to be able to retrieve the correct username for a user who approved a job via the API.
Created by Henna Abbas
November 23, 2021