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, mindful member, mindful member badge, atlassian community, community kudos, community giveaway, atlassian swag, community values, empathy and kindness, badge challenge, atlassian learning, community engagement, swag giveaway

Earn a Badge, Win a Prize 🎁

Earning the Mindful Member badge proves you know how to lead with kindness, plus it enters you into a giveaway for exclusive Atlassian swag. Take the quiz, grab the badge, and comment on our announcement article to spread the good vibes!

Start here
AUG Leaders

Atlassian Community Events