I want to give the bitbucket-pipelines user permissions to write to master. It should be allowed to push commits and tags. But, it's not possible to select the bitbucket-pipelines user in the Write access dropdown under Settings|Workflow|Branch Permissions even though the user exists and can write if I give Everybody permissions.
* e2e40b8 (HEAD -> master, tag: v0.1.2, origin/master, origin/HEAD) v0.1.2 bitbucket-pipelines, 9 minutes ago
* 66fc994 Merged in STOR-314-demo-branch (pull request #29) Anders Janmyr, 75 minutes ago
| * ea873c7 STOR-
How can I give permissions to the bitbucket-pipelines user while denying everyone else?
I seem to be having the same issue that Anders described. Merges to master were successfully committing version # updates as part of the repository bitbucket-pipeline. I restricted write access about a week ago, and now the automagic commits are rejected. I didn't change any other build settings or scripts in between, just the branch permissions.
I would like
As far as I have been able to find, I can only have one or the other of these; currently I cannot get both. It seemed logical to me (and apparently also to Anders) to simply grant write access to the user 'bitbucket-pipelines' in order to achieve desired item #2 above. But this user doesn't appear in the selection auto-fill and isn't allowed to be manually edited, so I'm stuck.
I have the exact same problem. I am looking for a precise solution for how to achieve this:
This sounds like a common pattern. Atlassian, please give us a solution for this.
The steps for allowing to push back commit from pipeline is well documented here.
If you do setup Branch permissions on master or any branch and want to push back changes via pipeline, then you will need to setup using OAuth/ SSH Keys as described in the second half of the article.
Have tried this to verify it works :)
Hi everyone, Are you Bitbucket DC customer? If so, we'd love to talk to you! Our team wants to dive deep to understand your long-term plans regarding Bitbucket DC and Atlassian Cloud. Do you plan...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events