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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,463,878
Community Members
 
Community Events
176
Community Groups

Integrate bitbucket with C#

I want to integrate my c# service with bitbucket cloud by using rest API so I can 

Fork repositories
create branches 
edit files 
Grant users as admin to the new repositories
I found that the Atlassian.Stash.Api library is the best for that
But I feel confused by the authentication method should I use
the library does not support the Oauth2 authentication and the basic authentication its not working  I keep have this error :

One or more errors occurred. (Unexpected character encountered while parsing value: T. Pat

so can you help if Atlassian.Stash.Api  supports Outh2 authentication ?  and what the best way to integrated with bitbucket using c# 

 

Thank you 

1 answer

0 votes

This suggests your code is not sending valid text to the server when you make the rest call.  You'll need to work out what is is sending and why replace the "T.Pat" it is sending with something valid.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS

Atlassian Community Events