Is there a way to set up project level permissions through Bamboo CLI or any other way to set permission remotely instead of doing it from the UI?
I think Bamboo REST API currently does not support any write operation.
Is it possible to develop a plugin for that?
You can use those REST endpoints to achieve what you want:
* https://docs.atlassian.com/atlassian-bamboo/REST/6.2.5/#d2e4367
* https://docs.atlassian.com/atlassian-bamboo/REST/6.2.5/#d2e44
In 6.2. permissions rest endpoints were unified and support all CRUD operations.
thanks it is useful.
I was trying this to set project level permission for an user - https://docs.atlassian.com/atlassian-bamboo/REST/6.2.5/#d2e4393
Where the permission (e.g. ADMIN/CREATE) should be specified? hopefully as payload, any sample?
btw, Don't see REST API to create a Build Project though?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
AFAIR, there's no endpoint to create a project.
The permissions payload should be in the request body, e.g.
["BUILD","READ"]
If you need more examples, you can navigate to any permissions widget (e.g project or plan permissions) in Bamboo and use browser console to lookup requests that are being sent. Those use the same set of REST endpoints.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.