Setting Quality Gate Permissions via API

I’m working on automating Quality Gate creation and permission.
I don’t want all my groups to have global Administer access on Quality Gates.
I can see the option in a Quality Gate to assign permissions to select users and groups in the UI
I am trying to find this option of setting group permission on a Quality Gate via web api.

Is this possible?

Thanks

Hi,

Welcome to the community!

Have you tried this via the UI? The best way to master the API is to perform the desired action via the UI and eavesdrop to see which calls the UI made to accomplish the action.

You may also find this guide helpful.

 
HTH,
Ann

Thanks for the link, looks like it’s an internal api that’s why I missed it in docs - api/qualitygates/add_group

1 Like

Hi,

Glad you found it. Just be aware that if it’s marked as ‘internal’, we reserve the right to change it without notice (although I believe it’s been a very long time since those APIs changed).

 
:wink:
Ann

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.