Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Add buttons to trigger events to Jenkins server

Hello!

We have bitbucket server v6.10.8 and would like to do the upgrade to 7.6.

The point is as part of the upgrade we found that one of the plugins we use has been deprecated, so after raising a defect and not getting any response we are searching for an alternative.

 

In particular, what we need is to add some customized buttons in a Pull Request view. Now, by using the deprecated plugin we were able to configure some additional buttons like "Launch Jenkins Build" or "Delegate Merge" to do POST http requests to Jenkins (as Jenkins is in charge of all that tasks).

 

Selection_459.png

As that plugin seems is not going to be supported anymore, is there any alternative to achieve this?

Thank you very much in advance.

 

1 answer

1 accepted

0 votes
Answer accepted

Hi @Ginés Sanchez and welcome to the community. If you would like to create a new plugin or add missing support to the existing plugin, you can use Client-Side Extensions in Bitbucket 7.x:

https://developer.atlassian.com/server/framework/clientside-extensions/guides/introduction/

The plugin point you will have to extend is called "bitbucket.ui.pullrequest.action". You can find an example code here: https://bitbucket.org/atlassianlabs/bitbucket-client-side-extensions-template/src/master/src/main/my-app/extensions/pull-request/action-extension.js

Feel free to check the developer community if you want to ask more questions about building plugins for Bitbucket:

https://community.developer.atlassian.com/c/bitbucket-development/12

Thanks,

Maciej Adamczak
Atlassian Developer

Thanks Maciej, will try to do that.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
6.10.8
TAGS
Community showcase
Published in Bitbucket

New improvements to user management in Bitbucket Cloud 👥

Hey Community! We’re willing to wager that quite a few of you not only use Bitbucket, but administer it too. Our team is excited to share that we’ll be releasing improvements throughout this month of...

449 views 3 10
Read article

Community Events

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

Events near you