Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

adding a trigger list for Pull Requests

Galit Oshri
Contributor
February 4, 2025

Hi,

We would like to explore the possibility of adding a trigger list for Pull Requests, allowing developers to select which builds to run. For instance, when a developer opens a Pull Request, they may need to run a different build instead of the default ones. To give developers this flexibility, we would like to present a checkbox or a list, enabling them to manually select and trigger specific builds. 

Does Bitbucket has an option to add this kind of option?

Thanks,

Galit 

1 answer

0 votes
Aron Gombas _Midori_
Community Champion
February 5, 2025

One idea maybe...

If you can use the standard automation rules to trigger the builds, then you could implement an automation rule which is:

  • triggered by the "pull request created", "pull request updated", etc. events
  • tests the pull request title and description fields for string occurence
    • for example, if you have builds A, B and C, then the automation rule checks if the PR desc contains the substrings "Run build A", "Run build B", "Run build C"
  • runs the builds depending on whether the strings were found

You could even make it more convenient by using a PR description template where the options are listed.

 

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, out of office, loom, confluence, async collaboration, meeting recaps, remote teamwork, team alignment, knowledge sharing, AI-powered notes, productivity tools, workforce continuity, teamwork collection

Put your meeting notes on autopilot with Loom + Confluence

AI-powered meeting notes keep work moving even if you’re out of the office. Enjoy your well-deserved time off and return refreshed, confident you’ll catch up in no time.

Learn more
AUG Leaders

Atlassian Community Events