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

Is there a way to make the logged-in user watch/follow a repository/user through button click in add-on

mohammed thaif October 26, 2015

I'm currently working on a static add-on that displays the trending repositories in a list. 

http://bitbucket.com/trending

Is there anyway to add functionality like 'Add to Watch' button or 'Follow the repo' button to make the currently logged in user watch/follow through click on button.

As of now, we have to go to ex; bitbucket.com/pypy/pypy and click on watch button on top right corner. I would like to bring the functionality of it inside the addon profileTab view.

 

Some one asked similar question for Confluence here. I don't think it got any answers.

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
evzijst
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
November 5, 2015

There are APIs to start watching repos and so you should be able to add a "watch" button to your static Connect add-on page that hits that API.

TAGS
AUG Leaders

Atlassian Community Events