Your browser was unable to load all of the resources. They may have been blocked by your firewall, proxy or browser configuration.
Press Ctrl+F5 or Ctrl+Shift+R to have your browser try again.

Can not trigger build for REST API. #4363

tung.nh1 ·

Hello@robinshen
Due to user promote a parent build to another configuration (diffirent with rebuild) and user need call API build request at that configuration. User allowed to promote build at parent configuration but can not trigger directly dest configuration. And trigger through api is a request to dest configuration.
it seems only check run build permission.
I mean when users trigger promote build use REST API:
In the promotion build configuration where the user does not have trigger permission but on the root configuration it has permission so they can not trigger it.
I think we should check more conditions to allow the api to do what promote build manually.
How do you think ?

  • replies 6
  • views 209
  • stars 0
robinshen ADMIN ·

Do you mean that user can promote build to a target configuration from web UI, but can not do that via RESTful api due to no "run build permission" for target configuration?

tung.nh1 ·

Yes. So I think we should check more conditions to allow the api to do what promote build manually.

robinshen ADMIN ·
tung.nh1 ·

Thank you so much.

tung.nh1 ·
robinshen ADMIN ·

Yes we will. But I'd suggest to upgrade your QB instance to latest version, as QB8 is pretty old and we stopped maintaining it.