Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

How to allow access token to push to restricited branches?

Davide Bizzarri
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 9, 2023

I'm automating repository updates using an access token, I have an email and name for the token, but I'm not able to add it to the users allowed to push to the restricted branch.

How can I solve this problem, and allow access tokens to push to restricted branches?

1 answer

1 accepted

1 vote
Answer accepted
Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 12, 2023

Hi Davide,

I'm afraid that it is not possible to add an access token to branch restrictions at the moment.

We have a feature request to support this:

Please make sure to add your vote to it (by selecting the Vote for this issue link) and add yourself as a watcher (by selecting the Start watching this issue link) if you'd like to get notified via email on updates. Any updates will be posted in that feature request.

In the meantime, you would need to set up access with the credentials of a user that is allowed to push to the branch.

Kind regards,

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events