Automated build requests with custom buildRequesterUserId property get started with an admin ID
![]()
The automated build requests are not using buildRequesterUserId for "requestor." Rather they are using the admin ID.
The automation sets the buildRequesterUserId using the code:
propFromGUI = !(value.isEmpty()) ? BuildItemFactory.createBuildProperty("buildRequesterUserId", value) :
BuildItemFactory.createBuildProperty("buildRequesterUserId", adminEmail); I can see from the logs and the build requests that are kicked off that buildRequesterUserId is set to the non-admin email (the email of the user requesting the build via rest service). But the builds are still being kicked of by admin ID!
Is there something that can be done to fix this or this is how it will be when the logged in user (admin) is not the same as the user in the buildRequesterUserId?
|
Be the first one to answer this question!
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.
Comments
Build is requested using the code: